index [] · index symbols $() css selectors, 963 ... visual studio, 860–862 ... aziz, atif...

57
1333 INDEX Symbols $() CSS selectors, 963 jQuery, 961–962, 966 . (period), Class selector, 29 ; (semicolon), @OutputCache, 71 -?, SQL Server, 533 /?, XCopy, 1167 P<>, SQL Server, 533 * (asterisk) <deny>, 738 SqlDataSource, 303 URLAuthorizationModule, 1044 > (greater than) Immediate window, 1077 SiteMapPath, 625 <%# %>, data binding, 348 <%$ %>, expressions, 349 # (hash mark), ID selector, 29 - (minus sign), TreeView, 640 + (plus sign), TreeView, 640 ? (question mark) Immediate window, 1077 URLAuthorizationModule, 1044 @{ and }, MVC, 1207 A <a>. See anchor tags /a, XCopy, 1167 -A all, 533 -A p, 533 AbortTransaction, 72 absolute positioning, 39–40 accelerator keys, 125 access control list (ACL), 1085 publish settings file, 1180 AccessDataSource, 301, 307 AccessKey, 109 Accordion server control, 945–947 AccountController, 1193 ACL. See access control list AcquireRequestState HTTP requests, 1109 session state, 794 {action}, 1200 actions Controller, 1204–1205 designer, 292–295 ActionsLists, 294 Activate, 192 Active Directory cache, 835 membership providers, 537, 539–540 Active Directory Application Mode (ADAM), 539, 541 Active Service Pages (ASP), 4 MVC, 1188 ActiveDirectoryMembershipProvider, 539–540 ActiveFlag, 428–429 ActiveStepChanged, 190 ActiveStepIndex, 186 ActiveTabchanged, 954 ActiveViewIndex, 183, 184 ActiveX CSS3, 41 directories, 1255 DivideComponent.dll, 1252–1253 Internet Explorer, 855 Interop, 1256 RCW, 1248 regsvr32, 1255 ADAM. See Active Directory Application Mode adaptive design, 1002–1006 Add, 512 COPYRIGHTED MATERIAL

Upload: buithien

Post on 11-Apr-2019

222 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1333

INDEX

Symbols$()

CSS selectors, 963jQuery, 961–962, 966

. (period), Class selector, 29; (semicolon), @OutputCache, 71-?, SQL Server, 533/?, XCopy, 1167P<>, SQL Server, 533* (asterisk)

<deny>, 738SqlDataSource, 303URLAuthorizationModule, 1044

> (greater than)Immediate window, 1077SiteMapPath, 625

<%# %>, data binding, 348<%$ %>, expressions, 349# (hash mark), ID selector, 29- (minus sign), TreeView, 640+ (plus sign), TreeView, 640? (question mark)

Immediate window, 1077URLAuthorizationModule, 1044

@{ and }, MVC, 1207

A<a>. See anchor tags/a, XCopy, 1167-A all, 533-A p, 533AbortTransaction, 72absolute positioning, 39–40accelerator keys, 125access control list (ACL), 1085

publish settings fi le, 1180

AccessDataSource, 301, 307AccessKey, 109Accordion server control, 945–947AccountController, 1193ACL. See access control listAcquireRequestState

HTTP requests, 1109session state, 794

{action}, 1200actions

Controller, 1204–1205designer, 292–295

ActionsLists, 294Activate, 192Active Directory

cache, 835membership providers, 537, 539–540

Active Directory Application Mode (ADAM), 539, 541

Active Service Pages (ASP), 4MVC, 1188

ActiveDirectoryMembershipProvider, 539–540ActiveFlag, 428–429ActiveStepChanged, 190ActiveStepIndex, 186ActiveTabchanged, 954ActiveViewIndex, 183, 184ActiveX

CSS3, 41directories, 1255DivideComponent.dll, 1252–1253Internet Explorer, 855Interop, 1256RCW, 1248regsvr32, 1255

ADAM. See Active Directory Application Modeadaptive design, 1002–1006Add, 512

bindex.indd 1333bindex.indd 1333 4/9/2013 3:39:17 PM4/9/2013 3:39:17 PM

COPYRIG

HTED M

ATERIAL

Page 2: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1334

<add>

defaultValue, 680key, 1053<outputCache>, 827personalization properties, 673readOnly, 681<rules>, 550SqlMembershipProvider, 563type, 678value, 1053web.config, 88XmlFileProvider, 571

Add Service Reference, WCF Data Service, 488–489Add Web Reference, XML Web Service, 464–466AddAttribute, 249AddAttributes, 249AddAttributesToRender, 251, 252AddHistoryPoint(), 889Add-Migration, 440<AddResult>, 491AddStyleAttribute, 253addtask, 1222–1223

templates, 1228validation, 1226–1227

AddUsersToRole(), 747AddUsersToRoles(), 582, 747AddUserToRole(), 747AddUserToRoles(), 747Adjacent selector, CSS3, 29administration and management, 1269–1293.

See also membership and role management service; state management

IIS confi guration, 1284–1293WSAT, 1268–1284

AdminPage.aspx, 777AdminPageRights, 738ADO.NET, 412AdRotator server control, 160–161Advanced Encryption Standard (AES), 1242AffectedRows, 306after, 31AggregateCacheDependency, 834–835Ajax, 857–894

ASMX, 975–977asynchronous requests, 869asynchronous response, 869–870Back button, 885–890building applications, 862–870client-side technologies, 861developing, 862DOM, 859

Forward button, 885–890GridView, 319–320HTTP, 859

GET, 970, 972–974POST, 970, 974–975, 977–978

JavaScript, 858jQuery, 970–978, 1260JSON, 859Legacy, 1243long polling, Comet, 985machine.config, 863–864master pages, 618–619Microsoft Ajax Minifi er, 1263–1264need for, 857–860page history, 885–890script combining, 890–894ScriptManager, 862, 866, 870, 871–873ScriptManagerProxy, 870, 873–874server controls, 870–882server-side technologies, 861Timer, 870, 874–875UpdatePanel, 862, 866, 870, 875–879

multiples, 882–885UpdateProgress, 870, 879–882Visual Studio, 860–862web.config, 862–863XMLHttpRequest, 858

AJAX Control Toolkit, 895–955, 1264Accordion server control, 945–947AlwaysVisibleControlExtender, 900–902AnimationExtender, 902–903AutoCompleteExtender, 903–906BalloonPopupExtender, 906–907CalendarExtender, 907–908CascadingDropDown server control, 947–950CollapsiblePanelExtender, 908–910ColorPickerExtender, 910–911ConfirmButtonExtender, 911–913controls, 898–944downloading/installing, 896–898DragPanelExtender, 913–914DropDownExtender, 914–916DropShadowExtender, 916–918DynamicPopulateExtender, 919–922extenders, 899FilteredTextBoxExtender, 922–923HoverMenuExtender, 923–925ListSearchExtender, 925–926MaskedEditExtender, 926–928MaskedEditValidator, 926–928ModalPopupExtender, 911–913

<add> – AJAX Control Toolkit

bindex.indd 1334bindex.indd 1334 4/9/2013 3:39:18 PM4/9/2013 3:39:18 PM

Page 3: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1335

AJAX Extensions – appendTo(�)

MultiHandleSliderExtender, 936–937MutuallyExclusiveCheckBoxExtender, 928–929NoBot server control, 950–952NumericUpDownExtender, 929–930PagingBulletedListExtender, 930–931PasswordStrength server control, 952PopupControlExtender, 931–933Rating server control, 952–953ResizableControlExtender, 933–935RoundedCornersExtender, 935–936server controls, 945–955SliderExtender, 936–937SlideShowExtender, 937–939TabContainer server control, 954–955TabPanel server control, 954–955TextBoxWatermarkExtender, 939–941ToggleButtonExtender, 941–942UpdatePanelAnimationExtender, 942–943ValidatorCalloutExtender, 944Visual Studio, 897

AJAX ExtensionsTimer, 874UpdateProgress, 879Visual Studio, 865

AJAXControlToolkit, 899alert(), 5AlertHello(), 132>alias, 1077All

Forms Authentication, 1042ShowCheckBoxes, 636

<allow>

roles, 765web.config, 1044Windows Authentication, 764

allowAnonymous, 684allowDefinition, 1046allowOverride

<location>, 1046web_mediumtrust.config, 1030

AllowReturn, 187AllowSorting, 318AlternateText, 160AlternatingItemTemplate, 336AlwaysVisibleControlExtender

AJAX Control Toolkit, 900–902HorizontalOffset, 901HorizontalSide, 901TargetControlID, 901VerticalOffset, 901VerticalSide, 901

anchor tags, 963CSS, pseudo classes, 30CSS3, Apply Styles tool window, 48jQuery elements, 966

And, 512AnimationExtender

AJAX Control Toolkit, 902–903TargetControlID, 903

anonymous authentication, 704, 1043–1044anonymous personalization, 681–685

cookies, 681, 682Forms Authentication, 681–682Global.asax, 686GUID, 683migration, 685–686personalization properties, 684profi le storage, 685Windows Authentication, 681–682

AnonymousID

AnonymousIdentificationEventArgs, 684Request, 683

<anonymousIdentification>, 681, 1043–1044

AnonymousIdentification_creating, 683AnonymousIdentificationEventArgs, 684<AnonymousTemplate>, 732–733ANTS, 1260–1261APIs. See also specifi c APIs

HTML5, 23–24JavaScript, 23

APM. See Asynchronous Programming ModelApp_Browsers

application folders, 83upgrading, 1243

App_Code

application folders, 78–82HttpModule, 1112IHttpModule, 1110LimitedSqlRoleprovider, 581LINQ to SQL, 394ObjectDataSource, 312Serializable, 803upgrading, 1242Visual Studio, 80

App_Data

application folders, 82ASPNETDB.mdf, 705, 707upgrading, 1242WSAT, 1270

append(), 966, 967appendTo(), 967

bindex.indd 1335bindex.indd 1335 4/9/2013 3:39:18 PM4/9/2013 3:39:18 PM

Page 4: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1336

App_GlobalResources – <asp:ContentPlaceHolder>

App_GlobalResources, 1152, 1159application folders, 82–83upgrading, 1242

Application

state management, 813tracing, 1081

@Application, 94application folders, 78–83

App_Browsers, 83upgrading, 1243

App_Code, 78–82HttpModule, 1112IHttpModule, 1110LimitedSqlRoleprovider, 581LINQ to SQL, 394ObjectDataSource, 312Serializable, 803upgrading, 1242Visual Studio, 80

App_Data, 82ASPNETDB.mdf, 705, 707upgrading, 1242WSAT, 1270

App_GlobalResources, 82–83, 1152, 1159upgrading, 1242

App_LocalResources, 83, 1152upgrading, 1242

App_WebReferences, 83, 1243Application Settings, IIS Manager, 1290Application tab, WSAT, 1280–1283Application_AuthenticateRequest, 93Application_Authentication_BeginRequest, 93Application_BeginRequest, 93Application_End, 93, 94–95Application_Error, 93Application.Lock, 813ApplicationName

ProfileManager, 695web.config, 573

Application_OnError, 1098applications. See also global applications; mobile

applications; web applicationsdeployment, 1163–1184

debugging, 1164–1165pieces, 1164steps before, 1164–1165

desktop, asynchronous code, 1121fi les, confi guration, 1031life cycle, asynchronous code, 1125.NET Framework, COM components,

1255–1256

packaging and deployment, 1163–1184profi les, personalization, 695–700queue length, runtime settings, 1050state, 529upgrades, 1240–1241

Application_Start, 93, 1084FriendlyUrls, 1011MVC, 1198unobtrusive validation, 204

Application.Unlock, 813Applied Rules list, 48App_LocalResources, 1152

application folders, 83upgrading, 1242

Apply Styles tool window, 47–48_AppName, 573App_Offline.htm, 1049appRequestQueueLimit, 1050AppSettings, 350appSettings, 1034, 1053, 1327<appSettings>, 1054

<connectionStrings>, 1034NameValueFileSectionHandler, 1063, 1064web.config, 1053, 1280

AppSettingsExpressionBuilder, 349AppSettingsSection, 1054App_Themes, 1242App_WebReferences, 83, 1243args.IsValid, 218–219, 221Argument, 260article, 19

reversed, 22<article>, 36As, 1295.ascx, 232

code-behind model, 60Web User Control, 58

.ashx, 1114, 1118aside, 19<aside>, 36ASMX, 975–977.asmx

code-behind model, 60Web Service, 58

ASP. See Active Service Pages<asp:BoundField>, 317<asp:ChangePassword>, 729AspCompat, 62<asp:CompleteWizardStep>, 712<asp:Content>, 599–600<asp:ContentPlaceHolder>, 599–600

bindex.indd 1336bindex.indd 1336 4/9/2013 3:39:18 PM4/9/2013 3:39:18 PM

Page 5: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1337

<asp:CreateUserWizardStep> – Attribute selector, CSS3

<asp:CreateUserWizardStep>, 712, 713<asp:DropDownList>, 209<asp:Hyperlink>, 796<asp:ImageMap>, 197<asp:Label>

<span>, 964Text, 124–125

<asp:ListItem>, 165, 168Enabled, 138

<asp:LoginView>, 732–733<asp:Menu>, 653asp.net, 1262ASP.NET AJAX. See Ajaxaspnet_compiler, 85aspnet_compiler.exe, 1170ASPNETDB.mdf, 705, 707AspnetEntityFx, 414AspNetInternalProvider, 827aspnet_Membership, 707–708aspnet_regiis.exe, 1059aspnet_regsql.exe, 533, 808ASP.NET_SessionId, 798AspNetSqlMembershipProvider, 537, 538

<clear />, 563AspNetSqlProvider, 718AspNetSqlRoleProvider, 541

Name, 565aspnet_state.exe, 802, 803<asp:Panel>, 964<asp:PasswordRecovery>, 730<asp:RequiredFieldValidator>, 206–207<asp:RoleGroups>, 734ASPStateTempSessions, 809, 810<asp:Substitution>, 827<asp:TableFooterRow>, 153<asp:TableRow>, 153<asp:UpdatePanel>, 876<asp:View>, 183<asp:Wizard>, 185–196<asp:WizardStep>, 185, 712.aspx

APP_LocalResources folder, 83code-behind model, 60, 61master pages, 596Page, 61Web Form, 58

assembliesNuGet packages, 1322–1324private, 1255public, 1256satellite, 1152

assemblies, 1039Assembly, 62, 69@Assembly

Global.asax, 94page directives, 70

AssemblyBuilder, 91associations, WCF Data Service, 507–510Async, 62async, 20, 1124–1125

handlers, 1128–1129modules, 1129–1130Page_Load, 1127–1128pages, 1127–1128task cancelling, 1130–1131

async/await, 1124–1125asynchronous callbacks, 258–261asynchronous code, 1121–1133

application life cycle, 1125CLR, 1122desktop applications, 1121EAP, 1123–1124foreach, 1123history, 1122–1124HTTP streaming, 1122IIS, 1132I/O, 1121long-polling, 1122.NET Framework, 1121, 1122page life cycle, 1125parallelism, 1131–1132programming, 1121–1125server confi guration, 1132–1133TAP, 1124thread pools, 1126web applications, 1121

asynchronous postbacks<ContentTemplate>, 875–876ScriptManager, 889<Triggers>, 877–878

Asynchronous Programming Model (APM), 1123

asynchronous requestsAjax, 869EventName, 878

asynchronous response, Ajax, 869–870

AsyncPostBackTrigger, 878AsyncTimeout, 62, 1130–1131asyncTimeout, 1048attr(), 964Attribute selector, CSS3, 28–29

bindex.indd 1337bindex.indd 1337 4/9/2013 3:39:18 PM4/9/2013 3:39:18 PM

Page 6: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1338

attributes – Aziz, Atif

attributesDynamic Data, 450–453<forms>, 768–769HTML tags, 249–250HTML5, 3–6provider model, 560–564providers, 562–563<roleManager>, 735–736server controls, 244–245transform, 1071WebMethod, 461–462WebService, 461

Attributes, 109HtmlControl, 112

audio, 20<audio>, 226Authenticate, 776Authenticate(), 772AuthenticateRequest, 1109authentication, 760–777. See also Forms

Authentication; Windows Authenticationanonymous, 704, 1043–1044confi guration, 1041–1043HTTP cookies, 704IIS, 760–761membership and role management service,

702–732ChangePassword server control, 728–729credentials, 718–725Login server control, 719–722LoginName server control, 726–727LoginStatus server control, 725–726PasswordRecovery server control, 729–731passwords, 722–725, 728–732personalization properties, 710–713showing number of users online, 727–728

specifi c fi les and folders, 776–777<authentication>, 761, 777, 1054

<anonymousIdentification>, 1044encrypting, 1061–1062<forms>, 1042–1043Forms Authentication, 1042–1043web.config, 703–704, 1061–1062Windows Authentication, 1041

AuthenticationResult, 756AuthenticationSection, 1054AuthenticationType, 778, 779authorization

confi guration, 1044–1045membership and role management service, 702,

732–745adding application roles, 737–739

adding users to roles, 739–740cache, 744–745checking users in roles, 743cookies, 744–745DeleteRole(), 739deleting roles, 739getting all roles of particular user, 741–742getting all users of particular role, 740–741LoginView server control, 732–734removing users from roles, 743web.config, 736–737

programmatic, 777<authorization>, 777, 1044, 1054

<deny>, 719<forms>, 718web.config, 718

AuthorizationSection, 1054AuthorizationStoreRoleProvider, 543AuthorizeRequest, 1109Auto

StepType, 187TabContainer server control, 954

AutoCompleteExtender

AJAX Control Toolkit, 903–906EnableCaching, 905GetCompletionList(), 905prefixText, 905ScriptManager, 903TargetControlID, 904

AutoCompleteType, 129–130autoConfig, 1053AutoDetect, 682AutoEventWireup,

62, 65, 66autoEventWireup, 1047autofocus, 20AutoGenerateDeleteButton, 329AutoGenerateEditButton, 325AutoGenerateFields, 314AutoGenerateInsertButton, 333AutoID, 116–117

ClientID, 250AutomaticSaveEnabled, 695automaticSaveEnabled, 687–688AutoPostBack

CheckBox server control, 142–143DropDownList, 137RadioButton server control, 147TextBox, 128–129

AutoSize, 945, 947await, 1124–1125Aziz, Atif, 1265

bindex.indd 1338bindex.indd 1338 4/9/2013 3:39:18 PM4/9/2013 3:39:18 PM

Page 7: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1339

Back button, Ajax – Button

BBack button, Ajax, 885–890BackColor, 109background-image, 44background.png, 44backgrounds, CSS3, 43–45BalloonPopupExtender, 906–907BalloonSize, 906BalloonStyle, 906Base Class Library (BCL), 1075

System.Diagnostics.Trace, 1078BaseValidator, 225Basic authentication, Windows Authentication,

766–767BasicHttpBinding, 489<basicHttpBinding>, 489batch, 1039batchTimeout, 1039BCL. See Base Class Librarybefore, 31BeginRequest, 1109Berners-Lee, Tim, 17Beyond Compare, 1266Binary, 680Bind(), 362–363bind(), 969Bindable, 245binders, 365binding. See data binding; model binding<binding>, 489BindItem, 362Bing, 1233_blank, 20block box, CSS3, 36blogs, 1305Blum, Peter, 202Blur, 255blur(), 968<body>

jQuery elements, 966user controls, 232

BooleanSwitch, 1087–1088BorderColor, 109

CheckBoxList server control, 145border-radius, 42borders module, CSS3, 42–43BorderStyle, 109

CheckBoxList server control, 145BorderWidth, 109

CheckBoxList server control, 145Both

ScrollBars, 163TabContainer server control, 954

Bottom, 153bottom, 39BoundField, 315, 320–321, 325BoundPropertyEntry, 350box model

CSS3, 35–38display, 38position, 37visibility, 38

IE10 Developer Tools, 1259box-shadow, 42breadcrumb navigation, 623breakpoints, 1096Browsable, 245.browser, 261–263Browser Book, 1262browsers. See also specifi c browsers

culture, 1141jQuery, 958, 963mobile, 1007real-time communication, 984server controls, 261–263XMLHttpRequest, 859

Buffer, 62buffer, 1047BufferedWebEventProvider, 548–549, 551–552,

553BufferResponse, 461build providers, 87–93

Visual Studio, 88BuildDesignTimeHtml, 292buildproviders, 1040<buildProviders>

<compilation>, 92web.config, 88

BuildRegions, 292BulletedList server control, 165–170BulletList, 224BulletStyle, 166bundling, 1072–1074business objects, 1247Button, 189

CausesValidation, 130CommandName, 130–131<ContentTemplate>, 878JavaScript, 131–133LimitedSqlRoleProvider, 585UpdatePanel, 876, 883validation, 202web server controls, 130–133

bindex.indd 1339bindex.indd 1339 4/9/2013 3:39:18 PM4/9/2013 3:39:18 PM

Page 8: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1340

Button1_Click(�) – CDN

Button1_Click(), 883–884Button_Click, 108

FileUpload, 173Button_Command, 131ButtonField, 321Byte, 181

C-c, compilation, 86-C, SQL Server, 533/c, XCopy, 1166cache, 823–854

Active Directory, 835application confi guration, 847–848client-side, 830–832data source control, data binding, 313–314dependencies, 834–838

SQL Server, 842–854GAC, 1256HttpApplication, 812HttpCachePolicy, 830–832machine.config, 833master pages, 617–618membership and role management service

authorization, 744–745output, 824–827partial page, 827–828post-cache substitution, 828–830programmatic, 832–838user controls, 237–238UserControl, 827–828Web Pages, 1231–1232Web Service, 471web.config, 833

Cache

SqlCacheDependency, 851–854state storing, 529System.Web.Caching.Cache, 832–833

CacheDependency, 835CacheDuration

WebMethod, 461WebMethods, 471

CacheProfile, 71cacheRolesInCookie, 735<caching>, 827Calculator

Divide(), 97–98Multiply(), 97–98Subtract, 80–81

Calendar server control, 153–160dates

format, 154–155ranges, 155–157selection, 153–154

day, week, and month selections, 155modifying style and behavior, 157–160RangeValidator, 214–216

CalendarExtender, 907–908Call Stack tool window, 1195CallbackHandler, 261callbacks, 258–261Cancel, 339CancelButtonClick, 190CancelButtonType, 189CancelControlID

ConfirmButtonExtender, 913ModalPopupExtender, 912

CancelDestinationPageUrl, 190CAPI. See Cryptographic APICaption, 152–153CaptionAlign, 153CAS. See code-access securityCascading Style Sheets (CSS). See also CSS3

Accordion server control, 946AddStyleAttribute, 253bundling, 1072–1074class selectors, 963Firebug, 1257HtmlHelper, 1214ID selectors, 963media queries

mobile devices, 1005–1006MVC mobile applications, 1012, 1014

minifi cation, 1072–1074Page Inspector, 1101, 1104properties, jQuery elements, 965Rating server control, 953rendering, 110ResizableControlExtender, 933–935selectors, jQuery, 962styles, jQuery elements, 965tag selectors, 963TextBoxWatermarkExtender, 941Visibone, 1262Web Forms, 1190

CascadingDropDown server control, 947–950Category, 245CausesValidation, 202

Button, 130CDN. See content delivery network

bindex.indd 1340bindex.indd 1340 4/9/2013 3:39:18 PM4/9/2013 3:39:18 PM

Page 9: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1341

Cell – CodeFile

Cell, 159Center, 164CGI. See Common Gateway Interfacechange(), 968changeId, 844ChangePassword(), 572ChangePassword server control, 728–729Chart, 344–347CheckBox server control

Key, 929MutuallyExclusiveCheckBoxExtender,

928–929ToggleButtonExtender, 941–942web server controls, 142–144

CheckBoxField, 321CheckBoxList server control, 144–146CheckChanged, 142Checked, 143CheckedChanged, 147CheckedImageAlternateText, 942child elements, 628–629child node, TreeView, 633Child selector, CSS3, 28Chrome

CSS3 box module, 42jQuery, 958mobile applications, 1022–1023

Circle, 166class

App_Code folder, 81–82HttpHandler, 1118providers, 567–570Visual Studio, 96–99

Class, 458class, 110class selectors

CSS, 963CSS3, 29, 47, 48

ClassKey, 1159ClassName, 62, 65, 66Clear, 771<clear />, 563Click

client-side script, 255PreRender, 108user controls, 233, 239

click(), 968Client Script Library, 861ClientCallback, 260clientConnectionCheck, 1052ClientErrorCallback, 260

ClientID

<pages>, 117server controls, 250

ClientIDMode, 62, 66, 109, 116clientIDMode, 1048ClientScript, 118ClientScriptManager, 253

OnSubmit, 257RegisterClientScriptResource, 257

client-side caching, 830–832client-side callbacks

JavaScript, 260–261server controls, 258–261

client-side debugging, JavaScript, 1097–1098client-side declarations, culture, 1141–1142client-side scripts

Blur, 255Click, 255Focus, 255JavaScript, 256OnPreRender, 254Render, 254server controls, 103–122, 253–257TextBox, 256

client-side validationBaseValidator, 225CustomValidator, 217–219, 221–222For Each, 225JavaScript, 200, 201, 207Page_Load, 225turning off, 224–225WebForm_DoPostBackWithOptions, 207

ClientTarget, 63ClientValidationFunction, 219close, 991CLR. See Common Language RuntimeCode First, EF, 413–414, 433–442, 1177

relationships, 437–440Code First Migrations, EF, 440–442, 1176code-access security (CAS), 1030CodeBehind, 63, 65, 66

Page, 61WebService page directive, 458

code-behind model, 59–61content pages, 600–601NoBot server control, 951Page_PreInit, 1008–1009

CodeCastExpression, 350CodeChanger.com, 1266CodeExpression, 350CodeFile, 63, 65, 66

bindex.indd 1341bindex.indd 1341 4/9/2013 3:39:19 PM4/9/2013 3:39:19 PM

Page 10: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1342

CodeFileBaseClass – confi guration

CodeFileBaseClass, 63, 66codegen, 1050CodePage, 63codeSubDirectories, 1039CollapseAll, 642–647CollapseControlID, 908, 909Collapsed, 910CollapsedText, 909CollapseImageUrl, 639CollapsiblePanelExtender, 908–910color, 21ColorPickerExtender, 910–911colors, CSS3 and Visual Studio, 50–51columns, GridView

customization, 320–322sorting, 318–319

COM, 1247–1256components, .NET Framework applications,

1255–1256DCOM, 456error handling, 1252–1254IntelliSense, 1252

COM Interoperability (Interop), 1302ActiveX, 1256.NET Framework, 1247–1248

Comet, 984–985comImpersonationLevel, 1052Command window, 1077CommandField, 321, 325CommandName

Button, 130–131ListView, 338

CommandText, 309comma-separated values (CSV), 1087Comment, 1154Commit(), 933CommitTransaction, 72Common Gateway Interface (CGI), 1188Common Language Runtime (CLR), 1075

asynchronous code, 1122DLR, 1296–1297.NET Framework, 1165syntax notifi cations, 1076System.Diagnostics.Debugger.Launch, 1091thread pools, 1126, 1132

Common Object Request Broker Architecture (CORBA), 456

CompareAllValues, 306CompareValidator, 200–201, 209–212

constants, 211–212ControlToValidate, 210Operator, 212

Type, 211ValueToCompare, 212

compilation, 83–87. See also precompilationconfi guration, 1038–1040JIT, 1090

<compilation>, 1038–1040, 1055App_Code folder, 82<buildProviders>, 92debug, 1164tempDirectory, 1050

CompilationMode, 63, 65, 66compilationMode, 1048CompilerOptions, 63, 65, 66Complete, 187composite controls, 273–274CompositeControl, 273–274CompositeControlDesigner, 295<CompositeScript>, 893–894Computer Management Utility, 779conceptual layer, EF, 412–413Conceptual Schema Defi nition Language (CSDL),

414Condition, 1071Conditional, 884–885config, 565<configProtectedData>, 555–556<configSections>, 1033

machine.config, 863–864configSource, 1048confi guration, 1027–1074

application fi les, 1031applying settings, 1031–1032authentication, 1041–1043authorization, 1044–1045bundling, 1072–1074common settings, 1033–1063compilation, 1038–1040creating custom sections, 1063–1068<customErrors>, 1040debugging, Visual Studio, 1090, 1091detecting fi le changes, 1032–1033editing fi les, 1062–1063fi le format, 1033Forms Authentication, 1042–1043IIS, 1284–1293include fi les, 1048–1049machine.config, 1028–1032, 1054minifi cation, 1072–1074modules, HTTP, 1033<pages>, 1046–1048<processModel>, 1051–1053programming fi les, 1054–1059

bindex.indd 1342bindex.indd 1342 4/9/2013 3:39:19 PM4/9/2013 3:39:19 PM

Page 11: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1343

Confi guration – ControlRenderingCompatibilityVersion

protecting settings, 1059–1062providers, 554–557runtime settings, 1049–1050server fi les, 1028–1031Session, 1035–1038session state, 1028, 1035–1038<sessionState>, 1035settings lock-down, 1046storing application-specifi c settings, 1053transforms, 1068–1072Visual Studio, 1090, 1091web.config, 1030, 1031–1032, 1054Windows Authentication, 1041worker process, 1051–1053WSAT, 1270XML, 1027–1028

Configuration, 1054<configuration>, 1033Configuration.cs, 440ConfigurationElementCollection, 1054ConfigurationSection, 1067Confi gure Debugging and Tracing, WSAT

Application tab, 1281–1282ConfigureListView, 335ConfirmButtonExtender, 911–913ConfirmText, 912Confl ict Detection, 306Connection, 988Connection Strings, IIS Manager, 1290–1291connectionManagement/maxconnection, 1132ConnectionProperty, 1067ConnectionString, 349connectionString, 691connectionStringName, 848ConnectionStrings

appSettings, 1034GridView, 1056–1058web.config, 1055–1056

<connectionStrings>, 691, 1054<appSettings>, 1034decrypting, 1062encrypting, 1060SQL Server, 1037web.config, 847, 1059–1062

ConnectionStringsExpressionBuilder, 349ConnectionStringsSettings, 1054containers, master pages, 615–616<Content>, 946content areas, 594content delivery network (CDN), 226

AJAX Control Toolkit, 1264jQuery, 961

TCP/HTTP, 988Content folder, Dynamic Data, 444content pages, 592

code-behind model, 600–601coding, 597–609event handlers, 600IDE, 594title, 602–603Visual Studio, 598–599

ContentPlaceHolder

ID, 613master pages, 609

<ContentTemplate>, 713, 734Button, 878TabPanel server control, 954UpdatePanel, 875–876

ContentType, 63HTTP requests, 1115

contentType, 975Context, 260context, 1108ContinueButtonClick(),

709–710Control, 62

CreateChildControl, 273data source controls, 300Form, 236GetCallbackEventReference, 260user controls, 235–236ValueProvider, 358–359

@Control

page directives, 66–67user controls, 232

Control Tree, 1080ControlBuilder, 244ControlContainer, 283ControlContainerDesigner, 283ControlDesigner, 283ControlExtender, 928ControlID, 878Controller

actions, 1204–1205MVC, 1199

{controller}, 1199, 1200ControllerActionInvoker, 1196ControllerBase, 1204ControllerContext, 1204Controllers, MVC, 1188, 1203–1207ControlParameter, 305

SqlDataSource, 324controlRenderingCompatabilityVersion, 110ControlRenderingCompatibilityVersion, 1048

bindex.indd 1343bindex.indd 1343 4/9/2013 3:39:19 PM4/9/2013 3:39:19 PM

Page 12: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1344

controls – CSDL

controls. See also specifi c typesAJAX Control Toolkit, 898–944designers

design-time experience, 283–284Visual Studio, 283

frames, HTML5 WebSockets, 990–991master pages, 603–609ObjectDataSource, 311–313SiteMapDataSource, 313styling, 48–50validation, 105XmlDataSource, 310–311

ControlState

state management, 816–820state storage, 793ViewState, 265–266

ControlToCompare, 211ControlToValidate

CompareValidator, 210ControlToCompare, 211CustomValidator, 219MaskedEditExtender, 928RegularExpressionValidator, 216RequiredFieldValidator, 207

Convention over Confi guration, 1192–1195ConvertEmptyStringToNull, 305Cookie, 358cookieless

<forms>, 704, 769Forms Authentication, 1043<sessionState>, 1035

cookieless session state, 811–812cookieName, 735CookieParameter, 305cookieProtection, 736cookieRequireSSL, 736cookies

anonymous personalization, 681, 682HTTP

authentication, 704GET, 814headers, 682POST, 814

HttpResponse, 811membership and role management service

authorization, 744–745session state, 792, 798state management, 814state storage, 530tracing, 1081VaryByCustom, 825–826

cookieSlidingExpiration, 736

cookieTimeout

<anonymousIdentification>, 681<roleManager>, 735

CoompilationSection, 1055Copy Web Site, 1167–1170CopyWebSite.log, 1170CORBA. See Common Object Request Broker

ArchitectureCorners, 936Count(), 382cpuMask, 1052Create, Retrieve, Update, and Delete (CRUD), 300

jQuery elements, 964ObjectDataSource, 312WCF Data Service, 495, 496

Create or Manage Roles, WSAT Security tab, 1278CreateChildControl

Control, 273MessageTemplate, 278

CreateChildren, 277CreatedUser(), 712createPersistentCookie, 736CreateRole(), 747

Roles, 738SqlRoleprovider, 581–582String, 738

CreateUser(), 710, 746Membership, 714MembershipCreateUserException, 715–717

CreateUserAccount, 1230CreateUserIconUrl, 721CreateUserText, 721CreateUserUrl, 721CreateUserWizard

ContinueButtonClick(), 709–710membership and role management service,

706–707personalization properties, 711–712

credentialsAuthenticate(), 772membership and role management service

authentication, 718–725<credentials>

<user>, 771web.config, 773

cross-page posting, 73–78state management, 814–816

CRUD. See Create, Retrieve, Update, and DeleteCryptographic API (CAPI), 556cryptographic service provider (CSP), 556csc.exe, 1091CSDL. See Conceptual Schema Defi nition Language

bindex.indd 1344bindex.indd 1344 4/9/2013 3:39:19 PM4/9/2013 3:39:19 PM

Page 13: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1345

CSP – CustomStateProvider

CSP. See cryptographic service providercspproviderName, 556CSS. See Cascading Style SheetsCSS3, 5, 17–52

ActiveX, 41Adjacent selector, 29Applied Rules list, 48Apply Styles tool window, 47–48Attribute selector, 28–29backgrounds, 43–45block box, 36borders module, 42–43box model, 35–38

display, 38position, 37visibility, 38

Child selector, 28Class selector, 29, 47, 48code snippets, 50colors, 50–51controls, styling, 48–50Descendant selector, 28drop shadows, 45dynamic pseudo classes, 30–31elements

absolute positioning, 39–40float, 40–41normal positioning, 38–39positioning, 38–41relative positioning, 39

external style sheets, 25–26fi rst-child pseudo class, 30hierarchical indentation, 50HTML5, compatibility, 45ID selector, 29–30, 47, 48import, 26!Important, 41inheritance, 34–35inline box, 36inline styles, 27, 28, 48IntelliSense, 25, 50internal style sheets, 26Internet Explorer, 41JavaScript, 41jQuery, 958Manage Styles tool window, 47merged styles, 32–34overview, 24–45Properties tool window, 48pseudo classes, 30–31pseudo elements, 31rules, 27–34

selectors, 27–30, 47combining, 32grouping, 31merging, 32–34

style sheets, 25–27Type selector, 27Universal selector, 27Visual Studio, 46–48

improvements, 50–51CssClass, 49, 109CSV. See comma-separated valuesculture

browsers, 1141client-side declarations,

1141–1142currencies, 1144–1148date, 1142–1144DateTime, 1144global applications, 1135–1152Internet Explorer, 1141.NET Framework, 1139numbers, 1144–1148@Page, 1140–1141, 1142server-side declarations, 1140–1141sorting, 1148–1152threads, 1137–1139types, 1136–1137

Culture, 63@Page, 1156

culture, 661, 1140CultureInfo, 1138–1139currencies, 1144–1148Currency, 211CurrentCulture, 1138CurrentNode, 634

SiteMap, 657–659CurrentNodeStyle, 629CurrentNodeTemplate, 629CurrentToRoot, 627Custom, 923custom controls, 105CustomerID, 305customErrors, 1040<customErrors>, 1055

confi guration, 1040CustomErrorsSection,

1055CustomExpression, 309CustomImage, 166CustomPages folder, 444CustomProviders, 566–567CustomStateProvider, 1037

bindex.indd 1345bindex.indd 1345 4/9/2013 3:39:19 PM4/9/2013 3:39:19 PM

Page 14: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1346

CustomValidator – DataSet

CustomValidator, 200–201, 217–222client-side validation, 217–219, 221–222server-side validation, 219–222

CutoffMaximumInstances, 951CutofWindowSeconds, 951

D-d, compilation, 86/d, XCopy, 1166-d <>, SQL Server, 533Data

jQuery, 975XmlDataSource, 310

Data Annotation Attributes, 15Data Annotations, 445, 453data binding, 299–353

data source controls, 299–313cache, 313–314

data-bound controls, 314–347expression builders, 349–353expressions, 349–353inline syntax, 347–349ListView, 338–339two-way, 348XML, 348–349

data contracts, WCF Data Service, 490–495data defi nition language (DDL), 414Data Model, EF, 406Data Protection API (DPAPI), 555–556, 1059Data Service, WCF, 480–525

Add Service Reference, 488–489associations, 507–510building, 481–488consumer building, 488–490consuming, 512–515consumption code, 490creating, 496–502CRUD, 495, 496data contracts, 490–495default.svc, 498EDM, 496–497, 499–500, 505–506fi ltering, 511–512IIS Express, 486interface, 484–487interface queries, 502–512namespaces, 495operators, 511–512relationships, 505–507RESTful, 496, 505

result sets, 510–511service framework, 483–484sorting, 510web.config, 489WSDL, 487–488XML, 500

data source controlAccessDataSource, 301, 307Control, 300data binding, 299–313

cache, 313–314EntityDataSource, 301, 307–309LinqDataSource, 301, 307ObjectDataSource, 301SiteMapDataSource, 301SqlDataSourceControl, 301–307XmlDataSource, 301

data visualizers, 1094database. See also SQL Server

deployment, 1176–1177errors, SqlDataSource, 306–307

Database First, 413–414DataBind, 277DataBind(), 137DataBinding, 72, 315DataBound, 315data-bound controls

Chart, 344–347data binding, 314–347DetailsView, 330–334FormView, 340–343GridView, 314–330ListView, 334–340Menu, 344TreeView, 343–344

DataControlRowState, 328DataField, 315DataFile, 310–311DataKeyNames

GridView, 325model binding, 361

DataList, 334DataMember, 947DataNavigateUrlFields, 321DataPager, 339–340DataReader, 304

NotSupportedException, 313SELECT, 312

DataSet, 304DataSourceMode, 313EF, 412

bindex.indd 1346bindex.indd 1346 4/9/2013 3:39:19 PM4/9/2013 3:39:19 PM

Page 15: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1347

DataSource – defaultUrl

HTTP, 456SELECT, 312

DataSource

Accordion server control, 947DropDownList server control, 137

DataSourceDesigner, 295DataSourceID

Accordion server control, 947BulletedList server control, 170CheckBoxList server control, 145Menu, 648

DataSourceMode

DataSet, 313SqlDataSource, 304

DataTable, 922DataTextField

BulletedList server control, 170CheckBoxList server control, 145

DataTips, 1093DataType, 450dataType, 975DataTypeCheck, 212data-val, 207Date

MaskType, 926–928Type, 211

date, 20datepicker(), 979–981dates, 1142–1144DateTime, 450

culture, 1144MaskType, 926–928

datetime, 20datetime-local, 21Day, 159DayRenderArgs, 159DayRenderEventArgs, 159DbContext, 437dbDacFx, 1177DbgManagedDebugger, 1091dblclick(), 968DbProviderFactory, 302DbSet, 434, 437DCOM. See Distributed Component Object ModelDDL. See data defi nition languageDEBUG, 765Debug, 63, 65, 66

WebService page directive, 458debug, 1039, 1164DebuggerHidden, 1095[DebuggerNonUserCode], 1095

[DebuggerStepThrough], 1095debugging, 1075–1104

application deployment, 1164–1165diagnostic switches, 1087–1089Firebug, 1257–1258IntelliTrace, 1096JavaScript, client-side, 1097–1098JIT, 1091–1092multiple threads, 1096–1097MVC, 1193Page Inspector, 1101–1104Response.Write, 1078SQL Server, 1098tools, 1093–1096tracing, 1078–1087Visual Studio, 860, 1090–1098

confi guration, 1090, 1091web events, 1089–1090web.config, 1164WSAT, 1281–1282

Debug.Trace, 1083Debug.Write, 1082, 1083Decimal, 937Decrypt, 776decryptionKeyt, 1242<default>, 535Default Methods, LINQ to SQL, 402–403Default.aspx

APP_LocalResources folder, 83HTML, 1249LoginName server control, 726–727mobile devices, 1009ViewState, 865

DefaultControllerFactory, 1196default.cshtml, 1223DefaultEvent, 244defaultLanguage, 1039DefaultMembershipProvider, 702DefaultMessageTemplate, 278DefaultProperty, 244defaultProvider, 537, 555, 563

LimitedSqlRoleProvider, 585<outputCache>, 827<roleManager>, 543, 736

defaultRedirect, 1040Defaults, 1202default.svc, 498DefaultTraceListener, 1082, 1083defaultUrl

<forms>, 769Forms Authentication, 1043

bindex.indd 1347bindex.indd 1347 4/9/2013 3:39:19 PM4/9/2013 3:39:19 PM

Page 16: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1348

DefaultValue – Direction

DefaultValue, 245Parameter, 305

defaultValue, 680default.vbhtml, 1223deferred execution, LINQ, 382–383delegate(), 969DELETE

HTTP, 502Optimistic Concurrency, 304

Delete

ListView, 338SqlDataSource, 329

DeleteCookie(), 744–745, 747DeleteInactiveProfiles, 695DeleteOnAllSubmit, 404–405DeleteOnSubmit, 404–405<DeleteParameters>, 329DeleteProfile, 695DeleteProfiles, 695DeleteRole(), 747

membership and role management service authorization, 739

SqlRoleProvider, 582DeleteUser(), 699, 746DelimitedListTraceListener, 1087denial of service attack, 176Denominator, 1252<deny>

<authorization>, 719roles, 765web.config, 738, 1044Windows Authentication, 764

dependencies, cache, 834–838SQL Server, 842–854

DependencyDispose, 835deployment

applications, 1163–1184debugging, 1164–1165pieces, 1164steps before, 1164–1165

database, 1176–1177NuGet packages, 1331web applications

fi le system, 1174FTP, 1174precompilation for deployment, 1170–1172published, 1171Visual Studio Copy Web Site, 1167–1170web packages, 1172–1175XCopy, 1165–1167

Windows Azure web sites, 1181–1184

Descendant selector, CSS3, 28Description, 63, 65, 66

server controls, 245<siteMapNode>, 623WebMethod, 461WebService, 461

DescriptionUrl, 150design surface

LINQ to SQL, 399server controls, 105–106Visual Studio, 105–106

Designer, 244Visual Studio, 286

designer actions, design-time experience, 292–295designer regions

design-time experience, 284–292ITemplate, 286OnClick, 292

DesignerActionHeaderItem, 293DesignerActionItemsCollection, 292DesignerActionList, 292, 294DesignerActionListCollection, 294DesignerActionMethodItem, 293DesignerActionPropertyItem, 293DesignerActionTextItem, 293, 294DesignerRegionCollection, 292DesignerSerializationVisibility, 245design-time experience

control designers, 283–284designer actions, 292–295designer regions, 284–292server controls, 279–296TypeConverter, 280–283UI type editors, 295–296

desktop applications, asynchronous code, 1121Details.aspx, 445DetailsView

AutoGenerateInsertButton, 333data-bound controls, 330–334display customizing, 331–332FilterParameters, 333GridView, 332–333PagerSettings-Mode, 331SelectParameters, 333SqlDataSource, 331

DevExpress, 1263diagnostic switches, 1087–1089Dictionary, 1302DictionarySectionHandler, 1063, 1064–1065Digest authentication, 767Direction, 164

bindex.indd 1348bindex.indd 1348 4/9/2013 3:39:19 PM4/9/2013 3:39:19 PM

Page 17: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1349

directories, ActiveX – DynamicPopulateExtender

directories, ActiveX, 1255Disable Roles, WSAT Security tab, 1278Disabled

HtmlControl, 112ViewStateMode, 617

disabled, 110Disc, 166Display, 450display, 38DisplayAfter, 881DisplayCancelButton, 189DisplayFormat, 450DisplayModalPopupID, 913DisplayMode

BulletedList server control, 168ValidationSummary, 224

DisplayRememberMe, 720DisplaySideBar, 186Disposed, 72

HTTP requests, 1109Distributed Component Object Model (DCOM), 456Div, 512div, 37<div>, 36

<asp:Panel>, 964DragPanelExtender, 913–914DynamicPopulateExtender, 919jQuery elements, 966<span>, 28ViewState, 964

Divide(), 97–98DivideClass, 1252DivideComponent.dll, 1252–1253.dll, 83DLR. See Dynamic Language Runtime<!DOCTYPE>, 1244Document, 162Document Object Model (DOM), 5

Ajax, 859IE10 Developer Tools, 1259jQuery, 962, 1260Page Inspector, 1101, 1104SSE, 985

DocumentSource, 161DOM. See Document Object Modeldomain

<forms>, 769Forms Authentication, 1043

DotNetOpenAuth, 538DotNetOpenAuth.AspNet, 754dotTrace, 1260–1261

Double, 211DownloadTaskAsync, 1125DPAPI. See Data Protection APIDragPanelExtender, 913–914drop shadows, 45drop-down lists, 209DropDownControlID, 916DropDownExtender, 914–916DropDownList

ControlToValidate, 207, 209FindControl, 328, 329GridView, 327–328ProfileManager, 696RowDataBound, 327–328SelectedIndexChanged, 238SelectedValue, 329web server controls, 135–137

DropShadowExtender, 916–918Duration, 71

OutputCache, 849VaryByControl, 825

dynamic, 1299Dynamic Data, 443–453

adding to existing application, 448–449application

features, 444–445results, 445–448

attributes, 450–453Data Annotations, 453entity templates, 451–452EntityTemplate, 451–452FieldTemplates folder, 444, 450–451model binding, 449–453routes, 1201running application, 445scaffolding, 444UI, 450–452validation, 452–453ValidationSummary, 453Visual Studio, 443

Dynamic Language Runtime (DLR), 1296–1299dynamic lookup, 1299–1303dynamic pseudo classes, 30–31dynamic style elements, 650<DynamicHoverStyle>, 650<DynamicItemTemplate>, 650<DynamicMenuItemStyle>, 650<DynamicMenuStyle>, 650DynamicObject, 1300, 1302DynamicPopOutImageUrl, 651DynamicPopulateExtender, 919–922

bindex.indd 1349bindex.indd 1349 4/9/2013 3:39:19 PM4/9/2013 3:39:19 PM

Page 18: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1350

<DynamicSelectedStyle> – Entity Data Model (EDM)

<DynamicSelectedStyle>, 650DynamicValidator, 200–201dynvalue, 1299

E-E, SQL Server, 533, 808/e, XCopy, 1167EAP. See Event-based Asynchronous Patternecho handler, 992–994ecosystem, 6–14Edit, 338Edit and Continue, Visual Studio, 1094–1095Edit and Refresh, Visual Studio, 1094–1095Edit.aspx, 445EditItemTemplate, 321

ListView, 336, 339Editor, 245

UITypeEditor, 295EditorBrowsable, 245EDM. See Entity Data Model.edmx, 414EF. See Entity Frameworkelements

child, 628–629CSS3

absolute positioning, 39–40float, 40–41normal positioning, 38–39positioning, 38–41pseudo elements, 31relative positioning, 39

dynamic style, 650forms, Wizard server control, 191–195HTML server controls, 104HTML5, 3–6

CSS3 pseudo classes, 31jQuery, 964–967

selectors, 962–964static style elements, 649

ELMAH. See Error Logging Modules and Handlersemail, 20embedded resources, 257–258EmptyCssClass, 953EmptyDataTemplate

GridView, 317ListView, 336

EmptyDataText, 316–317EmptyItemTemplate, 336, 337–338EmptyValueMessage, 928

enable, 1049<processModel>, 1051

EnableCaching, 905EnableClientScript, 224enableCrossAppRedirects, 1043Enabled, 109

<asp:ListItem>, 138ProfileManager, 695ViewStateMode, 617

enabled

<anonymousIdentification>, 1044LimitedSqlRoleProvider, 585<roleManager>, 541, 735TabPanel server control, 954

EnableEventValidation, 63EnableHistory, 887enableKernelOutputCache, 1050enableLocalization, 660Enable-Migrations, 440enablePasswordReset, 718, 729enablePasswordRetrieval, 718EnableSecureHistoryState, 890EnableSession, 461EnableSessionState, 63

@Page, 801enableSessionState, 1047EnableSortingAndPagingCallbacks, 319EnableTheming, 63, 65, 66, 109

HtmlControl, 112EnableViewState, 63, 65, 66, 109

HtmlControl, 112enableViewState, 1047EnableViewStateMac, 63Encrypt, 776Encryption, 1042enctype, 174End, 794EndItemTemplate

Cancel, 339GridView, 326–327TemplateField, 326–327Update, 339

<endpoint>, 489EndRequest, 1109, 1111EnsureChildControl, 274Entity Data Model (EDM)

creating, 414–422inheritance, 427–430Visual Studio, 414WCF Data Service, 496–497, 499–500,

505–506

bindex.indd 1350bindex.indd 1350 4/9/2013 3:39:19 PM4/9/2013 3:39:19 PM

Page 19: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1351

Entity Framework (EF) – ExpandedText

Web Forms, 420–422wizard, 416–418

Entity Framework (EF), 405–409, 411–442ADO.NET, 412Code First, 413–414, 433–442, 1177

relationships, 437–440Code First Migrations, 440–442, 1176conceptual layer, 412–413Data Model, 406Database First, 413–414DataSet, 412DbContext, 437DbSet, 434, 437designer, 418–420EntityDataSource, 430–433GridView, 436IQueryable, 436library, 7logical layer, 412–413many-to-many relationship, 425–427many-to-one relationship, 425–427mapping layer, 412–413Model First, 413–414one-to-many relationship, 422–425one-to-one relationship, 422–425Order, 412Page_Load, 434relationships, 422–427stored procedures, 430strongly typed controls, 412Web API, 517XML, 414

entity templates, 451–452EntityDataSource

data source control, 301, 307–309EF, 430–433

EntitySetName, 309EntityTemplate, 444, 451–452Enum, 450Eq, 511Equal, 212Error, 72

HTTP requests, 1109error, 975error handling, 1075–1104

applications, 1099–1100COM, 1252–1254HTTP status codes, 1100–1101pages, 1099

Error Logging Modules and Handlers (ELMAH), 1265

libraries, 10library, 7NuGet packages, 1314–1317

error notifi cationsimages, 225–227sounds, 225–227Visual Studio, 1075–1076, 1094

ErrorMessage, 223–224ErrorPage, 63errors, database, 306–307Eval, 348Eval(), model binding, 362–363EvaluateExpression, 352–353event handlers

content pages, 600jQuery, 968–970Page_Load, 601Page_LoadComplete, 605

event listeners, 991eventArguments, 261Event-based Asynchronous Pattern (EAP),

1123–1124EventHandlerTaskAsyncHelper, 1129–1130EventLogTraceListener, 1078, 1086EventLogWebEventProvider, 549–550, 552EventName, 878events

master pages, 616–617Menu, 652pages, 71–73postbacks, 267–272server controls, 107–108, 245SSE, 985–986user controls, 233–234web events

debugging, 1089–1090providers, 548–557

Wizard server control, 190–191exception handling. See error handlingExceptionHandled, 307/exclude, 1167.exe, 83Execute, 1204executionTimeout

FileUpload, 177runtime settings, 1049–1050

Expand, 645ExpandAll, 642–647ExpandControlID, 908, 910Expanded, 645ExpandedText, 909

bindex.indd 1351bindex.indd 1351 4/9/2013 3:39:19 PM4/9/2013 3:39:19 PM

Page 20: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1352

ExpandImageUrl – focus(�)

ExpandImageUrl, 639ExpandoObject, 1300Explicit, 63, 65, 66explicit, 1039Export-Module, 1329expressBuilders, 1040expression builders, 349–353ExpressionBuilder, 350ExpressionEditor, 350ExpressionPrefix, 350–351expressions

data binding, 349–353regular expressions, 564

extenders, AJAX Control Toolkit, 899eXtensible Markup Language (XML)

confi guration, 1027–1028data binding, 348–349EF, 414LINQ to XML, 388–393Menu, 652–654passwords, 570providers, 570resource fi les, 1152sitemaps, 622–623TreeView, 634–636WCF Data Service, 500WSAT, 1269

Extension Manager, Visual Studio, 1310external style sheets, 25–26

<link>, 35Visual Studio, 25

F-f, compilation, 86/f, XCopy, 1166Facebook, 1233FadeTransitions, 945FailedPasswordAttemptCount, 723FailedPasswordAttemptWindowStart, 723Fiddler, 525, 630FieldTemplates folder, 444, 450–451figure, 20fi le authorization, 1045fi le extensions. See also specifi c extensions

IIS, 784–786fi le share, NuGet packages, 1326–1327fi le system

Visual Studio Copy Web Site, 1169web application deployment, 1174

FileChangeMonitor, 841FileContent, 180–181FileIO, 1031_FileName, 573FileUpload, 50

Byte, 181ControlToValidate, 207fi le size limitations, 176–177permissions, 175–176Stream, 180–181uploading fi les, 172–175

multiple, 177–180Web Pages, 1232web server controls, 172–181

Fill, 945FilledStarCssClass, 953FilteredTextBoxExtender, 922–923fi ltering

LINQ, 383–384model binding, 357–358WCF Data Service, 511–512

FilterMode, 923FilterParameters, 333Filters folder, Dynamic Data, 444FilterType, 923FindControl, 236, 328, 329FindControl(), 76, 604, 607FindInactiveProfilesByUserName, 695FindNode(), 643FindProfilesByUserName, 696FindProfilesByUserName(), 699FindUsersByEmail(), 746FindUsersByName(), 746FindUsersInRole(), 743, 747Finish, 187FinishButtonClick, 190–191FinishStepButtonType, 189FinishStepPreviousButtonType, 189Firebug, 1257–1258Firefox

HTTP GET, 972jQuery, 958mobile applications, 1022–1023

fi rehose mode, 304fi rst-child pseudo class, 30first-letter, 31first-line, 31float, 40–41Focus(), 127–128Focus, 255focus(), 968

bindex.indd 1352bindex.indd 1352 4/9/2013 3:39:19 PM4/9/2013 3:39:19 PM

Page 21: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1353

folderLevelBuildproviders – Get-Help

folderLevelBuildproviders, 1040folders. See application foldersFont, 110<font>, 24Foo

HomeController, 1196Message, 1195View, 1194

foo, 1296footer, 20<footer>, 36FooterTemplate, 321For Each, 225ForceCopyBuildProvider, 88ForEach, 1329foreach

asynchronous code, 1123ViewBag, 1212

ForeColor, 110Form

Control, 236ValueProvider, 358

<form>

FileUpload, 174HtmlContainerControl, 113RegisterClientScriptBlock, 255user controls, 232

Form Collection, 1081Format, 907FormParameter, 305forms

elements, Wizard server control, 191–195NoBot server control, 950–952

Forms, 761<forms>, 1055

attributes, 768–769<authentication>, 1042–1043<authorization>, 718web.config, 704–705

Forms Authentication, 704, 768–776anonymous personalization, 681–682authenticating against database values, 773–774confi guration, 1042–1043Login server control, 774–775login.aspx, 769–770.NET Framework, 1241–1242passwords, 772–773SQL Server, 773–774web.config, 771–772

FormsAuthentication, 775–776FormsAuthenticationConfiguration, 1055

FormsCookieName, 776FormsCookiePath, 776FormView, 340–343Forward button, Ajax, 885–890FPSE. See FrontPage Server Extensionsframes, HTML5 WebSockets, 990–991FramesPerSecond, 947FriendlyUrls, 1011FriendlyUrlSettings, 1011front controller, MVC, 1189FrontPage Server Extensions (FPSE), 1174FTP

remote servers, 56–57Visual Studio Copy Web Site, 1169web application deployment, 1174

G/g, XCopy, 1166GAC. See Global Assembly CacheGamerCard, 1233GenerateCode(), 91

WCF Data Service, 511GeneratePassword(), 731, 747Generic Handler, 1113–1117GenRandomPassword.psml, 1329$.get, 971$.get(), 973GET, HTTP, 502, 765

Ajax, 970, 972–974cookies, 814HTML5 WebSockets, 987jQuery, 970, 972–974JSON, 973–974session state, 792, 798

GetAllInactiveProfiles, 696GetAllProfiles, 696GetAllProfiles(), 696–697GetAllRoles(), 739, 747GetAllUsers(), 747GetAsync(), 1131GetAuthCookie, 776GetCallbackEventReference, 260GetCallbackResult, 258GetCodeExpression, 350–351GetCompletionList(), 905GetDesignTimeHtml, 292GetDynamicContent(), 919, 922GetEditableDesignerRegionContent, 292Get-Help, 1319

bindex.indd 1353bindex.indd 1353 4/9/2013 3:39:19 PM4/9/2013 3:39:19 PM

Page 22: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1354

GetItem – GUI

GetItem, 811GetItemExclusive, 811GetLocalResourceObject, 1157GetNumberOfInactiveProfiles, 696GetNumberOfProfiles, 696GetNumberOfUsersOnline, 727–728GetNumberOfUsersOnline(), 747Get-Package, 1319, 1320GetPropertyValue, 685GetRedirectUrl, 776Get-RndPassword, 1329GetRolesForUser(), 742, 747GetRouteData, 1202GetSlides, 938–939GetSortedActionItems, 292, 294GetStringAsync(), 1128GetUniqueID, 835GetUpdatedTime, 827GetUser(), 747GetUserNameByEmail(), 747GetUsersInRole, 542GetUsersInRole(), 741GetXmlDocument, 310global applications, 1135–1161

cultures, 1135–1152regions, 1135–1152resource fi les, 1152–1161

Global Assembly Cache (GAC), 1256global resources

resource fi les, 1159–1161Visual Studio, 1160

Global.asax, 93–95anonymous personalization, 686AnonymousIdentification_creating, 683Dynamic Data, 445OAuth, 754Session_Start, 1010System.Web.SessionStatye.

InProcSessionStateStore, 547global.asax, 204globalization, 1135<globalization>, 661, 1055, 1140GlobalizationSection, 1055globally unique identifi er (GUID), 603–604, 605,

683, 990GlobalResources.aspx, 1159Google Chrome

CSS3 box module, 42jQuery, 958mobile applications, 1022–1023

Google Maps, 855Gravatar, 1233

GreaterThan, 212GreaterThanEqual, 212GridView

Ajax, 319–320AllowSorting, 318AutoGenerateDeleteButton, 329AutoGenerateEditButton, 325AutoGenerateFields, 314BoundField, 315, 320–321columns

customization, 320–322sorting, 318–319

CommandField, 321, 325ConnectionStrings, 1056–1058DataBinding, 315DataBound, 315data-bound controls, 314–330DataKeyNames, 325deleting data, 329–330DetailsView, 332–333DropDownList server control, 327–328DynamicPopulateExtender, 922EF, 436EmptyDataTemplate, 317EmptyDataText, 316–317EndItemTemplate, 326–327HyperLinkField, 321, 322model binding, 356NullDisplayText, 317paging, 319queries, 372–376row data, 323–329RowDataBound, 315–316, 327–328RowDeleted, 330RowState, 328RowUpdated, 326RowUpdating, 328–329SortExpression, 315, 318–319SqlDataSource, 324TemplateField, 321–323, 326–327updates, 324–329XmlDataSource, 310

group, 384–385group containers, 337GroupBy, 309GroupSeparatorTemplate, 336GroupTemplate, 336, 337Gt, 511GUI

SQL Server Setup Wizard, 534–536Visual Studio Copy Web Site, 1167–1170WSAT Provider tab, 1283

bindex.indd 1354bindex.indd 1354 4/9/2013 3:39:19 PM4/9/2013 3:39:19 PM

Page 23: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1355

GUID – HTML

GUID. See globally unique identifi erGuthrie, Scott, 1189

H/h, XCopy, 1167HACK, 1077–1078HandleCss, 933HandleCssClass, 934, 937HandleImageUrl, 937Handler, 1197handlers, 1105–1119. See also specifi c handlers

async, 1128–1129echo, 992–994ELMAH, 1265

libraries, 10library, 7NuGet packages, 1314–1317

event handlerscontent pages, 600jQuery, 968–970Page_Load, 601Page_LoadComplete, 605

Generic Handler, 1113–1117HTTP requests, 1105–1107HttpHandler, 1112–1119

<handlers>, 1118handshake, HTML5 WebSockets, 987–990Hansson, David Heinemeier, 1189HashPasswordForStoringInConfigFile, 776Hashtable, 1035HEAD, 765<head>, 26, 218header, 19<Header>, 946<header>, 36HeaderCssClass, 946headers

HTTP, 502cache, 831cookies, 682HTML5 WebSockets, 986–987, 990

SOAPmyHeader, 474String, 473Web Service, 472–478WebMethods, 474

Wizard server control, 188–189Headers Collection, 1081HeaderSelectedCssClass, 946HeaderTemplate, 321

<HeaderTemplate>, 954HeaderText, 954Height, 110Helicon, 1265–1266helpers, 1229–1235

methods, HTML, 1213–1214HelpPageIconUrl, 721HelpPageText, 721HelpPageUrl, 721hidden fi elds, 530HiddenField server control, 171–172, 816–820hierarchical indentation, 50HistoryEventArgs, 890Home, 649Home tab, WSAT, 1271HomeController, 1193

Foo, 1196Handler, 1197Index, 1209View, 1194

Horizontal

RepeatDirection, 146ScrollBars, 163TabContainer server control, 954

HorizontalAlign, 164HorizontalOffset, 901HorizontalSide, 901HostFileChangeMonitor, 841hot keys, 125HotSpotMode, 197HoverMenuExtender, 923–925href, 966HTML

ControlToValidate, 207Default.aspx, 1249elements, HTML server controls, 104Firebug, 1257helper methods, MVC, 1213–1214ListView, 337master pages, 596MVC, 1188, 1189Razor, 1216–1221RequiredFieldValidator, 206server controls, 111–115, 231

HTML elements, 104server-side declarations, 1197session state, 792styles, server controls, 251–253tags

attributes, 249–250include, 593server controls, 247–250

bindex.indd 1355bindex.indd 1355 4/9/2013 3:39:19 PM4/9/2013 3:39:19 PM

Page 24: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1356

HTML – Hypertext Transfer Protocol (HTTP)

ViewData, 1197Visibone, 1262Web Forms, 200, 1190web server controls, 124

html(), 964HTML5, 5, 17–52

APIs, 23–24attributes, 3–6controls, styling, 48–50CSS3

compatibility, 45pseudo classes, 31

elements, 3–6, 31markup, 22–23overview, 18–24pages, 1243–1244values, 3–6Visual Studio, 46–52

improvements, 50–51WebSockets, 988

benefi ts, 995–996client-side code, 994–995data transfer, 990–991echo handler, 992–994handshake, 987–990JavaScript, 994–995real-time communication, 986–996SignalR, 996–1000

HtmlContainerControl, 113HtmlControl, 112HTMLDog, 1261–1262HtmlGenericControl, 114–115HtmlHelper, 1213–1214HtmlInputFile, 207HtmlInputPassword, 207HtmlInputText, 207HtmlSelect, 207HtmlTextArea, 207HtmlTextWriter, 247–249, 253HtmlTextWriterTag, 248HTTP. See Hypertext Transfer ProtocolHttpApplication, 794, 1108

cache, 812HttpCachePolicy, 830–832HttpContext, 795, 820–821HttpFileCollection, 177–180HttpHandler, 257, 578, 1112–1119

class, 1118IIS, 1118–1119images, 1116–1117

MVC, 1196, 1204ProcessRequest, 1201

<httpHandlers>, 1055, 1119HttpHandlersSection, 1055HttpModule, 1108–1113

App_Code, 1112Init, 1108MVC, 1196URLAuthorizationModule, 1044web.config, 1112–1113

<httpModules>, 1033, 1055HttpModulesSection, 1055HttpRequest, 802, 1100HttpResponse, 811, 1100, 1111HttpRuntime, 795<httpRuntime>, 176–177, 1049, 1055HttpRuntimeSection, 1055HttpSessionState, 794, 795HTTP.sys, 1126, 1132HttpTaskAsyncHandler, 1128–1129HyperLink, 134, 168HyperLinkField, 321, 322hyperlinks, 133Hypertext Transfer Protocol (HTTP)

Ajax, 859cookies, authentication, 704DataSet, 456GET

Ajax, 970, 972–974cookies, 814HTML5 WebSockets, 987jQuery, 970, 972–974JSON, 973–974session state, 792, 798

headers, 502cache, 831cookies, 682HTML5 WebSockets, 986–987, 990

HTML5 WebSockets, 995–996IIS, 761Keep-Alive fl ag, 984module confi guration, machine.config, 1033POST

Ajax, 970, 974–975, 977–978cookies, 814jQuery, 970, 974–975session state, 792

real-time communication, 984requests, 1105–1119

IIS, 1105–1106ScriptResource.axd, 872sniffers, 811

HTML (continued)

bindex.indd 1356bindex.indd 1356 4/9/2013 3:39:19 PM4/9/2013 3:39:19 PM

Page 25: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1357

/I, XCopy – inline box

stateless protocol, 4, 263, 529, 791status codes, 1100–1101streaming, asynchronous code, 1122Windows Authentication, 765

I/I, XCopy, 1167ICollection, 794, 795IComparer<>, 381IController, 1199, 1203–1204ID, 251

asynchronous postbacks, 878ContentPlaceHolder, 613CustomerID, 305HoverMenuExtender, 924HtmlControl, 112MENU, 648server controls, 250–251Span, 244

id, 336ID selectors

CSS, 963CSS3, 29–30, 47, 48

IDEcontent pages, 594Visual Studio, 1241, 1245WebMatrix, 745

<identity>, 782–783IDictionary<string, object>, 1214, 1300idleTimeout, 1052IDs, 115IE10 Developer Tools, 1259–1260IEnumerable, 372, 380, 382IETF. See Internet Engineering Task ForceIf, 638iframe, 20, 984–985IgnoreFileBuildProvider, 88IHttpHandler, 802, 820, 1115, 1201IHttpModule, 820, 1108, 1110IIOP. See Inter-ORB ProtocolIIS. See Internet Information ServicesIisTraceWebEvent, 554Image, 149–150, 189ImageButton server control, 134, 202ImageClickEventArgs, 134ImageDescriptionLabelID, 938ImageField, 321ImageHeight, 942ImageMap server control, 196–198images

error notifi cations, 225–227HttpHandler, 1116–1117Menu, 651–652ResizableControlExtender, 933String, 652

ImageTitleLabelID, 938ImageUrl, 134, 149–150, 160ImageWidth, 942<img>, 113, 150ImgHandler, 1119Immediate window, 1077Impersonate, 1052impersonate, 782–783impersonation, 782–784Implements, 62@Implements, 69implicit types, 1295–1296Import, 62import, 26@Import, 67–69, 94!Important, 41Imports, 1251Impressions, 160InActive, 197, 812InactiveVendor, 428–430INamingContainer, 251include, 593include fi les, 1048–1049IncludeSetACLProviderOnDestination, 1180Index, 1209Infinite, 313Inherit, 116, 117

ClientID, 250@Page, 617ViewStateMode, 617

inheritanceConfigurationSection, 1067CSS3, 34–35EDM, 427–430OutputCacheProvider, 826SessionStateStoreProviderBase, 1037–1038Web API, 520WebControl, 251

Inherits, 61, 65, 66Init, 72, 233, 1108InitComplete, 72Initialize(), 573–575, 776, 811InitializeData, 1086InitializeRequest, 811InitializeService(), 500InitialValue, 208inline box, CSS3, 36

bindex.indd 1357bindex.indd 1357 4/9/2013 3:39:19 PM4/9/2013 3:39:19 PM

Page 26: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1358

inline coding – Internet Information Services Manager

inline coding, 57–59inline styles, CSS3, 27, 28, 48inline syntax, 347–349InnerHtml, 113InnerText, 113in-place precompilation, 84in-place upgrade, .NET Framework, 1240InProc, 530

HttpApplication cache, 812HttpRuntime, 795In-Process Session State Store, 796SessionState, 546System.Web.SessionState

.OutOfProcSessionStateStore, 547In-Process Session State Store

InProc, 796session state, 795–802

speed of, 812web gardening, 796

InProcSessionStateStore, 547input, 20<input>, 247, 249<input type="hidden">, 171Insert, 339, 1071InsertAfter, 1071InsertAllOnSubmit, 401–402Insert.aspx, 445InsertBefore, 1071InsertCommand, 333–334InsertItemTemplate, 321, 336, 339InsertMethod, 359–360InsertOnSubmit, 401–402Install-Package, 1319install-packagejQuery, 205InstallSqlState.sql, 1036Integer, 211Integrated Windows Authentication, 766IntelliSense

AnimationExtender, 903COM, 1252CSS3, 25, 50Initialize(), 574jQuery, 960–961, 1260Profile, 675–676server controls, 106ViewData.Model, 1213Visual Studio, 25, 470WebMethods, 470

IntelliTrace, 1096Interface, 69interfaces. See also user interface

WCF Data Service, 484–487

queries, 502–512internal style sheets, 26Internet Engineering Task Force (IETF), 748Internet Explorer

ActiveX, 855CSS3, 41culture, 1141HTTP GET, 972IE10 Developer Tools, 1259–1260jQuery, 958server controls, 104XMLHttpRequest, 855

Internet Information Services (IIS)ASPStateTempSessions, 810asynchronous code, 1132authentication, 760–761confi guration, 1284–1293fi le extensions, 784–786HTML5 WebSockets, 991HTTP, 761

requests, 1105–1106HttpHandler, 1118–1119MMC, 787NuGet packages, 1327–1328providers, 530runtime, 1245security, 784–787Session, 794session state, 792System.Web.SessionStatye

.InProcSessionStateStore, 547URLRewrite, 1265–1266using, 55–56Visual Studio, 53, 55–56

Copy Web Site, 1169web.config, 760Windows Authentication, 766–767, 1041WSAT, 1270

Internet Information Services ExpressVisual Studio, 54–55, 486WCF Data Service, 486

Internet Information Services Manager, 786, 1241Application Settings, 1290Connection Strings, 1290–1291editing confi guration fi les, 1062.NET Compilation, 1285–1286.NET Globalization, 1286–1287.NET Profi le, 1287.NET Roles, 1287–1288.NET Trust Levels, 1288.NET Users, 1289–1290Pages and Controls, 1291–1292

bindex.indd 1358bindex.indd 1358 4/9/2013 3:39:20 PM4/9/2013 3:39:20 PM

Page 27: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1359

Internet Relay Chat (IRC) – jQuery UI

Providers, 1292Session State, 1292–1293SMTP, 1293

Internet Relay Chat (IRC), 983Interop. See COM InteroperabilityInter-ORB Protocol (IIOP), 456InvalidChars, 923InvalidOperationException, 309invariant culture, 1137I/O, 1121IPagableItemContainer, 339IPostBackDataHandler, 270IQueryable, 382, 436IQueryable<T>, 357IRC. See Internet Relay ChatIReadOnlySessionState, 802IRequireSessionState, 802IRouteHandler, 1201IsAnonymous, 685, 700ISAPI_Rewrite, 1265–1266IsAuthenticated, 778IsCrossPagePostback, 77–78ISessionIDManager, 810ISessionStateItemCollection, 795IsLockedOut, 723, 725IsMobileDevice, 1007IsPostBack, 73IsReusable, 1115IsSelectable, 159IsStartupScriptRegistered, 254IsSuccessful, 756IsUserInRole, 542, 747IsUserInRole(), 743IsValidEmpty, 928Item, 362itemContainer, 336–337ItemContainerID, 336ITemplate, 278, 286Items, 820ItemSeparatorTemplate, 336ItemTemplate, 321–322, 335, 336<ItemTemplate>, 923–924ItemType, 356, 362

JJava Server Pages (JSP), 861JavaScript

Ajax, 858alert(), 5APIs, 23

bundling, 1072–1074Button, 131–133client-side callbacks, 260–261client-side debugging, 1097–1098client-side scripts, 256client-side validation, 200, 201, 207CSS3, 41CustomValidator, 217event listeners, 991Firebug, 1257–1258HTML5 WebSockets, 994–995IE10 Developer Tools, 1259minifi cation, 1072–1074minimizer, 1263–1264Page Inspector, 1103pages, 117–122Same Origin Policy, 973server controls, 117–122, 240SignalR, 998–999validation server controls, 201Visibone, 1262XMLHttpRequest, 855, 859

JavaScript Object Notation (JSON)Ajax, 859HTTP GET, 973–974library, 7ScriptManager, 871

JIT. See Just-In-Timejoins

LINQ, 386–387LINQ to XML, 392–393

jQuery, 957–981, 1260Ajax, 970–978browsers, 958, 963CDN, 961CSS selectors, 962CSS3, 958DOM, 962elements, 964–967

selectors, 962–964event handlers, 968–970HTTP

GET, 970, 972–974POST, 970, 974–975

IntelliSense, 960–961library, 9NuGet, 959–960, 1320<script>, 959, 961size(), 963unobtrusive validation, 203, 205

jQuery Mobile, 1018–1022jQuery UI, 978–981, 1260

bindex.indd 1359bindex.indd 1359 4/9/2013 3:39:20 PM4/9/2013 3:39:20 PM

Page 28: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1360

.js – <link>

.js, 1244JSON. See JavaScript Object NotationJsonObject, 1300, 1302JSP. See Java Server PagesJust My Code, 1095Justify, 164Just-In-Time (JIT), 1090, 1091–1092

K/k, XCopy, 1167Keep-Alive fl ag, 984Key, 452, 929key, 1053keyContainerName, 556keyEntropy, 556Keyword, 160Knockout, 9, 13, 1103Kothari, Nikhil, 1302

L/l, XCopy, 1166Label server control

Ajax, 887CollapsiblePanelExtender, 909DragPanelExtender, 913–914HoverMenuExtender, 924LimitedSqlRoleProvider, 585Page_Load, 603RangeValidator, 214–216SliderExtender, 937UpdatePanel, 876web server controls, 124–126

Language, 63, 65, 66, 458Language Integrated Query (LINQ). See also LINQ

to Entities; LINQ to Objects; LINQ to SQL; LINQ to XML

deferred execution, 382–383DeleteOnAllSubmit, 404–405DeleteOnSubmit, 404–405deleting data, 404–405fi ltering, 383–384group, 384–385grouping data, 384–385IEnumerable, 372, 380, 382joins, 386–387operators, 385–386order, 379–380OrderBy, 380–382

OrderByDescending, 380–382paging, 387–388Parallel, 1131projections, 377queries, 371–409Select, 380select, 377Single, 403SubmitChanges, 401, 403–404updating data, 403–404where, 384

Layout, 1210_layout.cshtml, 1227layout.css, 18Layouts

MVC, 1209–1212Razor, 1209–1211, 1227–1229

LayoutTemplate, 335, 336_layout.vbhtml, 1227LCID, 63Le, 512Leaf, 636, 638leaf node, 633LeafNodeStyle-ImageUrl, 639Left, 144, 153, 164left, 39LeftToRight, 164Legacy, 1243Length, 937LessThan, 212LessThanEqual, 212<li>, 975libraries, 7, 9

BCL, 1075System.Diagnostics.Trace, 1078

Client Script Library, 861ELMAH, 10NuGet, 15Task Parallel Library, 1131Type Library Importer, 1248, 1251

Limit, 945limited object serialization (LOS), 817LimitedSqlRoleProvider, 581–588

defaultProvider, 585enabled, 585web.config, 584

LimitedSqlRoleprovider, 581Line Image Generator, 641LinePragmas, 63, 65, 66Link, 189<link>, 25

bindex.indd 1360bindex.indd 1360 4/9/2013 3:39:20 PM4/9/2013 3:39:20 PM

Page 29: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1361

LinkButton – LowercaseLetters

external style sheets, 35<style>, 35Visual Studio, 47WCB Web Service, 507, 510

LinkButton, 133, 168, 202, 916LinkShare, 1233LINQ. See Language Integrated QueryLINQ to Entities, 405–409

queries, 407–409LINQ to Objects, 372–388LINQ to SQL, 393–405

Default Methods, 402–403design surface, 399InsertAllOnSubmit, 401–402InsertOnSubmit, 401–402queries, 395–399SQL views, 399stored procedures, 400–403

LINQ to XML, 388–393joins, 392–393

LinqDataSource, 301, 307List, 224list controls, 105list items, 975List.aspx, 445, 1197ListBox, 139–142, 207, 925–926ListDetails.aspx, 445ListItem, 140–141, 148–149ListSearchExtender, 925–926ListView

ConfigureListView, 335data binding, 338–339data-bound controls, 334–340DataPager, 339–340group containers, 337HoverMenuExtender, 923–924HTML, 337itemContainer, 336–337<ItemTemplate>, 923–924paging, 339–340templates, 335–336

Literal server control, 126–127Load, 72

user controls, 233ViewState, 264XElement, 391

LoadComplete, 72LoadControl, 235, 237, 238LoadControl(), 236LoadPostData, 272LoadViewState, 266

local resourcesneutral culture, 1158resource fi les, 1152–1158Visual Studio, 1154–1156

LocalDB, 708localhost, 754, 808Localizable, 245localization, 1135

.resx, 660, 661–662sitemap, 660–663web.config, 661Web.sitemap, 660–661

LocalResources.aspx, 1158LocalResources.aspx.resx, 1156LocalResourcesCustom.aspx, 1158LocalSqlServer, 537, 538–539, 691localtest.me, 754Location, 71location, 1071<location>, 1045

AdminPage.aspx, 777allowDefinition, 1046allowOverride, 1046web.config, 602, 737, 777

Locator, 1179Locator web.config, 1179lock, 578Log, 1077>Log filename /overwrite /on|off, 1077<LoggedInTemplate>, 732–733logical layer, EF, 412–413Login, 719–722, 726, 774–775login, XmlMembershipProvider, 579–580Login.aspx, 755login.aspx, 769–770, 772LoginName server control, 726–727LoginStatus server control, 725–726loginUrl, 704, 768LoginView server control, 732–734logLevel, 1052LogOut, 726LogRequest, 1109Long, 1252long polling

Ajax, Comet, 985asynchronous code, 1122

longdesc, 150Loop, 939LOS. See limited object serializationLowerAlpha, 166LowercaseLetters, 923

bindex.indd 1361bindex.indd 1361 4/9/2013 3:39:20 PM4/9/2013 3:39:20 PM

Page 30: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1362

LowerRoman – MaxConcurrentRequestsPerCPU

LowerRoman, 166Lt, 511

M-m, compilation, 86/m, XCopy, 1167machine, 782machine.config

Ajax, 863–864build providers, 91cache, 833<compilation>, 1038<configSections>, 863–864confi guration, 1028–1032, 1054DbProviderFactory, 302HTTP module confi guration, 1033<membership>, 718, 728membership providers, 717–718OpenMachineConfiguration, 1058–1059<outputCache>, 826<profile>, 691providers, 560<roleManager>, 734–735runtime, 1031session state, 530SQL Server, 536, 693SqlMembershipProvider, 571SqlRoleProvider, 541web.config, 760, 1033WSAT, 1269

<machineKey>, 1055, 1242MachineKeySection, 1055<MailDefinition>, 730<mailSettings>, 730MaintainScrollPositionOnPostback, 63maintainScrollPositionOnPostback, 1047Manage Access Rules, WSAT Security tab,

1278–1279Manage Styles tool window, CSS3, 47Manage Users, WSAT Security tab, 1278Management Objects, 1054many-to-many relationship, 425–427many-to-one relationship, 425–427mapping layer, EF, 412–413Mapping Specifi cation Language (MSL), 414Maps, 1233Mariani, Rico, 1076MaskedEditExtender, 926–928MaskedEditValidator, 926–928

masking, 991MaskType, 926–928Master, 62, 602, 607.master, 58, 60, 593, 595@Master, 64–65master pages, 591–620

Ajax, 618–619<asp:ContentPlaceHolder>, 599.aspx, 596basics, 593–594cache, 617–618code-behind model, 60coding, 594–596containers, 615–616content page coding, 597–609ContentPlaceHolder, 609controls, 603–609custom properties, 605–607default content, 609–610events, 616–617FindControl(), 604, 607GUID, 603–604HTML, 596.master, 58mobile devices, 1007–1009need for, 592–593nesting, 611–615OutputCache, 617Page_Load, 596, 617Page_LoadComplete, 617PreInit, 611programmatically assigning, 611properties, 603–609ScriptManager, 619ScriptManagerProxy, 619server controls, 596ViewStateMode, 617Visual Studio, 596web.config, 601–602WYSIWYG, 591, 610

MasterPageBuildProvider, 88MasterPageFile, 63, 65, 601masterPageFile, 1047MasterType, 62, 607@MasterType, 70–71Match, 1071max, 20maxAppDomains, 1053maxBatchGeneratedFileSize, 1039maxBatchSize, 1039MaxConcurrentRequestsPerCPU, 1133

bindex.indd 1362bindex.indd 1362 4/9/2013 3:39:20 PM4/9/2013 3:39:20 PM

Page 31: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1363

Maximum – migrating older projects

Maximum, 930, 937MaximumValue, 212–213, 215maxInvalidPasswordAttempts, 723maxIoThreads, 1053maxPageStateFieldLength, 1047maxRequestLength, 177, 1050maxWorkerThreads, 1053MD5, 771media queries, CSS

mobile devices, 1005–1006MVC mobile applications, 1012, 1014

Membership, 714, 722, 727–728<membership>, 718, 728, 1055membership and role management service, 701–758

adding users, 705–718authentication, 702–732

ChangePassword server control, 728–729credentials, 718–725Login server control, 719–722LoginName server control, 726–727LoginStatus server control, 725–726PasswordRecovery server control, 729–731passwords, 722–725, 728–732personalization properties, 710–713showing number of users online, 727–728

authorization, 702, 732–745adding application roles, 737–739adding users to roles, 739–740cache, 744–745checking users in roles, 743cookies, 744–745DeleteRole(), 739deleting roles, 739getting all roles of particular user, 741–742getting all users of particular role, 740–741LoginView server control, 732–734removing users from roles, 743web.config, 736–737

CreateUserWizard, 706–707OAuth, 752–758OpenID, 748–752setting up website, 734–737SimpleMembership API, 745SimpleRoles API, 745WSAT, 737, 746

Membership API, 746–747membership providers, 537–540, 703

machine.config, 717–718SQL Server Express Edition, 537–541validation, 575–577web.config, 709

MembershipCreateUserException, 715–717MembershipProvider, 537

appSettings, 1034methods, 571–579properties, 571–579ProviderBase, 565–566XmlMembershipProvider, 566–567, 572–573

MembershipSection, 1055MembershipUser, 579, 725memoryLimit, 1052MemoryStream, 181MENU, 648Menu

data-bound controls, 344DataSourceID, 648dynamic style elements, 650events, 652Home, 649images, 651–652Orientation, 650–651pop-out style, 651sitemaps, 647–654static style elements, 649styles, 648–652Visual Studio, 648XML, 652–654

MenuEventArgs, 653MenuItemClick, 652merged styles, CSS3, 32–34Message, 277, 1195MessageName, 462, 470MessageTemplate, 277, 278<meta>, 831metadata, NuGet packages, 1330–1331MetaDescription, 63MetaKeywords, 64meta:resourcekey, 1156MethodExpression, 309methodName, 827methods

helpers, HTML, 1213–1214Membership API, 746–747MembershipProvider, 571–579MVC, 1189ProfileManager, 695–696Roles API, 747

Microsoft Ajax Minifi er, 1263–1264Microsoft Public License (MS-PL), 5Microsoft.AspNet.Membership.OpenAuth, 754MigrateAnonymous, 685–686migrating older projects, 1239–1246

bindex.indd 1363bindex.indd 1363 4/9/2013 3:39:20 PM4/9/2013 3:39:20 PM

Page 32: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1364

Migrations – mod_rewrite

Migrations, 440min, 20minFreeThreads, 1050minifi cation, 1072–1074minimizer, JavaScript, 1263–1264Minimum, 930, 937MinimumValue, 212–213, 215minIoThreads, 1053minLocalRequestFreeThreads, 1050minRequiredNonalphanumericCharacters, 562,

563–564, 709minRequiredPasswordLength, 562, 563–564, 709MMC

App_Data, 82application profi les, 695IIS, 787Out-of-Process session state, 802

mobile applicationsMVC, 1011–1022

creating views, 1014–1015CSS media queries, 1012, 1014display modes, 1016–1018jQuery Mobile, 1018–1022project templates, 1022viewport metatags, 1013–1014ViewSwitcher, 1018–1022Visual Studio, 1012

testing, 1022–1023mobile browsers, 1007mobile devices, 1001–1023

adaptive design, 1002–1006applications, 1007–1011challenges, 1002CSS media queries, 1005–1006Default.aspx, 1009master pages, 1007–1009responsive design, 1002–1006viewports, 1003–1005Web Forms, 1009–1010

FriendlyUrls, 1011MobileDeviceManufacturer, 1007MobileDeviceModel, 1007MobileSite.Master, 1007–1008Mod, 512ModalPopupExtender, 911–913Mode, 126–127mode, 1035, 1040, 1244@Model, 1212Model, in MVC, 1188model binding, 355–369

customized, 365–367

Dynamic Data, 449–453extending, 363–369fi ltering, 357–358InsertMethod, 359–360ModelDataSource, 367–369paging, 357PrimaryKey, 360QueryString, 357–358selecting data, 356separating business logic, 362sorting, 357strongly typed controls, 362–364updating data, 360–362ValidationSummary, 361–362ValueProvider, 358–359

customization, 363–365Model First, EF, 413–414ModelDataSource, 367–369ModelDataSourceView, 367ModelState, 361, 1214Model-View-Controller (MVC), 4–5, 1187–1214

Application_Start, 1198Controller, 1199Controllers, 1188, 1203–1207Convention over Confi guration, 1192–1195debugging, 1193HTML helper methods, 1213–1214HttpHandler, 1196, 1204HttpModule, 1196jQuery, 1260Layouts, 1209–1212methods, 1189mobile applications, 1011–1022

creating views, 1014–1015CSS media queries, 1012, 1014display modes, 1016–1018jQuery Mobile, 1018–1022project templates, 1022viewport metatags, 1013–1014ViewSwitcher, 1018–1022Visual Studio, 1012

Razor, 1208routes, 1197–1203UI, 1207URLs, 1197–1203View, 1188Views, 1207–1214Visual Studio, 1190Web Forms, 1188, 1189–1190, 1208web.config, 1192

mod_rewrite, 1265

bindex.indd 1364bindex.indd 1364 4/9/2013 3:39:20 PM4/9/2013 3:39:20 PM

Page 33: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1365

modules – NodeTemplate

modules, 1105–1119async, 1129–1130borders, CSS3, 42–43confi guration, HTTP, machine.config, 1033ELMAH, 1265

libraries, 10library, 7NuGet packages, 1314–1317

HTTP requests, 1105–1107HttpModule, 1108–1113web.config, 1111–1112

month, 20-moz-, 42, 50MSL. See Mapping Specifi cation LanguageMS-PL. See Microsoft Public LicenseMul, 512MultiHandleSliderExtender, 936–937Multiple, 139multiple, 20Multiply(), 97–98MultiView server control, 181–185MutuallyExclusiveCheckBoxExtender, 928–929MuyltiRegionControlDesigner, 286MVC. See Model-View-ControllerMvcHandler, 1196MvcRouteHandler, 1201MyCustomDataContractService, 494–495MyCustomExpression, 350myHeader, 474myIndexPoint, 889

N/n, XCopy, 1167Name, 70

AspNetSqlRoleProvider, 565Message, 277resource fi les, 1154User.Identity, 778WCF Data Service, 510WebService, 461

name

<forms>, 704, 768Forms Authentication, 1042

NameComponent.DLL, 1249–1251Namespace, 69namespaces, 1048<namespaces>, 68namespaces, WCF Data Service, 495NameValueCollection, 272, 565, 889

NameValueFileSectionHandler, 1063, 1064NancyFx, 3native type user controls, 236–237nav, 19<nav>, 36Navigate, 197Navigate(), 889NavigateUrl, 134, 160navigation system, Wizard server control, 189–190NE, 511nesting

master pages, 611–615sitemap, 668–669

.NET Compilation, 1285–1286

.NET Framework, 4APM, 1123applications, COM components, 1255–1256asynchronous code, 1121, 1122CLR, 1165culture, 1139EAP, 1123Forms Authentication, 1241–1242implicit types, 1295–1296in-place upgrade, 1240Interop, 1247–1248Just My Code, 1095multiple versions, 1240MVC, 1188parallelism, 1131<processModel>, 1053TAP, 1124

.NET Globalization, 1286–1287

.NET Profi le, 1287

.NET Refl ector, 1266

.NET Roles, 1287–1288

.NET Trust Levels, 1288

.NET Users, 1289–1290Netscape Navigator, 104neutral culture, 1136, 1158NewPasswordRegularExpression, 729NextButtonClick, 190, 195NextPrevious, 319NextPreviousFirstLast, 319NextPreviousPagerField, 339NextStepButtonType, 189NextStepIndex, 195NextView, 183Nielsen, Jakob, 1197NoBot server control, 950–952NodeStyle, 629NodeTemplate, 629

bindex.indd 1365bindex.indd 1365 4/9/2013 3:39:20 PM4/9/2013 3:39:20 PM

Page 34: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1366

NoExpandImageUrl – OnClientResizing

NoExpandImageUrl, 639None

<authentication>, 761Forms Authentication, 1042MaskType, 926–928ScrollBars, 163ShowCheckBoxes, 636TabContainer server control, 954unobtrusive validation, 204

normal positioning, CSS3 elements, 38–39Northwind, 302NoStore, 71Not, 512NotEqual, 212notificationCreated, 844NotifyDependencyChanged, 835NotifyParentProperty, 245NotSet, 153, 164, 166NotSupportedException, 313, 572NT Challenge/Response (NTLM), 766NTLM. See NT Challenge/ResponseNuGet, 10–11

FriendlyUrls, 1011gallery, 7, 15jQuery, 959–960jQuery UI, 978libraries, 9, 15packages

adding fi les, 1330assemblies, 1322–1324creating, 1321–1325deployment, 1331ELMAH, 1314–1317fi le share, 1326–1327hosting, 1326–1328IIS, 1327–1328installing, 1314–1316metadata, 1330–1331Package Manager Console, 1318–1321PowerShell, 1329projects, 1324–1325publishing, 1325–1326uninstalling, 1316–1317window, 1311–1314

Visual Studio, 10extensibility, 1309–1331

NuGet Gallery, 1326–1328NullDisplayText, 317NullReferenceException, 277Number, 926–928number, 21

Numbered, 166numbers, 1144–1148Numbers, 923Numerator, 1252Numeric, 319NumericFirstlast, 319NumericUpDownExtender, 929–930numRecompilesBeforeAppRestart, 1039

O/o, XCopy, 1167OAEP. See Optional Asymmetric Encryption and

PaddingOAuth

Global.asax, 754localhost, 754membership and role management service,

752–758OAuthWebSecurity, 1230–1231Package Manager Console, 754

OAuthWebSecurity, 1230–1231Object Relational mappers (O/R), 311, 394ObjectDataSource, 4, 301, 311–313OffsetX, 925OffsetY, 925OfType, 430OfTypeExpression, 309OkControlID, 912, 913ol, 20<ol>, 165on(), 969OnActivate, 193OnBlur, 256OnCallingDataMethods, 362OnCancelScript, 912OnCheckChanged, 142, 147OnClick, 108

AnimationExtender, 902–903AutoPostBack, 128BulletedList server control, 169CommandName, 131designer regions, 292

onclick, 919<OnClick>, 903OnClientActiveTabChanged, 954OnClientClick, 132, 912, 919, 954OnClientResize, 933OnClientResizeBegin, 933OnClientResizing, 933

bindex.indd 1366bindex.indd 1366 4/9/2013 3:39:20 PM4/9/2013 3:39:20 PM

Page 35: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1367

onClose – @Page

onClose, 991OnCreatingModelDataSource, 368one(), 970One ASP.NET, 3–16One-Click Publishing, 1172one-to-many relationship, 422–425one-to-one relationship, 422–425OnGenerateChallengeAndResonse, 951OnHoverOut, 902–903OnHoverOver, 902–903OnInit, 265online resources, 1305–1306OnLoad, 902–903OnMenuItemClick, 653onmessage, 991OnMouseOut, AnimationExtender, 902–903OnMouseOver, 902–903OnOkScript, 912Onopen, 991OnPreRender, 254, 257OnSelectedIndexChanged, 137OnSelectionChange, 154OnServerValidate, 221OnSubmit, 257OnTextChanged, 128OnUpdated, 942OOB. See Out of bandOpacity, 916, 918opcode, 990–991open development, 5OpenAuth.RequestAuthentication(), 755OpenID

membership and role management service, 748–752

OAuthWebSecurity, 1230–1231OpenMachineConfiguration, 1058–1059<OperationContract>, 484Operator, 212operators

LINQ, 385–386WCF Data Service, 511–512

Optimistic Concurrency, 304optimizeCompilations, 1039Optional Asymmetric Encryption and Padding

(OAEP), 557Option_Click(), 916Or, 512O/R. See Object Relational mappersOrder, 412order, 379–380ORDER BY, 304

OrderBy, 380–382orderby, 510OrderByDescending, 380–382OrderByExpression, 309Orientation, 650–651, 937Origin, 988Osborn, Matthew M., 745Out of band (OOB), 5Out-of-Process Session State Store, 795, 802–807, 812OutOfProcessStateStore, 547output, 247output caching, 824–827, 1050OutputCache, 62, 617, 825, 849<outputCache>, 826–827@OutputCache, 71OutputCacheModel, 824OutputCacheProvider, 826OutputDebugString, 1082overloading, 468–471OverwriteChanges, 306

P<p>, 36, 963-p, compilation, 86/p, XCopy, 1166Package Manager Console

NuGet packages, 1318–1321OAuth, 754

package sources, 1312Package/Publish Web, 1180Page, 62, 807

.aspx, 61CodeBehind, 61HtmlControl, 112HttpSessionState, 794IsPostBack, 73MasterPageFile, 601Session, 795user controls, 235–236

@Page

culture, 1140–1141, 1142Culture, 1156EnableSessionState, 801Inherit, 617page directives, 62–64Page.MasterFile, 611Title, 602Trace, 116UICulture, 1156

bindex.indd 1367bindex.indd 1367 4/9/2013 3:39:20 PM4/9/2013 3:39:20 PM

Page 36: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1368

page directives – passwordAttemptWindow

page directives, 61–71@Assembly, 70@Control, 66–67@Implements, 69@Import, 67–69@Master, 64–65@MasterType, 70–71@OutputCache, 71@Page, 62–64@PreviousPageType, 70@Reference, 71@Register, 69–70

Page Inspector, 51, 1101–1104PageAsyncTask, 1128pageBaseType, 1047PageBuildProvider, 88Page.ClientScript, 118, 253Page.ClientScript.GetCallbackEventReference,

258Page.ClientScript.RegisterClientScriptBlock,

119–120Page.ClientScript

.RegisterClientScriptInclude, 122Page.ClientScript.RegisterStartupScript,

120–122PageControlID, 340Page.Error, 1098pageId, 825PageIndexChanged, 319PageIndexChanging, 319Page.IsValid, 215, 221Page_Load, 72, 107

async, 1127–1128cache, 831client-side validation, 225CurrentCulture, 1138EF, 434event handlers, 601HiddenField server control, 171Label server control, 603master pages, 596, 617RangeValidator, 213session state, 798Trace.Write(), 1079–1080TreeLoad, 643user controls, 233, 239web events, 1089–1090

Page_Load(), DropDownExtender, 916Page_LoadComplete, 605, 617Page.MasterFile, 611Page_PreInit, 1008–1009

Page_PreRender, 184Page.RegisterStartupScript, 119PagerSettings, 319PagerSettings-Mode, 331PagerStyle, 319pages. See also content pages; master pages

events, 71–73history, Ajax, 885–890HTML5, 1243–1244JavaScript, 117–122life cycle

asynchronous code, 1125PreRender, 1128server controls, 245–247

postbacks, 267–268recycling, 1094

<pages>, 68, 110, 117, 1046–1048, 1055Pages and Controls, IIS Manager, 1291–1292PageSize, 319, 340PagesSection, 1055PageTemplates folder, 445Page.Trace, 1078, 1079–1080paging

GridView, 319LINQ, 387–388ListView, 339–340model binding, 357

PagingBulletedListExtender, 930–931Panel server control, 162–164, 914, 917–918,

935–936DynamicPopulateExtender, 919

Parallel LINQ, 1131parallelism, 1131–1132Parameter, 305parameters, 1202–1203, 1205–1207Parent, 112, 636parent node, 633ParentControlID, 947ParentLevelsDisplayed, 627–628ParentNode, 634ParentNodeStyle-ImageUrl, 639ParseChildren, 244ParseExpression, 351Partial, 61partial, 61partial page caching, 827–828PartialCachingControl, 237Passport, 761PassThrough, 127password, 1052passwordAttemptWindow, 723

bindex.indd 1368bindex.indd 1368 4/9/2013 3:39:20 PM4/9/2013 3:39:20 PM

Page 37: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1369

passwordFormat – PostedFile.FileName

passwordFormat, 718, 771PasswordRecovery server control, 729–731PasswordRecoveryIconUrl, 721PasswordRecoveryText, 721PasswordRecoveryUrl, 721passwords

attempt limits, 722–725CompareValidator, 209encrypted, 772–773Forms Authentication, 772–773membership and role management service

authentication, 722–725, 728–732SqlMembershipProvider, 561–564web.config, 772XML, 570

PasswordStrength server control, 952passwordStrengthRegularExpression, 563–564path, 704, 769, 1042PathDirection, 627PathSeparator, 625–627PathSeparatorStyle, 629PathSeparatorTemplate, 629pattern, 20PDB. See program debase fi le-pe, web.config, 1060permissions

FileUpload, 175–176WSAT, 1271–1279

PersistanceMode, 245, 277PersistChildren, 245personalization, 671–700

anonymous, 681–685application profi les, 695–700automaticSaveEnabled, 687–688ProfileManager, 695–700profi les, 687programmatic access, 685–690properties, 672–681

anonymous personalization, 684CreateUserWizard, 711–712default values, 680–681groups of, 676–677membership and role management service

authentication, 710–713readOnly, 681Serializable, 680Session, 675String, 675System.String, 678types, 678–680web.config, 673, 676, 710

providers, 544, 690–694multiple providers, 693–694SQL Server, 692–693SQL Server Express Edition, 544, 691universal providers, 694

Windows Authentication, 673personalization model, 672Personalization Services layer, 672PHP, 861PIA. See Primary Interop AssembliespingFrequency, 1053pingTimeout, 1053placeholder, 20PlaceHolder server control, 164–165PlayInterval, 939polling. See also long polling

real-time communication, 985pollTime, 847, 848polymorphism, 468PopDelay, 925pop-out style, 344, 651PopulateNodesFromClient, 631PopupControlExtender, 931–933PopupControlID, 912, 924position, 37POST, HTTP, 502, 765

Ajax, 970, 974–975, 977–978cookies, 814jQuery, 970, 974–975session state, 792

PostAcquireRequestState, 1109PostAuthenticateRequest, 1109PostAuthorizeRequest, 1109PostBack, 197postbacks, 73

asynchronous<ContentTemplate>, 875–876ScriptManager, 889<Triggers>, 877–878

events, 267–272HiddenField server control, 171If, 638pages, 267–268server controls, 267–272state management, 814–816user controls, 238–239

PostBackTrigger, 878PostBackUrl, 133post-cache substitution, 828–830postDataKey, 272PostedFile.FileName, 174

bindex.indd 1369bindex.indd 1369 4/9/2013 3:39:20 PM4/9/2013 3:39:20 PM

Page 38: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1370

PostLogRequest – ProviderException

PostLogRequest, 1109PostMapRequestHandler, 1109Post-Redirect-Get (PRG), 355PostReleaseRequestState, 1109PostRequestHandlerExecute, 1109PostResolveRequestCache, 1109PostUpdateRequestCache, 1109PowerShell, 1329PreApplicationStartupMethod, 205precompilation, 84–85

web applications, advanced settings, 1180precompilation for deployment, 85, 1170–1172Predictable, 116, 117

ClientID, 250prefixText, 905PreInit, 72, 611PreLoad, 72PreRender, 72, 108, 233, 260, 1128PreRenderComplete, 72PreRequestHandlerExecute, 1109PreSendRequestContent, 1109PreSendRequestHeaders, 1110PreviousButtonClick, 190PreviousPage, 76, 77PreviousPageType, 62, 77@PreviousPageType, 70PreviousStepButtonType, 189PreviousView, 184PRG. See Post-Redirect-GetPrimary Interop Assemblies (PIA), 1302–1303PrimaryKey, 360PrivacyStatement, 1159private assemblies, 1255Process Explorer, 1266–1267<processModel>, 1051–1053, 1055ProcessModelSection, 1055processor affi nity, 796ProcessRequest, 1115, 1196, 1201<ProcessTemplate>, 882ProductsController, 517–520Profile, 358, 675–676<profile>, 673, 691Profi le API, 672ProfileAuthenticationOption, 699ProfileAutoSaving, 688ProfileBase, 685, 688ProfileCommon, 685, 686, 712ProfileCommon.Initialize(), 712ProfileInfoCollection, 699ProfileManager, 695–700ProfileModule.ProfileAutoSaving, 688

<profilename>.pubxml, 1179ProfileParameter, 305Profile_Personalize, 687ProfileProvider, 544profi lers, 1260–1261profi les

applications, personalization, 695–700personalization, 687storage, 685

program debase fi le (PDB), 1090, 1091progressive enhancement, 1003<ProgressTemplate>, 881projections, LINQ, 377PrompCssClass, 926PromptPosition, 926PromptText, 926properties

CSS, jQuery elements, 965master pages, 603–609MembershipProvider, 571–579personalization, 672–681

anonymous personalization, 684CreateUserWizard, 711–712default values, 680–681groups of, 676–677membership and role management service

authentication, 710–713readOnly, 681Serializable, 680Session, 675String, 675System.String, 678types, 678–680web.config, 673, 676, 710

ProfileManager, 695Properties Explorer, 273Properties tool window, CSS3, 48Property Browser, 235, 252, 295PropertyBrowser, 281PropertyExpression, 309ProtectedConfigurationSection, 1054<protectedData>, 1054ProtectedDataSection, 1054protection, 704, 768, 1042Provider, 657, 695provider model, 529–557

attributes, 560–564extending, 559–588

Provider tab, 1283–1284ProviderBase, 564–566ProviderException, 584

bindex.indd 1370bindex.indd 1370 4/9/2013 3:39:20 PM4/9/2013 3:39:20 PM

Page 39: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1371

providers – real-time communication

providers. See also specifi c providersattributes, web.config, 562–563building your own, 566–580class, 567–570confi guration, 554–557extending preexisting, 580–588IIS, 530IIS Manager, 1292machine.config, 560membership, 537–540

validation, 575–577model binding, 365personalization, 544, 690–694

multiple providers, 693–694SQL Server, 692–693SQL Server Express Edition, 544, 691universal providers, 694

role, 540–543session state, 810–811SessionState, 546–548sitemap, 545–546, 654–657SQL Server, 532–537state, 530understanding, 530–531web events, 548–557web.config, 560, 570–571XML, 570

Providers, 657, 695<providers>, 827ProviderSpecific, 680pseudo classes, 30–31pseudo elements, 31public assemblies, 1256Public Overrides, 581publish settings fi le, 1179–1180Publish wizard, Visual Studio, 1173–1174published, web application deployment, 1171PublishProfiles, 1179PUT, 502

Q/q, XCopy, 1166queries. See also media queries

GridView, 372–376interface, WCF Data Service, 502–512LINQ, 371–409LINQ to Entities, 407–409LINQ to SQL, 395–399traditional, 372–376

QueryExtender, 309–310QueryString, 357–358, 793, 813–814, 824Querystring Collection, 1081QueryStringParameter, 305, 324querystrings, 530QuirksMode, 1261–1262

R/r, XCopy, 1167-R all, 533-R p, SQL Server, 533RadioButton server control, 146–148, 207RadioButtonList server control, 148–149Radius, 918RailCssClass, 937RaiseCallbackEvent, 258, 261RaisePostBackDataChangedEvent, 270, 272RaisePostDataChangedEvent, 272Range, 452range, 21RangeExpression, 309RangeValidator, 200–201, 212–216

Calendar server control, 214–216Label server control, 214–216MaximumValue, 212–213, 215MinimumValue, 212–213, 215Page_Load, 213Type, 213

Rastogi, Pranav, 758Rating server control, 952–953Razor, 5

displaying data, 1221–1229HTML, 1216–1221Layouts, 1209–1211, 1227–1229MVC, 1208SQL Server, 1221templates, 1227validation, 1225–1227Web Forms, 1216Web Pages, 1215–1235WebMatrix, 1221

RCW. See Runtime Callable WrapperReadOnly, 325readOnly, 681ReadUserFile(), 577–579real-time communication, 983–1000

browsers, 984Comet, 984–985HTML5 WebSockets, 986–996

bindex.indd 1371bindex.indd 1371 4/9/2013 3:39:20 PM4/9/2013 3:39:20 PM

Page 40: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1372

real-time communication – Response Cookies

HTTP, 984polling, 985SignalR, 996–1000SSE, 985–986TCP/HTTP, 988TCP/IP, 987

ReCaptcha, 1231RedirectFromLoginPage(), 722, 770, 776Refactor!, 1263Reference, 62@Reference, 71, 236RefValues, 930regenerateExpiredSessionId, 796regions. See culture@Register, 69–70, 891–892RegisterAsyncTask, 1128RegisterClientScriptBlock, 119–120, 255, 256RegisterClientScriptInclude, 122RegisterClientScriptResource, 257RegisterRoutes, 1198RegisterStartupScript, 120–122, 253, 254regsvr32, 1255regular expressions, 564RegularExpression, 452RegularExpressionValidator, 200–201, 216–217,

944relationships

EF, 422–427Code First, 437–440

WCF Data Service, 505–507relative positioning, 39release confi guration, Visual Studio, 1090, 1091ReleaseRequestState, 1110RememberMeSet, 720RememberMeText, 720Remote Debug Monitor, Visual Studio, 1092–1093Remote Method Invocation (RMI), 456remote servers, 56–57Remote Site, 1169Remove, 1071remove(), 967RemoveAll, 1071RemoveAttributes, 1071RemoveUserFromRole, 747RemoveUserFromRoles, 747RemoveUsersFromRole(), 747RemoveUsersFromRoles(), 584, 747Render, 244, 247, 249, 254RenderBeginTag, 247, 248, 249@RenderBody(), 1210, 1211

RenderContents, 243, 244, 247RenderEndTag, 248rendering, CSS, 110@RenderSection, 1211–1212RenewTicketIfOld, 776RepeatColumns, 145, 149RepeatDirection, 146, 149Repeater, 334Replace, 1071Request, 177, 683, 850–851Request Cookies, 1081Request Details, 1080Request for Comments (RFC), 1136Request.AnonymousID, 685Request.Browser, 1007RequestCompleted, 1110requestlengthDiskThreshold, 1050requestLimit, 1052requestQueueLimit, 1052requests

asynchronousAjax, 869EventName, 878

HTTP, 1105–1119RequireAuthenticatedUser(), 745Required, 452required, 20, 23RequiredFieldValidator, 200–201, 203–209, 229RequireOpenedPane, 947requiresQuestionAndAnswer, 718RequireSSL, 776requireSSL, 769, 1043requiresUniqueEmail, 718Resgen.exe. See Resource File Generatorresgen.exe, 83resizable, 934ResizableControlExtender, 933–935ResizableCssClass, 933, 934ResolveRequestCache, 1110Resource Editor, Visual Studio, 1154, 1161Resource File Generator (Resgen.exe), 1152resource fi les

global applications, 1152–1161global resources, 1159–1161local resources, 1152–1158Visual Studio, 1152XML, 1152

ResourceExpressionBuilder, 349ResourceKey, 1159Response, 196Response Cookies, 1081

real-time communication (continued)

bindex.indd 1372bindex.indd 1372 4/9/2013 3:39:20 PM4/9/2013 3:39:20 PM

Page 41: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1373

responseDeadlockInterval – Save

responseDeadlockInterval, 1052ResponseEncoding, 64ResponseMinimumDelaySeconds, 951Response.Redirect, 811responseRestartDeadlockInterval, 1052Response.Write, 1078Response.Write(), 781, 1138–1139Response.WriteSubstitution, 827responsive design, 1002–1006RESTful, 496, 505result sets, 510–511.resx, 83, 660, 661–662, 1152Retrieve.aspx, 802reuireApiKey, 1327reversed, 20, 22RFC. See Request for Commentsrich controls, 105Rich Site Summary (RSS), 835Right, 144, 153, 164right, 39RightToLeft, 164RMI. See Remote Method InvocationRoeder, Lutz, 1266role management. See membership and role

management servicerole providers, 540–543RoleExists, 747RoleGroup server control, 733–734<RoleGroups>, 733–734<roleManager>, 541, 543

attributes, 735–736machine.config, 734–735web.config, 734–735

RoleProvider, 541, 582, 584Roles, 585, 734, 738, 739roles, 666, 764, 765Roles API, 747Roles.AddUserToRole(), 586–588Roles.CreateRole(), 585–586Root, 636root node, 633RootNode, 634, 657RootNodeStyle, 629RootNodeStyle-ImageUrl, 639RootNodeTemplate, 629RootToCurrent, 627Rounded, 916, 918RoundedCornersExtender, 935–936Route, 1202RouteCollection, 1202RouteConfig, 1198

RouteData, 358, 1199, 1202RouteParameter, 305routes

Dynamic Data, 1201matching, 1202MVC, 1197–1203parameters, 1202–1203, 1205–1207

RouteTable.Routes, 1202RouteValueDictionary, 1199row data, 323–329RowDataBound, 315–316, 327–328RowDeleted, 330RowState, 328RowUpdated, 326RowUpdating, 328–329RPC on the Web, 1189RsaProtectedConfigurationProvider, 555–557RSS. See Rich Site SummaryRssCacheDependency, 835–838Ruby on Rails, 1192–1195rules

CSS3, 27–34validation, 199

<rules>, 550runtime

CLR, 1075asynchronous code, 1122DLR, 1296–1297.NET Framework, 1165syntax notifi cations, 1076System.Diagnostics.Debugger.Launch,

1091thread pools, 1126, 1132

confi guration settings, 1049–1050DLR, 1296–1299IIS, 1245machine.config, 1031web.config, 1031

Runtime Callable Wrapper (RCW), 1247–1248Russinovich, Mark, 1266

S-s, .NET Framework, 1053-S<>, SQL Server, 533/s, XCopy, 1167Safari, 42, 958Same Origin Policy, 973satellite assemblies, 1152Save, 264

bindex.indd 1373bindex.indd 1373 4/9/2013 3:39:20 PM4/9/2013 3:39:20 PM

Page 42: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1374

SaveAs(�) – server controls

SaveAs(), 174SaveViewState, 266ScaffoldColumn, 450scaffolding, 444ScaleOut Software, 811<script>, 59

CustomValidator, 218jQuery, 959, 961RegisterClientScriptResource, 257user controls, 232

script combiningAjax, 890–894ScriptManager, 891, 893–894

ScriptControl, 240ScriptManager

Ajax, 862, 866, 870, 871–873asynchronous postbacks, 889AutoCompleteExtender, 903<CompositeScript>, 893–894EnableHistory, 887EnableSecureHistoryState, 890JSON, 871master pages, 619Navigate(), 889script combining, 891, 893–894SOAP, 871

ScriptManagerProxy, 619, 870, 873–874ScriptMethod, 947ScriptReferenceProfiler, 891–892ScriptResource.axd, 872ScrollBars, 163, 954search, 20search engine optimization (SEO), 1198SearchExpression, 309section, 19<section>, 36<sectionGroup>, 1033Secure Sockets Layer (SSL), 766, 1169security, 759–787. See also authentication;

authorizationCAS, 1030IIS, 784–787impersonation, 782–784Windows Integrated Security, 810

Security Setup Wizard, 1272–1276Security tab, WSAT, 1271–1279security trimming, 663–667Sec-WebSocket-Key, 988Sec-WebSocket-Protocol, 988Sec-WebSocket-Version, 988seemless, 20

SELECT, 312Select, 338, 356, 380select, 377<select>, 113SelectCommand, 305, 333Selected, 141, 148SelectedDate, 76SelectedIndex, 945SelectedIndexChanged, 238SelectedItemTemplate, 336SelectedValue, 329SelectionMode, 139SelectMethod, 356selectors. See also specifi c types

CSS, jQuery, 962CSS3, 27–30, 47

combining, 32grouping, 31merging, 32–34

elements, jQuery, 962–964SelectParameters, 304–306, 312, 333SelectQuery, 306Send, 991SEO. See search engine optimizationSerializable, 680, 803, 807, 813serializeAs, 680server controls, 231–296. See also web server

controls; specifi c controlsAjax, 870–882AJAX Control Toolkit, 945–955asynchronous callbacks, 258–261attributes, 244–245browsers, 261–263ClientID, 250client-side callbacks, 258–261client-side scripts, 103–122, 253–257coding, 167composite controls, 273–274design surface, 105–106design-time experience, 279–296embedded resources, 257–258events, 107–108, 245HTML, 111–115

styles, 251–253tags, 247–250

ID, 250–251identifying, 115–117JavaScript, 117–122master pages, 596page life cycle, 245–247postbacks, 267–272

bindex.indd 1374bindex.indd 1374 4/9/2013 3:39:20 PM4/9/2013 3:39:20 PM

Page 43: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1375

Server Explorer – ShowCheckBoxes

projects, 240–244properties, 109–110Property Browser, 252RenderContents, 247rendering, 245–251styles, 108–110templated controls, 275–279types, 104–105UniqueID, 250validation server, 199–230

JavaScript, 201ViewState, 263–267WYSIWYG, 278

Server Explorer, 707–708server fi le confi guration, 1028–1031Server Variables, 1081serverErrorMessageFile, 1053Server.GetLastError, 1099server-sent events (SSE), 985–986server-side declarations, 1140–1141, 1197server-side validation, 200–201, 219–222service framework, WCF Data Service, 483–484<ServiceContract>, 484ServiceMethod, 919, 947service-oriented architecture (SOA), 481ServicePath, 947ServiceStack, 3Session

advanced optimizing techniques, 801–802confi guration, 1035–1038End, 794HttpContext, 795IIS, 794Page, 795personalization properties, 675providers, 530Serializable, 803SQL Server, 794Start, 794state management, 794–813state storage, 796–799StateServer, 804strongly typed controls, 804–805ToString(), 805user controls, 239ValueProvider, 358

session stateAcquireRequestState, 794choices, 794–795confi guration, 1028, 1035–1038cookieless, 811–812

cookies, 792CustomStateProvider, 1037Hashtable, 1035HTML, 792HTTP

GET, 792POST, 792

IIS, 792IIS Manager, 1292–1293In-Process Session State Store, 795–802

speed of, 812machine.config, 530management confi guration, 795Out-of-Process Session State Store, 795,

802–807speed of, 812

Page_Load, 798providers, 810–811SQL Session State Store, 795, 807–810

speed of, 812SQLServer, 1036–1038state management, 792–795state storage, 529ToString(), 798tracing, 1081transparency, 799–801web farms, 1035–1036

Session_End, 93SessionId, 810Session_OnEnd, 794Session_Start, 93, 1010SessionState, 546–548sessionState, 795<sessionState>, 530, 1028, 1035, 1037SessionStateModule, 546, 802, 810–811SessionStateStoreProviderBase, 810, 1037–1038SetAndReleaseItemExclusive, 811SetAttributes, 1071SetAuthCookie, 776SetEditableDesignerRegionContent, 292SetFocusOnError, 229–230SetItemExpireCallback, 811SetPropertyValue, 685SettingsAllowAnonymous, 688SGML. See Standard Generalized Markup LanguageSHA1, 771Shared, 71Shell, 1077>Shell args /command /output /dir:folder,

1077ShowCheckBoxes, 636

bindex.indd 1375bindex.indd 1375 4/9/2013 3:39:20 PM4/9/2013 3:39:20 PM

Page 44: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1376

ShowLines – SQL Server Express Edition

ShowLines, 641, 642ShowMessageBox, 224ShowStartingNode, 654–655ShowSummary, 224ShowTextBoxes, 638ShowToolTips, 628shutdownTimeout, 1052Sidebar, 1228SideBarButtonClick, 190SignalR, 15

JavaScript, 998–999real-time communication, 996–1000

SignOut, 776Simple Object Access Protocol (SOAP), 456–457,

459–462, 871body, 472envelope, 472headers

myHeader, 474String, 473Web Service, 472–478WebMethods, 474

SimpleMailEventprovider, 550–551SimpleMembership, 538SimpleMembership API, 745SimpleRoles API, 745Single, 139, 403Single Page Application (SPA), 8, 1103SingleParagraph, 224SingleTagSectionHandler, 1063, 1065–1066Site, 112sitemap, 621–670

localization, 660–663Menu, 647–654nesting, 668–669providers, 545–546, 654–657security trimming, 663–667TreeView, 629–647URL mapping, 659–660XML, 622–623

SiteMap, 657–659.sitemap, 545<sitemap>, 623, 660SiteMapDataSource, 301, 313, 631<siteMapNode>, 623, 660–661, 666SiteMapPath, 623–629

child elements, 628–629ParentLevelsDisplayed, 627–628PathSeparator, 625–627

SiteMapProvider, 313, 545size(), 963

SkinID, 110, 112SliderExtender, 936–937SlideShowExtender, 937–939SlideShowServiceMethod, 938SlidingExpiration, 776slidingExpiration, 704, 769, 1043SlowCheetah, 1262smart controls, 104SmartNavigation, 64smartNavigation, 1047SMTP, 729, 1281, 1293sniffers, HTTP, 811SOA. See service-oriented architectureSOAP. See Simple Object Access Protocol<soap:headers>, 473social networking helpers, 1233Solution Explorer, 497SortByCategory, 1079SortByTime, 1079SortExpression, 315, 318–319sorting

column, GridView, 318–319culture, 1148–1152model binding, 357WCF Data Service, 510

sounds, error notifi cations, 225–227SourceSwitch, 1088–1089SPA. See Single Page ApplicationSpan, 243, 244span, 207<SPAN>, 243<span>, 28, 126, 964specifi c cultures, 1136SQL Server

cache dependency, 842–854<connectionStrings>, 1037dbDacFx, 1177debugging, 1098Forms Authentication, 773–774LINQ to SQL, 393–405machine.config, 693personalization model, 672personalization providers, 692–693providers, 532–537Razor, 1221Session, 794<sessionState>, 1037Setup Wizard, 533–536WSAT, 1271

SQL Server Express EditionLocalDB, 708

bindex.indd 1376bindex.indd 1376 4/9/2013 3:39:21 PM4/9/2013 3:39:21 PM

Page 45: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1377

SQL Session State Store – Strict

localhost, 808membership providers, 537–541personalization providers, 544, 691role providers, 540–543Visual Studio, 707web event providers, 548–554WSAT, 1271

SQL Session State Store, 795, 807–810, 812SQL views, LINQ to SQL, 399SqlCacheDependency, 314, 851–854, 1034<sqlCacheDependency>, 847SqlChangeMonitor, 841sqlConnectionString, 1035SqlDataSource

Confl ict Detection, 306database errors, 306–307DataSourceMode, 304Delete, 329<DeleteParameters>, 329DetailsView, 331GridView, 324InsertCommand, 333–334ORDER BY, 304SelectParameters, 304–306SelectQuery, 306web.config, 303WHERE, 304

SqlDataSourceControl, 301–307SqlDependency, 71-sqlexportonly<>, 533SqlMembershipProvider, 560, 702

<add>, 563machine.config, 571passwords, 561–564web.config, 562–563

SqlProfileProvider, 544SqlRoleProvider, 541, 581–582SQLServer, 530, 546, 1036–1038SqlSessionStateStore, 547–548SqlWebEventProvider, 552–553Square, 166squiggles, 1075Src, 64, 65, 66, 69, 70-ssadd, 808SSDL. See Store Schema Defi nition LanguageSSE. See server-sent eventsSSL. See Secure Sockets Layer-ssremove, 808-sstype t/p/c, 808Standard Generalized Markup Language (SGML),

456

StarCssClass, 953Start, 187, 794StartFromCurrentNode, 655–656StartingNodeOffset, 656StartingNodeUrl, 656–657StartRowIndex, 340StartStepNextButtonType, 189state. See also session state

applications, 529providers, 530

state management, 791–821Application, 813ControlState, 816–820cookies, 814cross-page posting, 814–816HiddenField server control, 816–820postbacks, 814–816QueryString, 813–814Session, 794–813session state, 792–795ViewState, 816–820

state storage, 529–530, 793HttpContext, 820–821Session, 796–799

stateConnectionString, 547, 1035stateless protocol, HTTP, 4, 263, 529, 791StateServer, 530, 802, 804, 1035–1036

SessionState, 546System.Web.SessionState

.OutOfProcSessionStateStore, 547Static, 116, 117, 250static style elements, 649<StaticHoverStyle>, 649<StaticItemTemplate>, 649<StaticMenuItemStyle>, 649<StaticMenuStyle>, 649<StaticSelectedStyle>, 649StaticSiteMapProvider, 545status codes, HTTP, 1100–1101Step, 187step, 20, 23StepType, 187–188storage. See also state storage

profi les, 685Store Schema Defi nition Language (SSDL), 414stored procedures, 400–403, 430Stream, 180–181streaming

Comet, 984–985HTTP, asynchronous code, 1122

Strict, 64, 65, 66, 1244

bindex.indd 1377bindex.indd 1377 4/9/2013 3:39:21 PM4/9/2013 3:39:21 PM

Page 46: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1378

strict – System.Web.Security.WindowsTokenRoleProvider

strict, 1039String, 1252

CreateRole(), 738images, 652personalization properties, 675serializeAs, 680SOAP headers, 473SqlDataSource, 324Type, 211, 213

StringLength, 452strongly typed controls, 362–364, 412, 804–805strongly typed views, 1207, 1212–1213Style, 110, 112style, 27<style>, 26, 35style sheets, 25–27. See also Cascading Style Sheets;

CSS3XSL, 161

stylesCalendar server control, 157–160CSS, jQuery elements, 965HTML, server controls, 251–253Menu, 648–652server controls, 108–110TreeView, 632–633

StyleSheetTheme, 64styleSheetTheme, 1047Sub, 512submit(), 968SubmitChanges, 401, 403–404subPageId, 825subpages, 592Subscribers, 779Subtract, 80–81success, 975SupportsEvaluate, 352–353SyncLock, 578syntax notifi cations, 1075, 1076–1077<system>, 673System.Configuration, 1054, 1063System.Configuration.Configuration, 1054System.Configuration

.DpapiProtectedConfigurationProvider, 555–556

System.Configuration

.RsaProtectedConfigurationProvider, 555, 556–557

System.Data.Entity.DbContext, 434System.Diagnostics.Debug, 1082System.Diagnostics.Debugger.Launch, 1091System.Diagnostics.Trace, 1078, 1082,

1083–1084

System.Diagnostics.Trace.Write, 1083System.EventArgs, 134, 159System.Globalization, 1138, 1139System.IO, 69System.IO.FileNotFoundException, 1098System.Random, 1329System.Runtime.Caching, 839–841System.Runtime.InteropServices, 1248System.Runtime.Serialization, 492System.ServiceModel, 484, 489System.String, 678System.Web, 1190, 1196<system.web>, 177, 738, 1033, 1061, 1112, 1119System.Web.ApplicationServices.dll, 703System.Web.Caching, 839System.Web.Caching.Cache, 832–833System.Web.Compilation.BuildProvider, 88SystemWeb.config, 1048System.Web.Configuration, 1054System.Web.dll, 703, 1196System.Web.HttpRuntime, 1196System.Web.IHttpModule, 1108System.Web.IPostBackDataHandler, 270System.Web.Management

.EventLogWebEventProvider, 548, 549–550System.Web.Management

.IisTraceWebEventProvider, 548, 554System.Web.Management

.SimpleMailWebEventProvider, 548, 550–552System.Web.Management.SqlWebEventProvider,

548, 552–553System.Web.Management

.TemplatedMailWebEventProvider, 548, 552System.Web.Management.TraceWebEventProvider,

548, 553–554System.Web.Management.WmiWebEventProvider,

548, 554System.Web.Mvc.Controller, 1200, 1204System.Web.Mvc.IController, 1199System.Web.Mvc.Routing, 1201System.Web.Mvc.ViewPage, 1188, 1208System.Web.Security

.ActiveDirectoryMembershipProvider, 537, 539–540

System.Web.Security

.AuthorizationStoreRoleProvider, 541, 543System.Web.Security.SqlMembershipProvider,

537, 538–539System.Web.Security.SqlRoleProvider, 540,

541–542System.Web.Security.WindowsTokenRoleProvider,

540, 542–543

bindex.indd 1378bindex.indd 1378 4/9/2013 3:39:21 PM4/9/2013 3:39:21 PM

Page 47: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1379

<system.webServer> – textarea

<system.webServer>, 1112System.Web.SessionState, 802System.Web.SessionState.HttpSessionState, 794System.Web.SessionState

.InProcSessionStateStore, 546–547System.Web.SessionState

.OutOfProcSessionStateStore, 546, 548System.Web.SessionState.SqlSessionStateStore,

546, 547–548System.Web.SessionStatye

.InProcSessionStateStore, 546–547System.Web.UI, 1078System.Web.UI.ClientScriptManager, 118System.Web.UI.PageStatePersister, 264System.Web.UI.ScriptControl, 240System.Web.UIWebControls.WebControl, 240System.Web.XmlSiteMapProvider, 545

T/t, XCopy, 1167TabContainer server control, 954–955TabIndex, 110tabindex, 251Table, 152<table>, 36, 151Table per Type model (TPT), 422Table server control, 151–153TableCell, 152tableName, 844TableRow, 152TabPanel server control, 954–955tag selectors, CSS, 963TagName, 69, 112TagPrefix, 69, 244tags. See also anchor tags

HTMLattributes, 249–250include, 593server controls, 247–250

TAP. See Task-based Asynchronous Patterntarget, 20TargetControlID, 916, 917

AlwaysVisibleControlExtender, 901AnimationExtender, 903AutoCompleteExtender, 904BalloonPopupExtender, 906CalendarExtender, 907CascadingDropDown server control, 947CollapsiblePanelExtender, 908, 910

DragPanelExtender, 914HoverMenuExtender, 924ListSearchExtender, 926MaskedEditExtender, 926–928QueryExtender, 310ResizableControlExtender, 934RoundedCornersExtender, 936

[targetDir], 86Task List, Visual Studio, 1077–1079Task Parallel Library, 1131Task-based Asynchronous Pattern (TAP), 1124Task<byte[]>, 1125taskDescription, 1225Task<int>, 1125Task.WhenAll, 1131–1132TCP/HTTP, 988TCP/IP. See Transmission Control Protocol/Internet

Protocoltel, 20Telerik, 1266TempData, 1204tempDirectory, 1039, 1050TemplateContainer, 245, 277templated controls, 275–279TemplatedControl, 278TemplatedControlDesigner, 295TemplatedWebEventProvider, 552TemplateField, 321–323, 326–327TemplatePagerField, 339templates

addtask, 1228entity, 451–452Razor, 1227

test harnesses, 5Text

<asp:Label>, 124–125DisplayMode, 168Message, 277RegularExpressionValidator, 216RenderContents, 243RequiredFieldValidator, 207resource fi les, 1156server controls, 243TextBox, 236TreeNode, 638TreeView, 645user controls, 234–235ViewState, 264–265, 272

text(), 964TextAlign, 144textarea, 20

bindex.indd 1379bindex.indd 1379 4/9/2013 3:39:21 PM4/9/2013 3:39:21 PM

Page 48: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1380

TextBox – transforms

TextBox, 50AutoCompleteType, 129–130AutoPostBack, 128–129BalloonPopupExtender, 906–907CalendarExtender, 908client-side scripts, 256ColorPickerExtender, 910–911ControlToValidate, 207FilteredTextBoxExtender, 922–923Focus(), 127–128LimitedSqlRoleProvider, 585NumericUpDownExtender, 930Text, 236TextBoxWatermarkExtender, 940user controls, 236web server controls, 127–130

TextBoxWatermarkExtender, 939–941TextChanged, 272TextLabelID, 909text-shadow, 45Themable, 245Theme, 64theme, 1047thread pools, 1132

asynchronous code, 1126threads, 1137

threadscultures, 1137–1139debugging, 1096–1097management, 1050thread pools, 1137

Thread.Sleep(), 8813DES. See Triple DES encryptionticketCompatibilityMode, 1043Time, 926–928time, 21timeout

<forms>, 704, 769Forms Authentication, 1042jQuery, 975<processModel>, 1052<sessionState>, 1035

TimeOutException, 1130–1131Timer, 870, 874–875Title, 602, 623tlbimp, 1253ToArray(), 181TODO, 1077ToFileTime, 154ToFileTimeUtc, 154

ToggleButtonExtender, 941–942ToList(), 382ToLocalTime, 154ToLongDateString, 154ToLongTimeString, 154ToOADate, 155ToolTip, 110, 1156tooltip, 251ToolTipText, 937Top, 153top, 39ToShortDateString, 155ToShortTimeString, 155ToString, 155ToString(), 798, 805TotalRowCount, 340ToUniversalTime, 155TPT. See Table per Type modelTRACE, 1083Trace, 64, 116, 1078Trace Information, 1080trace.axd, 1079TraceContext, 1078TraceHandler, 1079TraceInternal, 1082TraceInternal.Write, 1082Trace.IsEnabled, 1079TraceListener, 1078, 1083–1087TraceMode, 64, 1079tracepoints, 1095TraceSwitch, 1088TraceWebEventProvider, 553–554Trace.Write(), 1079–1080tracing

applications, 1079components, 1082–1083debugging, 1078–1087forwarding, 1083page-level, 1079WSAT, 1281–1282

TrackPosition, 916Traditional, 1244Transaction, 64TransactionOption, 462Transform, 127, 162, 311, 1179transform, 1071TransformFile, 170, 311transforms

confi guration, 1068–1072web.config, 1178–1179

bindex.indd 1380bindex.indd 1380 4/9/2013 3:39:21 PM4/9/2013 3:39:21 PM

Page 49: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1381

TransformSource – UpdateUser(�)

TransformSource, 161TransitionDuration, 947Transmission Control Protocol/Internet Protocol

(TCP/IP), 987TreeLoad, 643TreeNode, 638TreeView

build-in styles, 632–633child node, 633CollapseAll, 642–647connect node lines, 640–642custom icons, 639–640data-bound controls, 343–344ExpandAll, 642–647leaf node, 633Line Image Generator, 641multiple options, 636–639parent node, 633parts, 633–634programmatically using, 642–647root node, 633SiteMapDataSource, 631sitemaps, 629–647Text, 645Value, 645XML, 634–636

TreeViewLineImages, 642<Triggers>, 877–879Triple DES encryption (3DES), 1242<trust>, 1030Try...Catch, 577try/catch, 1098TryGetMember, 1302TryGetValue, 577TrySetMember, 1302TryUpdateModel, 361Twitter, 1233Twitter resources, 1305, 1306–1307two-way data binding, 348Type

CompareValidator, 211Parameter, 305RangeValidator, 213SqlDataSource, 324

type, 678, 975type editors, 295–296Type Library Importer, 1248, 1251Type selector, CSS3, 27TypeConverter, 244

customized, 281–283

design-time experience, 280–283TypeLibConverter, 1248TypeName, 70

U-U<>, 533/u, XCopy, 1167-u7, compilation, 86UDP. See User Datagram ProtocolUI. See user interfaceUICulture, 64, 661, 1156uiCulture, 1140UIHint, 450, 451UITypeEditor, 295<ul>, 165UncheckedImageAlternativeText, 942UncheckedImageUrl, 942unhandled exception, 1099Uninstall-Package, 1321UninstallSqlState.sql, 1036UniqueID, 250Universal Membership Providers, 5universal providers, 694Universal selector, 27Unload, 72UnlockUser(), 725unobtrusive validation, 203–205UnobtrusiveValidationMode, 205UPDATE, 304Update, 339Update-Database, 441updateGrid(), 919UpdateMode, 884–885Update-Package, 1320UpdatePanel

Ajax, 862, 866, 870, 875–879multiples, 882–885

Button1_Click(), 883–884Conditional, 884–885<ContentTemplate>, 875–876PopupControlExtender, 933<Triggers>, 877–879UpdateMode, 884–885

UpdatePanelAnimationExtender, 942–943UpdateProgress, 870, 879–882UpdateRequestCache, 1110Updates, 1320UpdateUser(), 747

bindex.indd 1381bindex.indd 1381 4/9/2013 3:39:21 PM4/9/2013 3:39:21 PM

Page 50: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1382

Upgrade – ValueProvider

Upgrade, 988upgrades, 1245–1246

applications, 1240–1241Uploads, 1050UpperAlpha, 166UppercaseLetters, 923UpperRoman, 166url, 20, 623, 975URLAuthorizationModule, 1044UrlEditor, 295urlLinePragmas, 1039UrlParameter.Optional, 1203URLRewrite, 1265–1266UrlRoutingModule, 1201, 1202URLs

mapping, 659–660MVC, 1197–1203

UseCookies, 682UseDeviceProfile, 682useFullyQualifiedRedirectUrl, 1049useMachineContainer, 556useMachineProtection, 556<User>, 579<user>, 771user controls, 105, 231–296

creating, 232–234include, 593interacting with, 234–235loading dynamically, 235–239native type, 236–237postbacks, 238–239Property Browser, 235WYSIWYG, 278

User Datagram Protocol (UDP), 988user interface (UI). See also GUI

Dynamic Data, 450–452jQuery UI, 978–981, 1260MVC, 1207type editors, design-time experience, 295–296

User-Agent, 824–825UserControl, 827–828userControlBaseType, 1047UserControlBuildProvider, 88User.Identity, 777–779User.IsInRole(), 779userName, 782username, 1052users, 764UseRuntime, 403UseUri, 682

V-v, compilation, 86/v, XCopy, 1166val(), 964ValidateNumber, 221ValidateRequest, 64validateRequest, 1048ValidateText, 256, 257ValidateUser(), 575–577, 722, 747validation

addtask, 1226–1227causes, 202client-side, 200–201

BaseValidator, 225CustomValidator, 217–219, 221–222For Each, 225JavaScript, 200, 201, 207Page_Load, 225turning off, 224–225WebForm_DoPostBackWithOptions, 207

controls, 105Dynamic Data, 452–453groups, 227–230membership providers, 575–577Razor, 1225–1227rules, 199server controls, 199–230

JavaScript, 201server-side, 200–201, 219–222unobtrusive, 203–205Web Forms, 200

Validation, 1042Validation and More (VAM), 202Validation.Add, 1225ValidationExpression, 216ValidationGroup, 227–228Validation.IsValid, 1225validationKey, 1242ValidationMessage, 1225validation.RequireField, 1225ValidationSummary, 200–201, 222–224, 1225

Dynamic Data, 453model binding, 361–362

ValidatorCalloutExtender, 944ValidChars, 923Value, 645, 1154value, 1053ValueChanged, 172ValueProvider, 358–359, 363–365

bindex.indd 1382bindex.indd 1382 4/9/2013 3:39:21 PM4/9/2013 3:39:21 PM

Page 51: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1383

values – Visual Studio

valuesCheckBox server control, 143HTML5, 3–6

ValueToCompare, 212VAM. See Validation and Morevar, 1295VaryByContentEncodings, 71VaryByControl, 71, 825VaryByCustom, 71, 825–826VaryByHeader, 71VaryByParam, 71, 824–825vbc.exe, 1091VBScript, 1188verbs, 764Vertical, 146, 163, 954VerticalOffset, 901VerticalSide, 901Video, 1232video, 20View, 181–185

Foo, 1194HomeController, 1194ViewData.Model, 1212

ViewBag, 1204, 1207, 1212ViewData, 1197, 1204, 1207ViewDataDictionary, 1207ViewData.Model, 1212, 1213ViewEngines, 1214viewports, 1003–1005

metatags, 1013–1014ViewResult, 1209views

MVC, 1188, 1207–1214strongly typed, 1207, 1212–1213

_ViewStart, 1211ViewState

ControlState, 265–266Default.aspx, 865<div>, 964OnInit, 265server controls, 263–267state management, 816–820state storage, 530, 793Text, 264–265, 272types, 265user controls, 237

ViewStateEncryptionMode, 64viewStateEncryptionMode, 1048ViewStateMode, 64, 617ViewSwitcher, 1018–1022

VirtualPath, 70, 71visibility, 38Visible, 112Visibone, 1262Visual Basic Editor, 1077Visual Studio, 8

Add Web Reference, 465Ajax, 860–862AJAX Control Toolkit, 897AJAX Extensions, 865App_Code folder, 80breakpoints, 1096build providers, 88classes, 96–99colors, 50–51confi guration, 1090, 1091content pages, 598–599control designers, 283Copy Web Site, 1167–1170CSS3, 46–48

element relative positioning, 39improvements, 50–51

CustomValidator, 218data visualizers, 1094DataTips, 1093debugging, 860, 1090–1098

confi guration, 1090, 1091design surface, 105–106Designer, 286div, 37Dynamic Data, 443dynamic lookup, 1299–1300Edit and Continue, 1094–1095Edit and Refresh, 1094–1095editing confi guration fi les, 1062–1063EDM, 414EntityDataSource, 307–309error notifi cations, 1075–1076, 1094extensibility, NuGet, 1309–1331Extension Manager, 1310external style sheets, 25global resources, 1160HTML5, 46–52

improvements, 50–51IDE, 1241, 1245IIS, 53, 55–56IIS Express, 54–55, 486IntelliSense, 25, 470jQuery, 1260libraries, 9

bindex.indd 1383bindex.indd 1383 4/9/2013 3:39:21 PM4/9/2013 3:39:21 PM

Page 52: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1384

Visual Studio – web server controls

<link>, 47local resources, 1154–1156master pages, 596Menu, 648MessageTemplate, 277MVC, 1190

mobile applications, 1012NuGet, 10One-Click Publishing, 1172Page Inspector, 51, 1101–1104project compatibility, 1245Public Overrides, 581Publish wizard, 1173–1174RCW, 1248release confi guration, 1090, 1091release of, 4Remote Debug Monitor, 1092–1093Resource Editor, 1154, 1161resource fi les, 1152server controls, 240–244Solution Explorer, 497SQL Server Express Edition, 707SqlMembershipProvider, 702Task List, 1077–1079tracepoints, 1095<Triggers>, 879unobtrusive validation, 203Web Pages, 1216Windows Azure, 1182WYSIWYG, 46, 591XML Web Service, 457XmlMembershipProvider, 567–570

W-W, SQL Server, 533/w, XCopy, 1166W3C. See World Wide Web ConsortiumWAI-ARIA, 50WaitingStarCssClass, 953WarningLevel, 64, 65, 66WatermarkCssClass, 941WCB Web Service, 507, 510WCF. See Windows Communication FoundationWeb API, 15, 515–525

building, 515–520consuming, 521–525EF, 517

inheritance, 520library, 9ProductsController, 517–520routing, 520–521

web applicationsasynchronous code, 1121deployment

fi le system, 1174FTP, 1174precompilation for deployment, 1170–1172published, 1171Visual Studio Copy Web Site, 1167–1170web packages, 1172–1175XCopy, 1165–1167

precompilation, advanced settings, 1180Web Deploy, 1172, 1174, 1175web ecosystem, 6–14web events

debugging, 1089–1090providers, 548–557

web farms, 1035–1036Web Forms, 4

.aspx, 58<audio>, 226code-behind model, 60CSS, 1190CustomValidator, 218EDM, 420–422HTML, 200, 1190mobile devices, 1009–1010

FriendlyUrls, 1011model binding, 356MVC, 1188, 1189–1190, 1208Razor, 1216RegularExpressionValidator, 216SqlMembershipProvider, 702structure, 53–99validation, 200

web gardening, 796Web Optimization, 5web packages, 1172–1175Web Pages, 15

cache, 1231–1232helpers, 1229–1235Razor, 1215–1235Visual Studio, 1216

web server controls, 123–198AdRotator server control, 160–161BulletedList server control, 165–170Button, 130–133, 189

Visual Studio (continued)

bindex.indd 1384bindex.indd 1384 4/9/2013 3:39:21 PM4/9/2013 3:39:21 PM

Page 53: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1385

web server controls – Web Service Description Language

CausesValidation, 130CommandName, 130–131<ContentTemplate>, 878JavaScript, 131–133LimitedSqlRoleProvider, 585UpdatePanel, 876, 883validation, 202

Calendar server control, 153–160date format, 154–155date ranges, 155–157date selection, 153–154day, week, and month selections, 155modifying style and behavior, 157–160RangeValidator, 214–216

CheckBox server control, 142–144Key, 929MutuallyExclusiveCheckBoxExtender,

928–929ToggleButtonExtender, 941–942

CheckBoxList server control, 144–146DropDownList, 135–137

ControlToValidate, 207, 209FindControl, 328, 329GridView, 327–328ProfileManager, 696RowDataBound, 327–328SelectedIndexChanged, 238SelectedValue, 329

FileUpload, 50, 172–181Byte, 181ControlToValidate, 207fi le size limitations, 176–177permissions, 175–176Stream, 180–181uploading fi les, 172–175uploading multiple fi les, 177–180Web Pages, 1232

HiddenField server control, 171–172, 816–820HTML, 124HyperLink, 134, 168HyperLink server control, 134Image, 149–150, 189Image server control, 149–150ImageButton server control, 134, 202ImageMap server control, 196–198Label server control, 124–126

Ajax, 887CollapsiblePanelExtender, 909DragPanelExtender, 913–914HoverMenuExtender, 924

LimitedSqlRoleProvider, 585Page_Load, 603RangeValidator, 214–216SliderExtender, 937UpdatePanel, 876

LinkButton, 133, 168, 202, 916ListBox, 139–142, 207, 925–926Literal server control, 126–127MultiView server control, 181–185overview, 124Panel server control, 162–164, 914, 917–918,

935–936DynamicPopulateExtender, 919

PlaceHolder server control, 164–165RadioButton server control, 146–148, 207RadioButtonList server control, 148–149Table server control, 151–153TextBox, 50, 127–130

AutoCompleteType, 129–130AutoPostBack, 128–129BalloonPopupExtender, 906–907CalendarExtender, 908client-side scripts, 256ColorPickerExtender, 910–911ControlToValidate, 207FilteredTextBoxExtender, 922–923Focus(), 127–128LimitedSqlRoleProvider, 585NumericUpDownExtender, 930Text, 236TextBoxWatermarkExtender, 940user controls, 236

View, 181–185Foo, 1194HomeController, 1194ViewData.Model, 1212

visually removing items from collection, 137–138

Wizard server control, 185–195AllowReturn, 187events, 190–191form elements, 191–195headers, 188–189navigation system, 189–190side navigation customization,

186–187StepType, 187–188

Xml server control, 161–162Web Service Description Language (WSDL), 462,

487–488, 494–495

bindex.indd 1385bindex.indd 1385 4/9/2013 3:39:21 PM4/9/2013 3:39:21 PM

Page 54: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1386

Web Services – web.confi g

Web Services.asmx, 58asynchronous consumption, 478–480cache, 471code-behind model, 60SOAP headers, 472–478

consuming, 474–476requests, 476–478

Web Site Administration Tool (WSAT), 737, 746, 1062, 1269–1284

Application tab, 1280–1283debugging, 1281–1282Home tab, 1271offl ine, 1283permissions, 1271–1279Provider tab, 1283–1284Security tab, 1271–1279SMTP, 1281tracing, 1281–1282

Web Site Projects (WSP), 688Web Stack, 5Web User Control, 58, 60WebCache, 1231–1232web.config

<add>, 88Ajax, 862–863<allow>, 1044allowAnonymous, 684<anonymousIdentification>, 681App_Code folder, 82application tracing, 1079ApplicationName, 573appSettings, 1327<appSettings>, 1053, 1280Authenticate(), 772<authentication>, 703–704, 1061–1062<authorization>, 718build providers, 91–92<buildProviders>, 88cache, 833<compilation>, 1038confi guration, 1030, 1031–1032, 1054

transforms, 1068–1070ConnectionStrings, 1055–1056<connectionStrings>, 847, 1059–1062<credentials>, 773debugging, 1164<deny>, 738, 1044DictionarySectionHandler, 1065FileUpload, 176–177

<forms>, 704–705Forms Authentication, 771–772<globalization>, 1140<handlers>, 1118HttpModule, 1112–1113<identity>, 782IIS, 760impersonation, 782–783@Import, 67–69include fi les, 1048Initialize(), 573, 574–575LimitedSqlRoleProvider, 584localization, 661<location>, 602, 737, 777Locator, 1179login.aspx, 772machine.config, 760, 1033master pages, 601–602MaxConcurrentRequestsPerCPU, 1133membership and role management service

authorization, 736–737membership providers, 709modules, 1111–1112MVC, 1192NameValueFileSectionHandler, 1064.NET Trust Levels, 1288<outputCache>, 826<pages>, 110passwords, 772-pe, 1060personalization properties, 673,

676, 710providers, 560, 570–571

attributes, 562–563regenerateExpiredSessionId, 796role-management system, 665<roleManager>, 734–735Roles, 585runtime, 1031sessionState, 795SingleTagSectionHandler, 1066SMTP, 729SQL Server, 536SqlDataSource, 303SqlMembershipProvider,

562–563SqlProfileProvider, 544SqlSessionStateStore, 547–548StateServer, 802syntax notifi cations, 1076

bindex.indd 1386bindex.indd 1386 4/9/2013 3:39:21 PM4/9/2013 3:39:21 PM

Page 55: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1387

web.confi g.comments – Windows Communication Foundation (WCF)

<system>, 673System.Configuration

.DpapiProtectedConfigurationProvider, 555–556

<system.web>, 738, 1061, 1112System.Web.Security

.ActiveDirectoryMembershipProvider, 539<system.webServer>, 1112System.Web.SessionState

.InProcSessionStateStore, 546–547System.Web.SessionStatye

.InProcSessionStateStore, 547transforms, 1178–1179<trust>, 1030unobtrusive validation, 203, 204WCF Data Service, 489WebMethods, 470WSAT, 1269–1270XHTML, 1243XmlFileProvider, 571XmlSiteMapprovider, 545–546

web.config.comments, 549WebConfigurationManager, 1054, 1055WebControl, 109, 127, 240, 243, 251web.Debug.config, 1068webdevchecklist.com, 1262WebEventProvider, 548–549WebForm_DoPostBackWithOptions, 207WebForms, 204, 205WebFormViewEngine, 1208webGarden, 1052WebGrid, 1223WebHandler, 62web_hightrust.config, 1031WebImage, 1232-webkit-, 42, 50WebMail, 1231WebMatrix, 745, 1221web_mediumtrust.config, 1030WebMethods

attributes, 461–462CacheDuration, 471IntelliSense, 470overloading, 468–471SOAP headers, 474web.config, 470XML Web Service, 461–462, 468–471

WebPageBase, 1210WebPageTraceListener, 1085<webparts>, 1055

WebPartsSection, 1055web.Release.config, 1068WebResource.axd, 258WebSecurity, 1230WebService, 458, 461<WebServiceBinding>, 470WebService.cs, 458–459WebService.vb, 458–459website resources, 1306website.deploy.cmd, 1175Web.sitemap, 622, 660–661website.SetParameters.xml, 1175website.SourceManifest.xml, 1175website.zip, 1175WebSockets

API, 991HTML5, 988

benefi ts, 995–996client-side code, 994–995data transfer, 990–991echo handler, 992–994handshake, 987–990JavaScript, 994–995real-time communication, 986–996SignalR, 996–1000

web.Staging.config, 1070WebViewPage, 1213week, 20–21WHERE, 304, 305, 333Where, 309where, 384Width, 110, 916Windows, 761Windows Authentication, 542, 761–768

anonymous personalization, 681–682Basic authentication, 766–767confi guration, 1041creating users, 761–763<deny>, 764Digest authentication, 767groups, 765HTTP, 765IIS, 766–767Integrated, 766personalization, 673users, 763–764

Windows Azure, 1181–1184Windows Communication Foundation (WCF), 455

Data Service, 480–525Add Service Reference, 488–489

bindex.indd 1387bindex.indd 1387 4/9/2013 3:39:21 PM4/9/2013 3:39:21 PM

Page 56: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1388

Windows Communication Foundation (WCF) – XslTransform

associations, 507–510building, 481–488consumer building, 488–490consuming, 512–515consumption code, 490creating, 496–502CRUD, 495, 496data contracts, 490–495default.svc, 498EDM, 496–497, 499–500, 505–506fi ltering, 511–512IIS Express, 486interface, 484–487interface queries, 502–512namespaces, 495operators, 511–512relationships, 505–507RESTful, 496, 505result sets, 510–511service framework, 483–484sorting, 510web.config, 489WSDL, 487–488XML, 500

Windows Forms, 4Windows Integrated Security, 810Windows Management Instrumentation

(WMI), 548, 554Windows Service, 1035WindowsBuiltInRole, 780–781WindowsIdentity, 779–782WindowsTokenRoleProvider, 542–543WinMerge, 1266Wireless Markup Language

(WML), 1002Wizard server control, 185–195

AllowReturn, 187events, 190–191form elements, 191–195headers, 188–189navigation system, 189–190side navigation customization, 186–187StepType, 187–188

WizardNavigationEventArgs, 195<WizardSteps>, 712WMI. See Windows Management InstrumentationWmiWebEventProvider, 554WML. See Wireless Markup Languageworker process, 1051–1053

World Wide Web Consortium (W3C), 962Write(), 1078WriteBeginTag, 247WriteFile(), 1116writeToDiagnosticsTrace, 1083WSAT. See Web Site Administration ToolWSDL. See Web Service Description LanguageWsdlBuildProvider, 88WSP. See Web Site ProjectsWYSIWYG, 46, 278, 283, 591, 610

X/x, XCopy, 1167XCopy, 1165–1167XElement, 390, 391XHTML, 1190, 1243–1244XML. See eXtensible Markup Language; LINQ to

XMLXML, 680XML Document Transform, 1071XML schema (XS), 490XML server control, 161–162XML Web Service

Add Web Reference, 464–466building, 457–464consuming, 464–468interface, 462–464invoking from client application, 466–468SOAP, 459–462Visual Studio, 457WebMethods, 461–462, 468–471WebService page directive, 458

XmlDataSource, 170, 301, 310–311XmlDocument, 91, 795XML-Document-Transform, 1179XmlFileProvider, 571XMLHttpRequest, 855, 858, 859, 984XmlMembershipProvider, 566–570, 572–573,

579–580XmlSiteMapprovider, 545–546xmlUserDatabaseFile, 571, 574–575XmlWriterTraceListener, 1087XPath, 1071XPathBinder, 348–349XS. See XML schemaXsdBuildProvider, 88XSL, 161XslCompiledTransform, 162XslTransform, 162

Windows Communication Foundation (WCF) (continued)

bindex.indd 1388bindex.indd 1388 4/9/2013 3:39:21 PM4/9/2013 3:39:21 PM

Page 57: INDEX [] · INDEX Symbols $() CSS selectors, 963 ... Visual Studio, 860–862 ... Aziz, Atif attributes Dynamic Data, 450–453 , 768–769

1389

/y, XCopy – .zip

Y/y, XCopy, 1167/-y, XCopy, 1167Yahoo!, 1258–1259York, Richard, 963YSlow, 1258–1259

Z/z, XCopy, 1167z-index, 43.zip, 1172

bindex.indd 1389bindex.indd 1389 4/9/2013 3:39:21 PM4/9/2013 3:39:21 PM