JavaScript EditorJavascript debugger     Javascript examples


Team LiB
Previous Section Next Section

Index

C

C#. See Visual C# .NET
C, compared with C#, 7–8
C++
compared with C#, 7–8
object-orientation programming, 83
scope and, 57–58
cache API, 441–42, 456
CacheAutors.aspx, 453–56
Cache class
Add method, 457
Insert method, 457
Remove method, 456
CacheDependency, 457–59, 463
CacheItemPriority, 457
Cache property, Page class, 210
caching
APIs for, 441, 456
ASP.NET new features, 31
CacheDependency, 457–59, 463
consuming, 460–63
datasets, 453–56, 463
defined, 441
expiration, 456–57
multiple versions of output, 449–52
output caching, 442–44, 463
overview of, 441–42
Response.Cache, 452
scavenging, 456–57
triggers for updating, 460
updating cache data, 459–60
user controls, 447–49, 463
Web Forms, 445–46
Calendar control, 260–63
Cascading Style Sheets (CSS)
adding styles to controls, 244–45
layout modes and, 42
<case> child element, <browserCaps>, 559
case sensitivity, 55, 232
catalogs, SqlConnection connection string keys, 285
catch blocks, 79–80, 388–89
CD-ROMs, installation
MSDN Library documentation, 571–75
Visual Studio .NET, 567–70
Visual Studio .NET Prerequisites, 562–67
char data type, 52, 53
Class attribute, Web services, 413
classes
custom server controls, 353–54
defined, 50
inheritance, 6
namespaces, 5
object-oriented programming, 84
Page class, 6
RegLogin example, 374
Web services, 414
class keyword, 354
class library, .NET Framework, 5–6
ClassName attribute
@Control directive, 213–14
Web services, 413
Class View, Visual Studio .NET windows, 20
<clear> child element
<appSettings>, 560
<assemblies>, 530
<clientTarget>, 557
<httpHandlers>, 550
<httpModules>, 551
ClearChildViewState method, Page class, 210
Clear method, Session object, 100
clientConnectedCheck attribute, <processModel>, 553
clientScriptsLocation attribute, <webControls>, 557
client-side
<script> blocks, 191
cookies, 109–10
<clientTarget> element, 557
Close method, DataReader, 322–23
CLR (common language runtime), 4–5, 413
CLS (Common Language Specification), 51–52
code
<% %> render blocks, 212–13
access security, 182–83
ASP.NET applications, 50
codeless development, 74
compiling, 46
event handlers, 45
managed, 5
migration process and, 508–9
MSDN documentation, 177
<script> code declaration blocks, 211–12
searching for sample code, 11–12
writing, 211, 492
code-behind
advantages of, 35–36
pros/cons, 251
Web application deployment and, 473–74
Web Forms and, 45
Web services and, 414
codebehind class, 362
code-behind module, 223–24
code declaration blocks
ASP.NET page elements, 191
migration process and, 508
<script>, 211–12, 517
columns
DataColumn class, 302–3
DataColumnCollection, 309
declarative creation of, 332
iterating over collection, 309–11
comAuthenticationLevel attribute, <processModel>, 553
COM components, 410, 474, 475
comImpersonationLevel attribute, <processModel>, 553
Command classes, ADO.NET
OleDbCommand class, 296–98
overview of, 290
SqlCommand class, 290–96
Command control, Mobile Web Forms, 271
command-line
commands (xp_cmdshell), 145
compilers, 434
Command window, Visual Studio .NET, 16
common language runtime (CLR), 4–5, 413
Common Language Specification (CLS), 51–52
CompareValidator control, 265, 269–70
compatibility
ASP classic with ASP.NET, 213
AspCompat attribute, @Page directive, 509, 517
MSDE, 298
<compilation> element
<assemblies> subsection, 206
attributes, 200, 494, 526–30
overview of, 525
compiled controls. See server controls
<compiler> child element, <compilation>, 528–30
compilerOptions attribute, <compilation>, 529
<compilers> child element, <compilation>, 528
components. See assemblies
compositional controls, 403
conditional logic
if statements, 66–68
switch case statements, 68–69
configuration elements, 519–60
<appSettings>, 559–60
<assemblies>, 530–31
<authentication>, 536–40
<authorization>, 541–43
<browserCaps>, 558–59
<clientTarget>, 557
<compilation>, 525–30
<customErrors>, 534–36
<globalization>, 520–21
<httpHandlers>, 548–50
<httpModules>, 550–51
<httpRuntime>, 522–24
<identity>, 540–41
<machineKey>, 543–44
<pages>, 531–34
<processModel>, 552–56
<securityPolicy>, 544–45
<sessionState>, 546–47
<trace>, 519–20
<trust>, 545–46
<webControls>, 557
configuration files. See also machine.config; Web.config
<appSettings>, 481
ASP.NET new features, 31
editing with Visual Studio .NET, 116
locking down settings, 127
overview of, 113–15
Configuration Manager, 201–2
Connection Lifetime, SqlConnection connection string keys, 285
Connection Reset, SqlConnection connection string keys, 285
ConnectionString property, SqlConnection class, 284
Connect Timeout, SqlConnection connection string keys, 284
console applications, 14
constants, 59–60
containers, Visual Studio .NET, 13
content deployment, 473–74, 481
ContentType attribute, @Page directive, 196
contractRef node, .disco files, 426
Control class
compositional controls and, 403
lack of UI-related features in, 355
Render method and, 377
specialization of controls, 352
@Control directive, Web Forms, 203–4
controls. See also server controls; user controls
adding at runtime, 226–27
case sensitivity, 232
Controls collection, 209, 225
data binding to, 325–26
event execution order, 372–73
event handlers, 223–24
manipulating at runtime, 226–27
viewing control tree, 225
Controls collection
AddAt method, 240
child controls and, 225
manipulating controls in, 404
Page class, 209
ControlToValidate property, BaseValidator class, 264
cookieless attribute, <sessionState>, 547
cookies
ASP classic limitations and, 99
client-side, 109–11
cookieless sessions, 108–9, 112
nonpersistent, 110
persistent, 110–11
storing session state in, 105
trace output and, 486
copy project command, 477
Copy Project dialog box, 477
Count property, Application Collection, 93
Count property, Session object, 100
cpuMask attribute, <processModel>, 554
CPUs, demands on, 442
CreateBlankUsersFile, 386
CreateChildControls method, 352–53, 403–4
<credentials> child element, <authentication>, 539
cross-site scripting (XSS) attacks, 153, 184
csc.exe, 314
.cs files, 37
CSS (Cascading Style Sheets)
adding styles to controls, 244–45
layout modes and, 42
CssClass, 245
culture attribute, <globalization>, 521
Culture attribute, @Page directive, 196
currency formats, 366
<customErrors> element, 534–35
customization options, Visual Studio .NET, 28–29
Customize Toolbox dialog box, 359
CustomValidator control, 265

Team LiB
Previous Section Next Section


JavaScript EditorJavascript debugger     Javascript examples