Index_P


P

P/Invoke (Platform Invoke Services), 1188
API calls
API class wrapper, using, 1191
type marshalling, 1192
interoperability, 1188
disadvantages, 1195
C# syntax, DllImport attribute, 1189
Visual Basic .NET syntax, parameters, 1188
page caching, 153
caching by browser, 154
dynamic output caching, 153
partial page caching, 164
Page class, System.Web.Ui namespace, 124, 907
code-behind, use with, 124
events
AbortTransaction, 125
CommitTransaction, 125
Error, 125, 1134
Init, 118, 125
Load, 118, 125, 135
PreRender, 125
Unload, 118, 125, 138
methods
DataBind, 127, 265
GetPostBackEventReference, 924
InstantiateIn, 937
LoadControl, 127
LoadTemplate, 127, 937
MapPath, 127
RegisterRequiresPostBack, 917
ResolveUrl, 127
Validate, 127
page compilation process, 124
properties
Application, 125
Browser, 946
Cache, 125
ClientTarget, 125
EnableViewState, 125
ErrorPage, 126
IsPostBack, 122, 126, 135, 136
IsValid, 126
Request, 126
Response, 126
Server, 126
Session, 126
SmartNavigation, 126
Trace, 126, 1122
TraceEnabled, 126
User , 126
Validators, 127
page configuration settings
see <pages> element.
Page directive, ASP.NET pages, 18, 134, 143
ASP Page Compatibility, 1169
attributes, 143
Debug attribute, 144, 1138
Inherits attribute, 145, 152
Smart Navigation, defining, 155
Src attribute, 145, 152
Trace attribute, 145, 1120
transactions, 872
ViewState, enabling/disabling of, 134
Page Error event, Page class, 1134
Page Init event, Page class, 118
page level tracing, 1120
application-level tracing, overriding, 1126
trace information sections, 1121
Page_Load event, Page class, 118
single-value data binding, 266
updating data source examples, concurrent, 501
XML data management, reading data into, 521
complex data access, DataReader example, 402
data store example, 120
DataGrid control
adding style to, 292
automatic paging, 317
editing data, 322
sorting/filtering rows, 312
DataList
loading templates at runtime, 298
multiple column layouts, 301
selecting & editing data, 328
DataTable object, event managing, 436
repeated-value binding
ArrayList object example, 278
DataView object example, 286
HashTable object example, 282
Repeater control, simple template example, 296
server controls, collecting values from, 170
Web forms, page-processing steps, implementation example, 135
Pag_Load() method
sample ASP.NET page example, 22
XML data management, writing data from DataSet to XML file, 516
page model, ASP.NET
compiled code, use of, 169
events, 169
Page object, ASP.NET, 1169
Page property
Control class, server control tree navigation, 910
HtmlControl class, 176
WebControl class, 216
page rendering, server controls, 892
attribute value conversion, 894
control properties, effect of, 892
HtmlTextWriter class, use of, 896
object properties, effect of, implementation example, 898
Style class, use of, implementation example, 900
WebControl class, use of
functionality, 901
implementation example, 901
Page OnInit event, server control page rendering, 893
page tracing, 639
Page Unload event, Page class, 118, 138
PageBase class, IBuyAdventure.NET, application user interface, 1213
pageBaseType attribute, <pages> element, 628
PageIndexChanged event, automatic paging, 319
pageOutput attribute, <trace> element, 641, 1125
<pages> element, 627
autoEventWireup attribute, 628
buffer attribute, 628
enableSessionState attribute, 628
enableViewState attribute, 628
pageBaseType attribute, 628
smartNavigation attribute, 628
userControlBaseType attribute, 628
validateRequest attribute, 628
pages, ASP.NET
Import directives, 158
smart navigation, 155
PageSize property, DataGrid controls, automatic paging, 318
Paginate property, Form mobile controls, 1078
Panel control, 217, 230
Panel control, mobile controls, 1105, 1113
Parameter object, dynamic parameters, 481
ParameterDirection enumeration, 413
parameter- name argument, Add method, 413
parameters, Visual Basic, 84
Parameters collection, 412
Command class, updating data sources with stored procedures example, 457
database stored procedures
explicit parameter example, 413
Parameters, short-cut for creating, 414
SqlCommand object, 1228
parameters, Visual Basic.NET
ByRef keyword, 84
ByVal keyword, 84
optional parameters, 84
Params collection, HttpRequest object, 1164
HttpRequest class, 129
Control class, server control tree navigation, 910
Parent property
HtmlControl class, 176
WebControl class, 216
partial page caching, 164
Passport Authentication, 647, 692, 1035
ASP.NET, within, 704
login procedure, 712
operation mechanism, 711
<passport> element, 650, 712
PassportIdentity object, 723
setting up, 712
<passport> element, use of, 712
web.config file, using, 712
PassportIdentity object, Passport Authentication, 723
password attribute
<identity> element, 659
<processModel> element, 672
password encryption
Forms-based authentication
custom user credentials example, 743
implementation example, 736
personalization, implementation example, 744
SHA1 algorithm, 745
Password property, TextBox mobile controls, 1086
passwordFormat attribute, <credentials> element, 649
passwords encryption
Forms-based authentication, implementation example, 735
web.config file, setting within, 735
path attribute
<add> element, 663
<forms> element, 648
<location> element, 677
Path class, System.IO namespace, 816
constants, 817
functionality, 816
implementation example, 818
methods, 817
Path property, HttpRequest class, 128, 1164
PathInfo property, HttpRequest class, 128, 1164
PathSeperator constant, Path class, 818
patterns, regular expressions, 840
implementation example, 842
searching for patterns, 842
text replacement guidelines, 842
PDA (Personal Digital Assistant)
language support, 1061
wireless internet access, 1058
Percentage method, Unit class, 222
performance
.NET Framework, 108
integration, due to, 1158
performance counters
see counters.
performance testing, 1142
baselining, 1142
loading, 1142
stability, 1142
PerformanceCounter class, System.Diagnostics namespace, 1144, 1145, 1155
CloseSharedResources method, 1151
custom performance counters, lifetime setting, 1150
customperformance instances, 1149
NextSample method, 1152
RawValue property, 1151, 1152
PerformanceCounterCategory class, SystemDiagnostics namespace, 1144, 1145
Create method, 1146, 1147
custom performance counters, 1145
Delete method, 1146, 1151
PerformanceCounterType enumeration, System.Diag- nostics namespace, 1153
per-request application events, 595-596
per-request indeterminate order, 596-597
PersistenceMode attribute, server controls, 948
persistent logon, Forms-based authentication, implementation example, 733
personalization, security, 722
implementation example, 743
authenticating user, 746
password hashing, 744
setting background color , 747
security options, 748
pessimistic record locking, 490
PhoneCall control, mobile controls
implementation example, 1101
properties, 1100
WAP Simulator code, 1100
PhoneNumber property, PhoneCall mobile controls, 1100
physical directories, 562
see also virtual directories.
PhysicalApplicationPath property, HttpRequest class, 128, 1164
PhysicalPath property, HttpRequest class, 128, 1164
Pictures, format strings, 275
Pixel method, Unit class, 222
PlaceHolder control, 217, 238
Point method, Unit class, 222
port elements, WSDL, 1005
portType element, WSDL, 1005
postback, 915
ASP.NET page model, architecture within, 169
automatic postback, 215
data store example, 122
Openwave Simulator, support within, 1076
Smart Navigation, use with, 155
TextBox control, creation, 917
ViewState, viewing using, 927
postback data, 909
IPostBackEventHandler interface, 917, 922
IsPostBack property, Page class, 122
PostedFile property, HtmlInputFile control, 190
PreRender event
Control class, 930
Page class, 125
PreserveSig field, DllImport attribute, 1190
primary keys
see foreign/primary keys.
PrimaryKey property, DataTable object, 423
private assemblies, 49
procedures, Visual Basic.NET, declaring within, 110
Process options, web garden, 672
processes
application domains, use with, 52
Windows operating systems, within applications, 51
ProcessMessage function
EncryptionExtension attribute, use with, 1054
TraceExtension attribute, use with, 1050
ProcessMessage method, SoapExtension class, 1048, 1050
<processModel> element
ASP.NET, process accounts, 748, 749
ASP.NET process model, 667
clientConnectedCheck attribute, 673
comAuthenticationLevel attribute, 673
comImpersonationLevel attribute, 673
configuration, ASP.NET, 666
cpuMask attribute, 672
enable attribute, 668
idleTimeout attribute, 668
logLevel attribute, 673
maxIOThreads attribute, 674
<processModel> element ( continued )
maxWorkerThreads attribute, 674
memoryLimit attribute, 670
password attribute, 672
requestLimit attribute, 669
requestQueueLimit attribute, 669
responseDeadLockInterval attribute, 674
responseRestartDeadlockInterval attribute, 674
serverErrorMessageFile attribute, 674
shutDownTimeout attribute, 669
timeout attribute, 668
userName attribute, 672
web garden, configuring, 672
webGarden attribute, 672
ProcessRequest method, IHttpHandler interface, 662
ProductsDB Business class
IBuyAdventure.NET, 1200
methods, 1201
ProductsDB Business object
connection string constructor, 1202
declaring namespace, 1201
getConnStr() function, 1202
SqlConnection class, 1201
SqlDataAdapter class, 1201
web.config file, 1203
ProductsDB method, ProductsDB Business class, 1201
process model configuration settings, <processModel> element, 666
profiling
analysis, 1143, 1155
definition, 1142
instrumentation, 1143
sampling, 1143, 1151
programmable application logic
development issues, 953
Web services, use within, 951
programmatic security, 722
personalization, implementation example, 743
security options, 748
user groups, authentication, 690
Properties statement, Visual Basic.NET, 75
ReadOnly keyword, 75
properties, C#, 88
properties, Visual Basic.NET, 75
property parameters, 76
Proposed column value, DataRowversion enumeration, 429
protection attribute, <forms> element, 648
protocols, web services
HTTP-POST protocol, 967
SOAP, 954
proxies
proxies, Web services
Barnes and Noble site example
building the proxy, 1026
screen-scraping, 1028
cookies, use of, 1021
disadvantages, 1022
implementation example, 1023
persistence for multiple requests , 1023
credit card validation web service example, 955
SOAP headers, 1032
URL handling, 1020
Web services, 1006
Fibonacci web service example, 1007
proxy classes, Web services, 1019, 1008
deployment
controlling time, 1019
proxy web server access, setting, 1021
state management, 1021
properties
Proxy, 1021
Timeout, 1019
Url, 1020
Visual Studio.NET, creation using, 10091013
component referencing, 1009
Fibonacci web service example, 1009
viewing source code, 1012
wsdl.exe tool, creation using, 1013-1016
Proxy property, proxy class, 1021
proxy web service
Windows Authentication, 1038
public keyword, C#, 887



Professional ASP. NET 1.1
Professional ASP.NET MVC 1.0 (Wrox Programmer to Programmer)
ISBN: 0470384611
EAN: 2147483647
Year: 2006
Pages: 243

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net