page
elements, 186–88
events, 218–19, 223
lifetime, 188–90
migration process and, 501–3
runtime structure, 221–23
pageBaseType attribute, <pages> element, 526
Page class
Application object and, 88
defined, 6
migration process and, 502
overview of, 205–7
page lifetime and, 188
Session object and, 95
page control tree, viewing, 221
@ Page directive, 96
attributes, 190–94
debug mode, 507–8
EnableViewStateMac, 397
examples of, 195–99
migration process and, 503, 508
overriding configuration files, 110
Page class inheritance, 206
page lifetime and, 188
regional formats and, 362
Web application deployment, 467
Page-Error events, 220
pageLayout, 355
AdRotator control, 254
Calendar control, 257
ss programmatically, 359
Web Form properties, 43
Page_Load
event handler, 502, 508
method, 91–92, 98, 121
Page.LoadControl method, @ Reference directive, 205
pageOutput attribute, <trace>, 514
<pages> element, 525–28
Page.Trace property, 482
Page_Unload event, 219, 502, 508
Panel controls, registration wizard, 252–53
parameters
migration process and, 504, 512
naming conventions, 296
output caching, 443–44
passing, 60–62
stored procedures, 295–97
parentheses ( ), 503
PartialCaching attribute, 441
Pascal case, 55, 278
Passport authentication
overview of, 165
Web services, 421–22
password attribute
<identity>, 535
<processModel>, 550
passwordFormat attribute, <authentication>, 533
passwords, 141–45
blank, 141–43
Forms authentication, 169–70
protecting storage of, 144–45
reducing number of, 144
RegLogin and, 395
sa, 142–43, 506
security templates and, 137, 140
strong, 143
weak, 143
patches, 151–54
path attribute
<authentication>, 532
<httpHandlers>, 543, 544
<httpModules>, 545
<location> element, 123, 176
Path environment variable, 572–74
performance. See also caching
debugging and, 195–98
tracing and, 198–99, 480
ViewState and, 397
permissions
IIS permissions for subdirectories, 469–70
Users.xml file, 385
persistent cookies, 106–7
Personal Web Services (PWS), 130
pingFrequency attribute, <processModel>, 549
pingTimeout attribute, <processModel>, 549
PlaceHolder controls, 215–16
adding programmatically, 236
custom controls, 359–60
user controls, 215–16
platforms, supporting Visual Studio .NET, 555–56
policies, security, 134–41
applying new template, 139–40, 180
creating new template, 135–38, 180
defining, 134–41
overview of, 134
Security Templates tool, 135
policyFile attribute, <securityPolicy>, 539
polymorphism, 79
POP (Post Office Protocol), 150
port numbers, security risks of, 150–51
PostBackDataChangedEvent method, 380
postbacks
handling, 364–65, 401
overview of, 188–89
RegLogin control, 378–82
Post Office Protocol (POP), 150
POST requests, HTTP, 364
practice files (for this book)
downloading, 9
opening, 13–14
PreRender events, 368
PreRender phase, 369, 397
Prerequisites, installation, 557–61
Previous_Click event handler, registration wizard, 252
principle of least privilege, 146
private assemblies, 358
private keyword, 57, 371
procedure level variables, 56
procedures, 60–62
<processModel> element, 177, 546–50
programmatic techniques
column objects, 298–303
custom controls, 358–60
data binding, 319
output caching, 436, 441, 446
row objects, 298–303
server controls, 235–36
table objects, 298–303
user controls, 215, 441
programming basics. See also flow control; variables
constants, 58–59
enumerations, 59
error handling, 72–78
expressions, 50–51
object-oriented, 78–83
overview of, 49–50
procedures, 60–62
top-to-bottoms vs. event-driven, 502
Project menu, 28, 41
projects
defined, 14
exiting, 29–30
opening, 13–14
Projects tab, 10, 13–14
project types, ASP.NET, 33–37
Mobile Web Applications, 33–34, 36–37
overview of, 33–34
Web applications, 34
Web Forms, 35
XML Web services, 36
properties
Application object, 88–89
custom server controls, 360–61
IIS directory, 461–62
migration process and, 503, 508
object-oriented programming and, 78
Page class, 205–6
page-level tracing, 478–79
RegLogin, 371–72
server controls, 244
Session state, 95–96
styles, adding to controls, 240–42
Validation controls, 260
Web Form, 42–44
WebMethod attribute, 410–11
Properties window
modifying configuration with, 24–26
overview of, 21
Select Case in Web Forms, 65–66
session state, 97
Property Builder, 328–29, 332
Proposed version, updating datasets, 308
Protected keyword, 57
protection attribute, <authentication>, 532
proxy classes, 426–32
consuming Web services and, 429–33
instructions, 428
MakeServices.bat and, 428–29
wsdl.exe utility and, 426–27
Public keyword, variable declaration, 57
Pubs sample database, installing, 571–72
PWS (Personal Web Services), 130