) greater than operator, 40 (>=) great"> CompareAllValuesoutputcache

CompareAllValuesoutputcache

outputcache  时间:2021-05-18  阅读:()
Symbols"HTMLspecialcharacter,157%operator,30,173&HTMLspecialcharacter,157<interpretingspecialcharacters,155(!
=)notequaltooperator,40(>)greaterthanoperator,40(>=)greaterthanorequaltooperator,40(tagandASP.
NET,355HtmlAnchorclass,131relatedcontrolclasses,169AbandonmethodHttpSessionStateclass,325,328absoluteExpirationparameterInsertmethod,Cacheclass,971accessibilityDNS(DomainNameService),413accessibilitykeywordsinVisualBasic2005,55accessingfiles.
SeefileaccessAccessKeypropertyWebControlclass,172accessors,getandset,57–58AccountclassBalanceproperty,882statefuldesign,881–882AccountOperatorroledefaultWindowsroles,709AccountUtilityclassFundTransfermethod,882ACT(ApplicationCenterTest)creatingproject,956ActiveStepChangedeventWizardcontrol,300–301ActiveStepIndexpropertyWizardcontrol,299ActiveViewIndexpropertyMultiViewcontrol,293elements,286Ad/AdvertisementFileelements,287AdBoardcomponentdatabasecomponent,using,888AdCreatedeventAdRotatorcontrol,288AddCounterswindowperformancecounters,958elementaddingSqlProfileProviderclassinstance,764profilepropertyattributes,769web.
configfile,160AddmethodDateTimeclass,38Rowscollection,addinginformationtoDataSet,506TimeSpanclass,38AddNetworkPlacewizard,435AddNewItemdialogboxWebServices,801AddWebReferencewindowSolutionExplorer,822AddDaysmethodDateTimeclass,53AddedvalueDataRowStateenumeration,508AddHandlerstatements,63,664AddItemmethodObjectDataSourceclass,898additionoperator+,30–31Index993AddresspropertyProfileclass,777AddUsersToRolemethodRolesclass,751AddUsersToRolesmethodRolesclass,751AddUserToRolemethodRolesclass,751AddUserToRolesmethodRolesclass,751AddxyzmethodsDateTimeclass,38administrationnewfeaturesinASP.
NET2.
0,19AdministratorroledefaultWindowsroles,709ADO.
NETSeealsodatabasesasdataaccessmodel,453basics,469–471datanamespaces,471dataproviderobjects,471databindingwith,535–537datamanagement,453databaseaccess,455–456roleofdatabase,454–455dataproviders,469databaseaccess,634datamanagement,455–456designingforperformance,953–954DataSetclass,457introduction,456DataSetclass,456disconnectedaccess,456–457XMLintegration,457namespaces,importing,474updatingdatabase,457ADO.
NETandXML,675–676accessingaDataSetasXML,676–678accessingXMLthroughtheDataSet,678–680adoptiverepeatercontrolviewstate,testing,932AdRotatorcontrol,255,277,286–287AdCreatedevent,288Advertismentfile,286–287eventhandling,288frametargets,287KeywordFilterproperty,288properties,287AdvertisementfileAdRotatorcontrol,286–287AdvertisementFilepropertyAdRotatorclass,287elements,286AffectedRowspropertySqlDataSourceStatusEventArgsclass,556aggregatefunctionsSQLstatements,465usingindatabasecomponent,892–893aliases,creatingvirtualdirectories,424AlignpropertyHtmlImageclass,146allowruletag,697web.
configsettings,708allowAnonymousprofilepropertyattributetag,769allowedstatemanagementoptions,339–340AllowPagingpropertyDetailsViewcontrol,598GridViewcontrol,585AllowReturnpropertyWizardcontrol,296AllowSortingpropertyGridViewcontrol,581–582AltpropertyHtmlImageclass,133,146HtmlInputImageclass,133elementAdvertisementFile,287AlternatingItemTemplateclass,590AlternatingRowStylepropertyGridViewcontrol,568Andkeyword40Whereclause,464AndAlsooperator,40anglebrackets(tags)interpretingspecialcharacters,155anonymousaccessauthenticationifenabled,707disabling,705programmaticimpersonation,712INDEX994AnonymousmodeWindowsauthenticationmethods,707anonymousprofiles,781–782migrating,783–784anonymoususersaccessingspecificdirectories,695accessingspecificfiles,696allowing,688ASP.
NETsecurity,686authorizationrules,694forbidding,688formsauthentication,693IUSER_[ServerName]account,705IUSR_[ServerName]account,688multipleauthorizationrules,695non-ASP.
NETsecurity,686questionmarkwildcard,695restricting,694–695elementweb.
configfile,782AnonymousTemplatesectionLoginViewcontrol,753AppendmethodXmlAttributeclass,657AppendChildmethodXmlDocumentclass,654XmlNodeclass,657applets,single-page,124ApplicationCenterTeststresstesting,956ApplicationclassASP.
NETintrinsicobjects,805EndRequestevent,340applicationdomaincreatingasimpleapplication,137applicationevents,342ApplicationlogWindowsEventLogs,226ApplicationPropertieswindowconfiguringeventloggingsettings,227ApplicationpropertyPageclass,151ApplicationRestartscounterperformancecounters,958applicationstate,337–339datacachingcompared,960performance,338tracing,245ApplicationstatecollectionLock()method,338Unlock()method,338application-leveltracing,251–252ApplicationExceptionclasscomponenterrorhandling,892constructors,223Systemnamespace,222applicationNameattributeconfiguringmembershipprovider,723ApplicationPathpropertyHttpRequestclass,153applications,ASP.
NET.
SeeASP.
NETapplications,119Application_BeginRequestevent,342Application_Endevent,342Application_EndRequestevent,342Application_Errorevent,342Application_Startevent,342ApplyFormatInEditModepropertyBoundFieldclass,564elementweb.
configfile,160AppSettingspropertyConfigurationSettingsclass,161appsettingurlkeyparameterWSDL.
exeparameters,825App_Browsersdirectorydescription,123App_Codedirectorydescription,122App_Datadirectorydescription,123App_Themesdirectorydescription,123App_WebReferencesdirectorydescription,123arcs,drawing,944arithmeticoperations,30ArithmeticExceptionclass,212Arrayclass,39Clonemethod,70GetUpperBound()method,39members,39natureandbehaviordatatype,71ArrayListclass,28convertingobjectstorealtype,80weakness,83INDEX995Finditfasterathttp://superindex.
apress.
com/arrays,26accessinganelement,27ArrayListclass,28lowerbound,26multidimensionalarrays,27ReDimkeyword,27redimensioning,27repeated-valuedatabinding,518webservicedatatypes,816.
ascxfilesdescription,121usercontrols,901–902.
asmxfilesdescription,121methodindication,802webservices,799ASPASP.
NETcompared,6ASP.
NETsolutions,127languageevolution,22problems,9–10solutionandproblemscurrencyconverterexample,126–127.
aspfilescreatingasimpleapplication,136description,122asptagprefix,169,903ASP.
NETASPcompared,6automaticgenerationofSOAPmessagesandWSDLdocuments,800built-inobjects,805codecompilationcomparedtoASP,952collections,304configuration,157controlsplacedinsidetag,130databinding,518description,10evolutionofVisualBasic,22formsauthenticationmodel,692forms,case-sensitivity,171HTMLservercontrols,127–128ISAPIlink,6IUSR_[ServerName]accountandrunningcode,686performancecounters,957–958performancetuning,951polling,987–988SecurityModel,685certificates,688–690IISinteraction,685,688SSL,690server-sideprogramming,6–7server-sidewebcontrols,119solutiontoASPdifficulties,127stagesinrequest,139statemanagement,835verifyinginstallationiscorrectonIIS,421–422version2.
0,3Webcontrols,128webforms,usercontrolscomparedto,901ASP.
NET2.
0introduction,18newfeatures,18–19ASP.
NETapplications,119Seealsodeploymentchoosingalanguage,21configurationchanges,124nesting,159directories,122examplesofdatadrivenapplications,455filetypes,121global.
asaxfile,340navigationfeatures,373testingwebservices,810updating,123–124visibility,413–415webfarms,415–416webpages,119webserver,411workings,411–413web.
configfilestoringcustomsettings,160–161ASP.
NETtabvirtualdirectories,433ASPNETaccountchangingaccountinIIS5,440changingaccountinIS5,440changingaccountinIS6,441.
aspxfilescodeexamples,207creatingasimpleapplication,136INDEX996description,121OutputCachedirective,961aspnet_Applicationstable,766aspnet_Applications_CreateApplicationsstoredprocedure,767aspnet_CheckSchemaVersionstoredprocedure,767aspnet_Profiletable,766aspnet_Profile_DeleteInactiveProfilesstoredprocedure,768aspnet_Profile_GetNumberOfInactiveProfilesstoredprocedure,767aspnet_Profile_GetProfilesstoredprocedure,767aspnet_Profile_GetPropertiesstoredprocedure,767aspnet_Profile_SetPropertiesstoredprocedure,767aspnet_regsql.
execommand-lineswitches,726aspnet_SchemaVersionstable,766aspnet_Userstable,766aspnet_Users_CreateUserstoredprocedure,768aspnet_Users_DeleteUserstoredprocedure,768.
ASPXAUTHvalue,nameattributeformsauthenticationsettings,693assemblies,71–72,74asphysicalpackage,75componentclassescompiledinto,874namespacesandassemblies,109privateassemblies,437sharedassemblies,437updating,123assemblyreferencesIntellisense,107assignment,25Stringclass,70valuetypes,67attributes.
NETFramework,806propertiesandattributes,150Xmldocuments,654XMLelements,639AttributespropertyDirectoryInfoclass,611FileInfoclass,611HtmlControlclass,149AuthenticateeventLogincontrol,737AuthenticatemethodFormsAuthenticationclass,701AuthenticatedpropertyAuthenticateEventArgsclass,737AuthenticateEventArgsclassAuthenticatedproperty,737authenticatingusersweb.
configfile,694authentication*(wildcardcharacter),694ASP.
NETrequest,686authorizationrules,694directoryauthenticationmethods,706enablingforprofiles,761–762formsauthentication,691–705membership,715non-ASP.
NETrequest,685passwords,684rules,settingupwithWAT,697,699–700SQLServerauthentication,476userauthentication,152Windowsauthentication,476,705–711methods,707tagweb.
configfileattributes,693–694changingforsubdirectory,696web.
configsettings,693authorization,684accessforspecificusers,697accesstospecificdirectories,695accessingspecificfiles,696allowanddenyrules,697multipleauthorizationrules,695permissions,684rules,694–695settingupwithWAT,697,699–700web.
configfile,752formsauthentication,694tag,698AutoFormatdialogbox,571INDEX997Finditfasterathttp://superindex.
apress.
com/AutoFormatfeatureGridViewcontrol,625autoincrementcolumnsFillSchema()method,512importanceof,468relationaldatabases,468AutoCorrectIntelliSense,106AutoDetectvalueHttpCookieModeenumeration,330AutoGenerateColumnspropertyGridViewcontrol,560,562,781AutoGenerateDeleteButtonpropertyDetailsViewclass,555AutoGenerateEditButtonpropertyDetailsViewclass,554AutoGenerateInsertButtonpropertyDetailsViewclass,555AutoGenerateRowsmethodDetailsViewclass,550,599automaticpostbackandwebcontrolevents,189,191,193–194,205pagelifecycle,194–195,197automaticvalidationvalidatorcontrols,257AutomaticallyGenerateDataBindingspropertyTreeViewcontrol,673automaticSaveEnabledattributeelement,778AutoPostBackpropertycapturingachangeevent,191data-boundlistcontrolsexample,539__doPostBack()function,193listcontrol,534ListBoxclass,896dataretrievalexample,485pagelifecycle,194webcontrols,193AutosvariablewatchwindowVisualStudio2005,114AvailableFreeSpacemethodDriveInfoclass,613Avg()function,465Btags,161BackColorpropertyrows,574TextBoxcontrolclass,170WebControlclass,172backslash(\\)charactercreatingafilebrowser,616BackupOperatorroledefaultWindowsroles,709backwardcompatibilityCOMobjects,155BalancepropertyAccountclass,882BaseValidatorclassproperties,258BasicmodeWindowsauthenticationmethods,707beziercurvedrawingwithGraphicsclass,944Bindirectory,122binaryfilesreadingandwriting,620–621binaryoptionserializeAsattribute,772BinaryFormatterclassSystem.
Runtime.
Serialization.
Formatters.
Binarynamespace,772BinaryReaderclassReadInt32method,620ReadStringmethod,620BinaryWrite()methodHttpResponseclass,154BinaryWriterclassopeningfileforbinarywriting,620binding.
SeedatabindingBitmapclassSystem.
Drawingnamespace,943_blankframetargets,287block-levelscope,43BoldpropertyFontInfoclass,176Booleanclass,24natureandbehaviorofdatatype,71BorderpropertyHtmlImageclass,146INDEX998BorderColorpropertyWebControlclass,172BorderStyleenumeration,174values,172BorderStylepropertye-cardapplet,202webcontrols,174WebControlclass,172BorderWidthpropertyWebControlclass,172BoundFieldclassDataFormatStringproperty,566HtmlEncodeproperty,567SortExpressionproperty,581BoundFieldcolumntypeGridViewcontrol,562tag,565breadcrumbnavigation,393breakpointsadvanced,113Breakpointswindow,113commandsinbreakmode,112single-stepdebugging,111Browsableattributecontroldesigntimesupport,935BrowserpropertyHttpRequestclass,153browsertype,determining,521BrowserCapabilitiescomponentreplacing,153browsersinterpretingspecialcharacters,155usingcachingtooptimizepagesfor,966Brushobjectgraphicscontext,945BufferOutputmemberHttpResponseclass,154built-inobjectsaccessingviaWebServiceclass,805BulletedListcontrolnotselectable,178ortagsunderlying,169properties,182BulletImageUrlpropertyBulletedListcontrol,182BulletStylepropertyBulletedListcontrol,182businesslayerthree-tierdesign,869businessobjects,871serviceproviders,803webservicecomparison,803Buttonclassaddinglinkedimages,142CausesValidationproperty,261CauseValidationproperty,260Clickevent,190,316implementsIButtonControlinterface,178tagunderlying,169tag,131HtmlButtonclass,131ButtonFieldclass,576CommandNameproperty,576creatingbuttons,599ButtonFieldcolumntypeGridViewcontrol,562ButtonGridcontrolenhancing,939–940receivingbuttonevents,938testing,941ButtonTypepropertyGridViewcontrol,574ByRefkeyword,69differencetoByValkeyword,69Byteclass,24natureandbehaviorofdatatype,71ByValkeyword,68differencetoByRefkeyword,69CC#and.
NETlanguages,12,14andIL,12choosinga.
NETlanguage,21rulesfortypeconversioncomparedtoVB,32CacheclassASP.
NETintrinsicobjects,805datacaching,970expiryofobject,970Insertmethod,970insertinganobjectintocache,970–971modifyingcachedobjects,975INDEX999Finditfasterathttp://superindex.
apress.
com/supportfordependencies,970System.
Web.
Cachingnamespace,970testing,971–976thread-safety,970CachememberHttpResponseclass,154cachenotificationsSQLServer2000andSQLServer7,984creatingcachedependency,988enablingASP.
NETpolling,987–988enablingnotifications,984–985workingsofnotifications,986–987SQLServer2005,988–991CachepropertyHttpContext.
Currentclass,976Pageclass,151,970CacheDependencyclasscreatingdependencyforcacheditem,971creatinginstance,982CacheDurationpropertyaddingtoWebMethodattribute,969CacheDurationvalueCacheItemRemovedReasonenumeration,978CacheExpirationPolicyvalueCacheItemRemovedReasonenumeration,978CacheItemRemovedReasonenumerationvalues,978CacheKeyDependencyvalueCacheItemRemovedReasonenumeration,978cachingSeealsoOutputCachedirectiveimprovingdatabaseperformance,954basingonHTTPheader,968datacaching,970datasourcecontrols,978insertinganobjectintocache,970ObjectDataSourceclass,981simplecachetest,971–976SqlDataSourceclass,979–980webservices,976,978dependencies,982–992disablingcachingwhiletesting,962insertinganobjectintocache,971modifyingcachedobjects,975outputcaching,961–962cacheprofiles,968–969client-sidecaching,962–963customcachingcontrol,966–967fragmentcaching,968multiplecachingexample,965–966reusabilityofcachedpage,963–964specifyingparameters,964webservices,969performancetuning,951,960Calendarcontrol,255,277–279DayRenderevent,282,923FirstDayOfWeekproperty,279formatting,280–281members,284multipledateselection,279restrictingdates,281SelectedDateproperty,278SelectionChangedevent,283SelectionModeproperty,279styles,280subclassingcontrols,923–924VisibleMonthChangedevent,283CalendarDayclass,282DayRenderevent,282properties,282CancelpropertyMailMessageEventArgsclass,746CancelButtonClickeventWizardcontrol,300CancelButtonStylepropertyWizardcontrol,302CaptionpropertyCalendarcontrol,284GridViewcontrol,566CaptionAlignpropertyCalendarcontrol,284GridViewcontrol,566CascadingStyleSheets(CSS)comparedtothemes,363case-sensitivityASP.
NETforms,171web.
configfile,158XML,638castingobjects,78–80Catchstatementscatchingspecificexceptions,215–216nestedexceptionhandling,216INDEX1000catchingexceptionsbasedontypes,211Categoryattributecontroldesigntimesupport,935CategoryAttributeclassSystem.
ComponentModelnamespace,934CausesValidationpropertyButtonclass,260,261manualvalidation,264validatorcontrols,257CellPaddingpropertyCalendarcontrolclass,284GridViewcontrol,566CellscollectionGridViewRowcontrol,571CellSpacingpropertyCalendarcontrolclass,284GridViewcontrol,566certificateauthorities,689SSLworkings,691certificates,SSL,690CGI(CommonGatewayInterface)scalability,6chains,exceptionchains,213–214Challenge/ResponseauthenticationWindowsauthenticationmethods,707ChangePasswordcontrol,735ChangePasswordmethodMembershipUserclass,731ChangePasswordQuestionAndAnswermethodMembershipUserclass,731Charclass,24natureandbehaviorofdatatype,71charactersandcharactermatching,269CheckBoxcontrolclasstagunderlying,169CheckBoxFieldcolumntypeGridViewcontrol,562CheckBoxListcontrol,178,744multipleselections,179repeated-valuedatabinding,526tagunderlying,169CheckBoxStylepropertyLogincontrol,738CheckChangedeventWebcontrols,191webcontrolsproviding,191CheckedpropertyHtmlInputCheckBoxclass,133HtmlInputRadioButtonclass,133CheckListBoxcontrolclasssimpleexample,180ChildNodescollectionXmlNodeobjects,656ChildNodespropertySiteMapNodeclass,390XmlDocumentclass,679ChildNodesPaddingpropertyTreeNodeStyleclass,399ChooseLocationdialogboxVisualStudio2005,88classlibrary,16–17Seealso.
NETclasslibrary.
NETFramework,10commondatatypes,24compiling,874datatypes,24namespaces,72classesadvancedclassprogramming,75–76castingobjects,78–80generics,82–83inheritance,76–77partialclasses,81–82sharedmembers,77–78building,54–55addingaconstructor,60addingmethods,59addingproperties,56–59creatinganobject,55–56buildingabasicclassaddingevents,61eventhandling,61–64testing,64–66creatingcomponents,874description,70instanceandsharedmembers,53introduction,51–53MSDNClassLibraryreference,72namespacesand,75objectsandclasses,52simpleclass,54webcontrols,168INDEX1001Finditfasterathttp://superindex.
apress.
com/elementremovingconnectionstrings,763removingexistingproviders,764removingproviders,764ClearmethodArrayclass,39HttpSessionStateclass,325ClickeventButtonclass,316Buttoncontrols,190LinkButtoncontrol,914webcontrolsproviding,191client-sidecaching,962–963OutputCacheLocationenumeration,962server-sidecachingcompared,963client-sideprogrammingbridgingthegaptoserver-sidecode,193introduction,7reasonstoavoid,8client-sidevalidation,258client-sidewebprogrammingClientCertificatepropertyHttpRequestclass,153ClientValidationFunctionpropertyCustomValidatorcontrol,273–274ClonemethodArrayclass,70DataSetclass,68CloneNodemethodXmlNodeclass,657ClosemethodConnectionclass,481DataReaderclass,481CLR(CommonLanguageRuntime)benefits,15briefdescription,10description,14drawbacks,15Exceptionscounter,959ILand,22CLS(CommonLanguageSpecification)definingrequirementsandstandards,14introduction,12codeblocksexceptionhandlers,211codeexamples.
aspxfiletype,207usingstatement,207codefragmentationdatabinding,525codeproductivityVisualStudio2005,86codereuseadvantageofcomponents,868codetransparencyILand,16codeverification,14codeviewswitchingtodesignview,100code-behindclassaddingcontrols,133creatingausercontrol,903singleeventhandler,135code-behindfilesStockQuotewebservice,804userinterfacecodedistinction,524webservices,803code-behindviewVisualStudio2005,100codingwebformsVisualStudio2005,100CollapseImageUrlpropertyTreeViewcontrol,398CollapseNavigationControlspropertymasterpageclass,361collectionclasses,529collectionsASP.
NET,304Controlscollection,152repeated-valuedatabinding,518ColorpropertysettinginVisualStudio2005,95Webcontrols,174ColorstructureSystem.
Drawingnamespace,174colorsIntelliSense,107columntypesGridViewcontrol,562ColumnspropertyGridViewcontrol,570COMobjectsbackwardcompatibility,155INDEX1002COMtechnologyInternetapplications,788COM+transactionswebservicetransactions,853CombinemethodPathclass,617CommandclassCommandTextproperty,501dataproviderobjects,472dataretrievalexample,483ExecuteNonQuerymethod,486,495ExecuteReadermethod,481retrievingdata,480SQLstatements,480usingwithDataReader,481CommandcolumntypeGridViewcontrol,562CommandeventLinkButtoncontrol,914CommandArgumentpropertybuttoncontrols,592CommandBuilderclassupdatingdisconnecteddata,507CommandFieldclass,574–575ShowDeleteButtonproperty,580ShowInsertButtonproperty,580ShowSelectButtonproperty,578–579CommandNamepropertybuttoncontrols,592ButtonFieldclass,576CommandTextpropertyCommandclass,501commentsXML,158XMLdocuments,641,654commit-as-you-goprogrammingmodelWizardcontrol,300commit-at-the-endprogrammingmodelWizardcontrol,300commondatatypes,24objectmanipulation,34CommonGatewayInterface.
SeeCGICommonLanguageRuntime.
SeeCLRCommonLanguageSpecification.
SeeCLSCompareAllValuesvalueConflictOptionsenumeration,556CompareValidatorcontrolexampleform,271validator-specificmembers,259CompareValidatorcontrolclass,257comparisonoperatorsusingwithnumerictypesandstrings,40tagdebugattribute,436compilingclasslibrary,874compilingcomponents,874Componentclass,872,874component-basedprogramming,867addingreferencetocomponent,876,878–879advantages,868classesandnamespaces,874–875Componentclass,872,874creatingsimplecomponent,872data-accesscomponents,883–884aggregatefunctions,892–893consuming,888–889,891–892errorhandling,891example,884,887databasecomponentsexample,884ObjectDataSourceclass,893–894makingclassesthatcanbeunderstoodby,894selectingrecords,894–895updatingrecords,897–898usingmethodparameters,895–896propertiesandstate,880–881statefulAccountclassexample,881–883terminology,869businessobjects,871dataobjects,871encapsulation,871three-tierdesign,869–870usingcomponent,878componentsSeealso.
NETcomponentsclassescontained,874compiling,874creating,872–874data-accesscomponents,883namespacesforclasses,875INDEX1003Finditfasterathttp://superindex.
apress.
com/reasonsforusing,867registering,122simplecomponent,874updating,123webservicescompared,872compositecontrols,creating,935–937concurrencycheckingwithdatasourcecontrols,555–557directdataaccess,473example,513,516RowUpdatedevent,512updatingdisconnecteddata,512webapplications,455conditionalstructures,39If.
.
.
EndIfblocks,40logicaloperators,40SelectCasestatement,41configurationASPproblems,9–10ASP.
NETconfiguration,157changes,124databasedeployment,438nosharingbetweenASPandASP.
NET,122sessionstate,329–337webfarms,333webserviceclient,820–821XCopydeployment,437element,695web.
configfile,158configurationfilesnamingconventions,829XML,633configurationsettingsnestedconfiguration,159ConfigurationSettingsclassAppSettingsproperty,161System.
Configurationnamespace,161ConflictDetectionpropertySqlDataSourceclass,556ConflictOptionsenumerationCompareAllValuesvalue,556OverwriteChangesvalue,556connectingviaproxyclass,833ConnectionclassClosemethod,481ConnectionStringproperty,475dataproviderobjects,472dataretrievalexample,483–484Disposemethod,479Openmethod,479retrievingdata,480connectionpoolingimprovingdatabaseperformance,954connectionstringsdataproviderdifferences,472databaseaccess,477notfoundinweb.
configfile,891retrievingfromweb.
configfile,887connectionsSeealsodatabaseconnectionsADO.
NETdatabaseaccess,953databasecomponents,884whentoopenandclose,953ConnectionStringpropertyConnectionclass,475informationcontained,475OleDbConnectionclass,475SqlConnectionclass,475storingvalueforreuse,477connectionStringNameattributeconfiguringmembershipprovider,723connectionStringssectionweb.
configfile,546ConnectionTimeoutvalueConnectionStringproperty,476constructorsbuildingabasicclass,60customexceptionclasses,223overloading,60containment,75–76,916contentpagedeletingtags,354contentpages,344connectiontomasterpages,348–350example,345–348tag,355ContentPlaceHolderIDattribute,349deletingfromcontentpage,354ContentPlaceHolderregionaddingcontent,347ContentPlaceHolderIDattributetag,349ContextobjectASP.
NETintrinsicobjects,805ContextSwitchescounterperformancecounters,959INDEX1004Continuecommandbreakmode,112ControlclassCreateChildControlsmethod,936DataBindmethod,519LoadControlStatemethod,933SaveControlStatemethod,933Visibleproperty,289controlclassesHTMLelementsunderlying,169WebControlandControlclasses,931Controldirectivecreatingausercontrol,903usercontrols,902controlprefixesnamingconventions,182tagaddingusercontrols,903controltree,tracing,244controlsSeealsolistcontrols;servercontrolsconfiguringinVisualStudio2005,95–96customcontrols,901creatingcompositecontrols,935generatingnewcontrolsinASP.
NET,152HTMLcontrolproperties,133HTMLforms,5repeated-valuedatabinding,526richcontrols,278subclassingcontrols,923usercontrols,901creatingsimpleusercontrol,902–905events,910–912independentusercontrols,905–907integratedusercontrols,907–910limitations,916passinginformationwithevents,912–915visibilityof,172workingsof,66Controlscollection,152addingchildcontrols,188TableCellcontrolclass,188ControlspropertyHtmlControlclass,149Pageclass,151WebControlclass,172ControlStylepropertyBoundFieldclass,564Wizardcontrol,302ControlToValidatepropertyBaseValidatorclass,258validationcontrols,265ConvertEmptyStringToNullpropertyBoundFieldclass,564CookieContainerpropertyproxyclass,840cookielessattributetag,330cookielessstate,limitations,331cookiescookiecustomization,701customcookies,320–322disabledcookies,321example,322–323fileaccess,619persistence,321persistentcookies,702removing,322ruleofthumbforuse,321securitycookies,693,695sessionstate,323sessiontracking,324statemanagement,838timeouts,694cookiescollectionobjectsproviding,321tracing,245CookiespropertyHttpRequestclass,153HttpResponseclass,154coordinatesxcoordinate,945ycoordinate,945CopymethodDataSetclass,975Fileclass,606CopyTomethodFileInfoclass,612CountpropertyHttpSessionStateclass,325Count()functionDISTINCTkeyword,465SQLstatements,465CounterCreationDataclass,959INDEX1005Finditfasterathttp://superindex.
apress.
com/countersviewstateexample,304–305CounterSampleclass,959CPUUtilizationcounterperformancecounters,958CreateAccessRuleslinkWAT,699CREATEEVENTNOTIFICATIONcommand,989CreatemethodDirectoryInfoclass,611–612FileInfoclass,611–612XmlReaderclass,662CreateAttributemethodXmlDocumentclass,654CreateChildControlsmethodControlclass,936WebControlclass,936CreateCommentmethodXmlDocumentclass,654CreateDirectorymethodDirectoryclass,605CreatedUsereventCreateUserWizardcontrol,741CreateElementmethodXmlDocumentclass,654CreateEventSourcemethodcustomeventlogs,230CreateFileList()procedurecreatingafilelist,609CreateObjectmethodHttpServerUtilityclass,155CreateRolemethodRolesclass,751CreateSubdirectorymethodDirectoryInfoclass,611CreateTextmethodFileclass,617CreateUsermethodMembershipclass,729CreateUserErroreventCreateUserWizardcontrol,741CreateUserIconUrlpropertyLogincontrol,740CreateUserTextpropertyLogincontrol,740CreateUserUrlpropertyLogincontrol,738,740CreateUserWizardcontrol,718,735convertingstepintotemplate,744–745events,741–743FindControlmethod,744LoginCreatedUserproperty,742typesofproperties,741CreatingUsereventCreateUserWizardcontrol,741CreationTimepropertyDirectoryInfoclass,611FileInfoclass,611CredentialCacheclassDefaultCredentialsproperty,845System.
Netnamespace,845credentialsWindowsauthentication,845creditcardnumbersregularexpression,270cross-pageposting,311–313gettingmoreinformationfromthesourcepage,313–316cross-platformcompatibilitywebservicesdatatypes,815cross-platformsupportCLR,16.
csfiles,description,121CSS(CascadingStyleSheets)comparedtothemes,363styleattributes,144Styleproperty,149CtrlChanged()subroutinechangeevents,197CType()function,79explicittypeconversions,33–34currencyconverterexample,125addinglinkedimages,142–143addingmultiplecurrencies,139–140ASPsolutionandproblems,126–127ASP.
NETsolution,137behindthescenes,136–137convertingtoASP.
NET,128–130dissectingthecode,140eventhandling,136,139HTMLservercontrols,133–135improving,139settingstyles,144storinginformationinthelist,141–142INDEX1006Currencydatatypenumericformatstring,567CurrentpropertyHttpContextclass,806CurrentNodepropertySiteMapclass,389CurrentNodeStylepropertySiteMapPathcontrol,394CurrentNodeTemplatetemplateSiteMapPathcontrol,394,396CurrentPageIndexpropertyGridViewcontrol,585curvesdrawingacurvewithGraphicsclass,944fillingacurve,944customcontrols,901,916changingcontrolrendering,925,927–928compositecontrols,creating,935–937creatingacustomcontrollibrary,919–921creatingsimplederivedcontrol,917–918creatingwebcontrol,929–931customcontrolsanddefaultvalues,923defaultvalues,923–924designtimesupport,934attributes,935design-timesupport,934eventhandling,942eventsandpostbacks,937,939–941,943maintainingstateinformation,931–933mixingwithcustomimages,949MyBasekeyword,926overridingRendermethods,926postbacks,937usingaderivedcontrol,920,922customcookies,320–322example,322–323formsauthentication,691statemanagementoptions,339–340customerrorpages,237–238sample,238targetingspecificHTTPerrors,238–239CustomErrorstabvirtualdirectories,431customexceptionclassesconstructors,223inheritance,222–223,225customimagesmixingwithcustomcontrols,949customlogs,230–231customobjectsaddingdefinitionintoWSDLdocuments,818storinginviewstate,309–310customsettingsAppSettingsproperty,161customtemplatesdefiningwithTemplateFieldclass,587customtext,drawingwithGDI+,946–947tag,239CustomValidatorcontrol,257ClientValidationFunctionproperty,273–274exampleform,271Luhnalgorithm,270ServerValidateevent,273validator-specificmembers,259ValidateEmptyTextproperty,274DDashedvalueBorderStyleenumeration,172datadeletingdata,495–497retrievingdata,485updatingarecord,494–495updatingdata,486,508example,510dataaccessSeealsodataprovidersADO.
NETasdataaccessmodel,453connectionstring,475–476tips,477creatingtheconnection,474–475directdataaccess,473importingnamespaces,474makingtheconnection,478–479simpledataaccess,473–474Windowsauthentication,476databindingADO.
NET,535–537codefragmentation,525INDEX1007Finditfasterathttp://superindex.
apress.
com/creatingafilebrowser,617creatingafilelist,609datasourcecontrols,543–557data-boundlistcontrolsexample,537–543databasecomponent,using,889DataSetclass,537errorchecking,525improvingdatabaseperformance,954introduction,517–518repeated-valuedatabinding,518,526databindingandviewstate,532databindingwithadictionarycollection,532–534genericcollections,529multiplebinding,529–530simplelistbindingexample,527–529simplelistcontrols,526–527usingDataValueFieldproperty,534–535single-valuedatabinding,518–519example,520–521,523problemswith,524–525simpledatabindingwithpropertiesexample,523–524usingcodeinstead,525typesofdatabindinginASP.
NET,518workings,518–519XmlTextReaderclass,650datacaching,960,970Applicationstatecompared,960datasourcecontrols,978insertinganobjectintocache,970–971ObjectDataSource,981replacingstatemanagement,951simplecachetest,971–976SqlDataSource,979–980webservices,976,978datacontrolsrichdatacontrols,559datalayerthree-tierdesign,869datamanagementwithADO.
NET,453–471datanamespaces,471dataobjects,816,871DatapropertyXmlDataSourceclass,674–675dataproviderfactories,545dataproviderobjects,471–472dataprovidersADO.
NET,469classderivation,469description,469differences,472differentoperations,472fromcodetodatasource,470namingconventions,472newfeaturesinASP.
NET2.
0,19SQLServerdataprovider,469,472translatingcodebetween,472dataretrieval,480automaticpostback,485example,482–486improvingdatabaseperformance,954datasourcecaching,960datasourcecontrols,543–544concurrencychecking,555–556handlingerrors,553othertypesofparameters,551–552Pagelifecycle,544parameterizedcommands,549–550selectingrecords,547–548SqlDataSourceclass,545–546updatingrecords,553–555workings,548–549DataSourcevalueConnectionStringproperty,475datatable,updating,508datatypeconversionswebservices,799datatypes,23Seealsovariablesanddatatypesand.
NETlanguages,24classlibrary,24commondatatypes,24referencetypes,67valuetypes,67variableprefixes,26webservicecommunicationlimitations,794webservices,815–816data-accesscomponents,883advantages,883aggregatefunctions,892–893consuming,888–889,891–892INDEX1008errorhandling,891example,884,887DataAdapterclassCommandBuilderobject,507databindingwithdatabases,536dataproviderobjects,472DeleteCommandmethod,508Fillmethod,511selectingdisconnecteddata,500FillSchemamethod,511InsertCommandmethod,508modifyingdisconnecteddata,505properties,499RowUpdatedevent,512selectingdisconnecteddata,498Updatemethod,508updatingdisconnecteddata,507databaseaccessADO.
NET,953–954connectionstrings,477outputcaching,962databaseconnectionstringaddingspecialvariable,160databaseconnectionsADO.
NETclasses,469ConnectionStringproperty,475makingaconnection,478–479numberofconnections,474problemsofstate,456SQLServerauthentication,476Try/Catchblock,474verifyingconnection,478Windowsauthentication,476databaseprofilingandperformance,953databasesSeealsoADO.
NETaccessingdata,453browsingandmodifyinginVisualStudio,458–460commonerrors,209connections,884deploymentconfiguration,438encapsulation,883fileaccess,603internetaccess,455–456isolationfromwebpage,871obtainingsampledatabase,458relationaldatabases,454storedprocedures,883System.
Datanamespace,72transactionsinwebservices,853–855DataBindmethodControlclass,519GridViewcontrol,560ListBoxcontrol,528Pageclass,519single-valuedatabinding,519timingofcallingmethod,523DataBinderclassEvalmethod,572,587System.
Web.
UInamespace,587DataFilepropertyXmlDataSourceclass,675DataFormatStringpropertyBoundFieldclass,564,566GridViewcontrol,566DataItempropertyGridViewRowcontrol,571–572MenuItemcontrol,408DataKeyNamespropertyGridViewcontrol,576DataMemberpropertyControlclass,536TreeViewcontrol,673DataReaderclassClosemethod,481databindingwithdatabases,536dataproviderobjects,472dataretrievalexample,483defining,481Readmethod,481,484retrievingdata,480usingwithCommandobject,481DataReadervalueSqlDataSourceModeenumeration,548DataRelationclassaddingobjectstoDataSet,503instantiating,502restrictions,505System.
Datanamespace,471DataRowclassDeletemethod,506Rowscollection,500DataRowStateenumerationDataSet,storingrowstate,508INDEX1009Finditfasterathttp://superindex.
apress.
com/DataSetclassaddingDataRelationobjects,503addingrowsto,506Clonemethod,68concurrency,512Copymethod,975dataasXML,634databinding,536–537datacaching,960inwebservice,976data-accesscomponentexample,884databaseaccess,457filteringcachedDataSet,974GetChangesmethod,509introductiontoADO.
NET,456modifyingdisconnecteddata,505packagefordata,469ReadXmlSchemamethod,680Removemethod,506retrievingdata,480selectingdisconnecteddata,498storingrowstate,508System.
Datanamespace,471updatingdatabase,457usingdisconnecteddata,497webservicedatatypes,815workingwithrelatedtables,516XMLinADO.
NET,675DataSetpropertyXmlDataDocumentclass,677DataSetvalueSqlDataSourceModeenumeration,548DataSourcepropertyGridViewcontrol,560listcontrols,527DataSourceIDpropertyGridViewclass,561ListBoxcontrol,548Menucontrol,404DataSourceModepropertySqlDataSourceclass,548DataTableclasscaching,981filteringcachedDataSet,975webservicedatatypes,815DataValueFieldpropertylistcontrols,534DataViewclassRowFilterproperty,980Sortproperty,582Datedatatypesformatstrings,568DatepropertyCalendarDayclass,282DateTimeclass,37DateTimeclass,24,36–37AddDaysmethod,53creatingaprofile,771Hourproperty,53members,37–38natureandbehaviorofdatatype,71Nowproperty,53DateTimestructureToString()method,568DaypropertyDateTimeclass,37DayHeaderStylepropertyCalendarcontrolclassstyles,280DayNameFormatpropertyCalendarcontrolclass,284DayOfWeekpropertyDateTimeclass,38DayRendereventCalendarcontrol,282,285,923CalendarDayclass,282DayspropertyTimeSpanclass,38DaysInMonthmethodDateTimeclass,38DayStylepropertyCalendarcontrolstyles,280DBUtilclass,896canbeusedwithObjectDataSourceclass,894instancemethods,884DCOM,789debugattributetag,436debuggingcommandsinbreakmode,112componentsusingVisualStudio,892disablingcachingwhiletesting,962tracing,239–240usingResponse.
Write(),239VisualStudio.
NET,241INDEX1010VisualStudio2005,17,86,110single-stepdebugging,110–111Decimalclass,24decimaldatatypenatureandbehavior,71numericformatstring,567declarativeeventhandling,62–64deeplanguageintegration.
Seelanguageintegrationdefaultbuttonwebcontrols,178default.
aspxdefaultloginpage,693DefaultButtonpropertyHtmlFormclass,178Panelcontrol,178DefaultCredentialspropertyCredentialCacheclass,845DefaultModepropertyDetailsViewclass,897DefaultValueattributetag,769controldesigntimesupport,935delegates,48–49description,70events,49DeletemethodDataRowclass,506Directoryclass,605DirectoryInfoclass,611Fileclass,606FileInfoclass,611Deletestatement,468datadeletionexample,495–497executing,486SQLbasicconcepts,461DeleteCommandmethodDataAdapterclass,499,508SqlDataSourceclass,547,554,580DeleteCommandTypepropertySqlDataSourceclass,547Deletedeventdatasourcecontrols,545SqlDataSourceclass,553DeleteInactiveProfilesmethodProfileManagerclass,780DeleteMethodmethodObjectDataSourceclass,895DeleteProfilemethodProfileManagerclass,780DeleteProfilesmethodProfileManagerclass,780DeleteRolemethodRolesclass,751DeleteUsermethodMembershipclass,729deletingdatamodifyingdisconnecteddata,505Deletingeventdatasourcecontrols,545denyruletag,697web.
configsettings,708dependenciesCacheclasssupportfor,970caching,982–992dependenciesparameterInsertmethod,Cacheclass,971deployingasimplesite,436–437ASPNETaccount,438–441codecompilation,441–442configurationsteps,437–438webapplicationsandcomponents,437deployment,411databaseconfiguration,438IISsecuritysettings,438registeringcomponents,122VisualStudio2005,86Windowsaccountpermissions,438XCopydeployment,437deploymentwithVisualStudio2005,442copyinganewwebsite,446–448creatingavirtualdirectoryforanewproject,443–444publishinganewwebsite,448–449descriptionattributeconfiguringmembershipprovider,723Descriptionattributecontroldesigntimesupport,935designtimesupportattributes,935customcontrols,934designviewswitchingtocodeview,100design-timesupportcustomcontrols,934INDEX1011Finditfasterathttp://superindex.
apress.
com/DestinationPageUrlpropertyLogincontrol,737,740DetailsViewclassAutoGenerateDeleteButtonproperty,555AutoGenerateEditButtonproperty,554AutoGenerateInsertButtonproperty,555AutoGenerateRowsmethod,550DefaultModeproperty,897defining,897DetailsViewcontrol,559,597definingfields,599–601introduction,598–599repeated-valuedatabinding,526Dictionarycollectiondatabinding,532–534System.
Collections.
Genericnamespace,532DigestmodeWindowsauthenticationmethods,707digitalcertificatesSSLworkings,691directdataaccess,473introduction,473–474directoriesSeealsovirtualdirectoriesauthorizatingaccessto,695creatingvirtualdirectories,424getting,153directoryauthenticationmethods,706directoryauthenticationmethods,706directorybrowsingpermissionVirtualDirectoryCreationWizard,429Directoryclassintroduction,605–607,609–610methods,605–606intuitivenatureof,606System.
IOnamespace,604DirectorypropertyFileInfoclass,612directorysecuritysettings,706DirectorySecuritytabvirtualdirectories,434DirectoryInfoclasscreating,612GetDirectoriesmethod,613GetFilesmethod,613methods,611Nameproperty,617properties,611System.
IOnamespace,604,610DirectoryNamepropertyFileInfoclass,612DirectorySecurityclassSystem.
Security.
AccessControlnamespace,606disabledaccounts,734DisabledpropertyHtmlControlclass,149DISCOWebServiceDiscovery,795webservicestandards,791disconnectedaccess,303ADO.
NETcharacteristics,456–457updatingdataissues,457disconnecteddataupdating,507CommandBuilderclass,507concurrency,512–513,516conflicts,508–509example,510–511updatingatable,508disconnecteddataaccessaddinginformationtoDataSet,506DataSetclass,497modifying,505–506multipletables,500–505selectingdata,498–499discoveryfilesTerraServicewebservice,856DisplaypropertyBaseValidatorclass,258RangeValidatorcontrol,262DisplayModepropertyBulletedListcontrol,183ValidationSummarycontrol,262DisplayRememberMepropertyLogincontrol,740DisplaySidebarpropertyCreateUserWizardcontrol,743DisplaySideBarpropertyWizardcontrol,296DisposemethodConnectionclass,479INDEX1012DISTINCTkeyword,465distributedtechnologies.
NETFrameworkcharacteristics,17tags,135,197,350,352grouping,126insertingformattedtext,133relatedcontrolclasses,169styleattribute,124,905DivideByZeroExceptionclass,209,212,214,218,832catching,221throwingexceptions,221divisionoperator/,30.
dllfiles,74DNS(DomainNameService)DNSregistry,413gettingDNSname,153networks,413Do.
.
.
Loopblock,41,44DOCUMENTobjectconfiguringinVisualStudio,96DocumentpropertyXmlwebcontrol,668documenttabvirtualdirectories,430documentationtagsWSDLdocument,807DocumentContentpropertyXmlwebcontrol,668DocumentSourcepropertyXmlwebcontrol,668domainnamesDNS(DomainNameService),413IPaddresses,413domainparameterWSDL.
exeparameters,825__doPostBack()function,193,937receivingbuttonevents,938DottedvalueBorderStyleenumeration,172Doubleclass,24doubledatatypenatureandbehavior,71DoublevalueBorderStyleenumeration,172drawingspaceGDI+,943DrawXyzmethodsGraphicsclass,944DriveFormatmethodDriveInfoclass,613DriveInfoclassintroduction,612–613methods,613System.
IOnamespace,604DriveTypemethodDriveInfoclass,613DropDownListcontrol,178repeated-valuedatabinding,526tagunderlying,169selectingrecordswithSqlDataSource,548DurationattributeOutputCachedirective,962dynamicgraphicsbasicdrawing,943–945drawingcustomtext,946–947GDI+,943,947placingimagesinsidewebpages,947–948dynamicwebpagesISAPIandASP.
NET,6dynamicallygeneratedtableexample,185–186DynamicHoverStylepropertyMenucontrol,406DynamicMenuItemStylepropertyMenucontrol,406DynamicMenuItemTemplatepropertyMenucontrol,407DynamicMenuStylepropertyMenucontrol,406DynamicSelectedStylepropertyMenucontrol,406Ee-cardapplet,197–200,202generatingautomatically,205improving,202–204E-commercesitesdatadrivenASP.
NETapplications,455EditItemIndexpropertyGridViewcontrol,593EditItemTemplateclass,590EditRowStylepropertyGridViewcontrol,568INDEX1013Finditfasterathttp://superindex.
apress.
com/elementsHTMLandXML,636specifyingthattheybelongtoXMLnamespace,659Xmldocuments,654ellipse,drawingandfillingwithGraphicsclass,944emailaddressregularexpression,269EmptyDataRowStylepropertyGridViewcontrol,569EmptyDataTemplateclass,590EnableCachingpropertySqlDataSourceclass,548EnableCachingvalueCacheItemRemovedReasonenumeration,978EnableClientScriptpropertymanualvalidation,264RangeValidatorcontrol,261EnableClientSideScriptpropertyBaseValidatorclass,259Enabledattribute,tracing,251EnabledpropertyBaseValidatorclass,259WebControlclass,172enablePasswordResetattributeconfiguringmembershipprovider,724enablePasswordRetrievalattributeconfiguringmembershipprovider,724EnableSessionpropertyWebMethodattribute,835EnableViewStatedisablingviewstate,952EnableViewstatepropertiesdatabindingandviewstate,532EnableViewStatepropertyHtmlControlclass,149Labelcontrol,260Pageclass,151repeatercontrol,933WebControlclass,172,931enableViewStateMacattributeelement,306encapsulation,867,871data-accesscomponents,883example,887encryptionformsauthentication,701impersonation,712securitycookies,693SSL,690–691viewstate,306enctypeattributetag,631EndRequestevent,342Applicationclass,340EndsWithmethodStringclass,36enumeratedvalues,174enumerations,28–29briefdescription,908description,70introduction,174webservicedatatypes,815equaltooperator(==),40equalitytesting,68Stringclass,70errorcheckingdatabinding,525VisualStudio2005,86errordetectionVisualStudio2005,17errorhandling,209.
NET,210databasecomponent,891errormodes,236modifyingweb.
configfile,236errorpages,211,234,236customerrorpages,237–239structuredexceptionhandling,220tag,239errorunderliningIntelliSense,104–105ErrorCodeenumeration,29ErrorMessagepropertyBaseValidatorclass,258manualvalidation,265errorsbehaviors,238CLRand,15commonerrors,209,211customexceptionclasses,222–223,225ErrorsTotalcounterperformancecounters,958INDEX1014EvalmethodDataBinderclass,572,587SiteMapPathcontrol,395eventhandlingaddinghandlersinPropertieswindow,100addinghandlersinVisualStudio2005,100–101AdRotatorcontrol,288buildingabasicclass,61–64code-behindclass,135HtmlInputButtonclass,133multipleevents,965subclassingcontrols,923TablePageclass,186,188validatorcontrols,272eventloggingSeealsologgingeventspotentialproblems,226tips,231,234EventViewerutility,228EventArgsclass,910using,913EventArgsobjectpassingadditionalinformation,147EventHandlerdelegateSystemnamespace,911EventLogclasscreatingcustomlogs,230–231retrievingloginformation,231security,229System.
Diagnosticsnamespace,227eventsapplicationevents,342AutoPostBackproperty,191,205buildingabasicclass,61connectingdeclaratively,62–64CtrlChanged()subroutine,197customcontroleventsandpostbacks,937,939–941,943delegates,49eventtrackerapplication,195EventArgsobject,147HTMLservercontrols,128,146HtmlInputImagecontrol,147–148introductiontoclasses,52Page.
Loadevent,140passinginformationwithevents,912–915runat=serverattribute,139usercontrolevents,910–912webcontrols,191webforms,133XmlDocumentclass,658ExcepsThrowncounterperformancecounters,959Exceptionclasscatchingexceptionsinheritedfrom,216InnerExceptionproperty,213–214properties,212Systemnamespace,212throwingexceptions,221exceptionclassesandinheritingfrom,212exceptionhandlingCatchstatements,215–216classes,212DivideByZeroexception,214example,218–220exceptionchains,213–214Exceptionclass,212keyfeatures,211loggingexceptions,225–226nestedexceptionhandlers,216–218nullreferenceexception,218overlappinghandlers,217structuredexceptionhandling,211keypoints,220Try/Catchblocks,215troubleshooting,212ExceptionpropertySqlDataSourceStatusEventArgsclass,553exceptiontypes,211ExceptionHandledpropertySqlDataSourceStatusEventArgsclass,553exceptionscatchingsameclassexceptions,216customexceptionclasses,222–223,225throwingexceptions,220–222.
exefiles,74ExecutePermissionVirtualDirectoryCreationWizard,430ExecuteNonQuerymethodCommandclass,486dataupdateexample,495ExecuteReadermethodCommandclass,481INDEX1015Finditfasterathttp://superindex.
apress.
com/ExistsmethodDirectoryclass,605Fileclass,606ExistspropertyDirectoryInfoclass,611FileInfoclass,611ExpandDepthpropertyTreeViewcontrol,398ExpandImageUrlpropertyTreeViewcontrol,398explicittypeconversions,33Exponentialdatatypenumericformatstring,567extensibilityVisualStudio2005,86ExtensionpropertyDirectoryInfoclass,611FileInfoclass,611FFailureStylepropertyLogincontrol,738FailureTextpropertyLogincontrol,737,740fields,declaring,54Fieldsdialogbox,570fileaccesscookies,619databases,603guestbookexample,622–627sharedmethodsorinstanceclasses,605simplefileaccess,604webapplications,603–604filebrowsercreating,613–617FileclassCreateTextmethod,617GetAttributesmethod,609introduction,605–607,609methods,606,621intuitivenatureof,606Openmethod,619OpenTextmethod,617,619OpenWritemethod,620state,881System.
IOnamespace,604filemappingschangingweb.
configfile,158registering,420–421virtualdirectories,431–433filereferences,877filetypesASP,122ASP.
NET,121.
ascxfiles,121.
asmxfiles,121.
aspxfiles,121global.
asaxfile,121web.
configfiles,121restrictedfiletypes,684fileuploads,627maximumsize,630FileAttributesenumeration,606creatingafilelist,609FileInfoclasscreating,612creatingafilelist,610methods,611–612Nameproperty,617properties,611–612state,881System.
IOnamespace,604,610FileNotFoundExceptionclass,213filesauthorizatingaccessto,696creatingafilelist,607readingandwritingtextfiles,617–617retrievingfilesize,606retrievinginformationabout,604shortcutsforreadingandwritingfiles,621–622usingfileswithwebapplications,603FileStreamsavingimagestovalidstream,945FileStreamclassSystem.
IOnamespace,106FileUploadcontrolinputtype=filetag,628PostedFileclass,628FillmethodDataAdapterclass,500,511FillSchemamethodDataAdapterclass,511INDEX1016FillXyzmethodsGraphicsclass,944Finallyblock,479dataretrievalexample,484FindControlmethodCreateUserWizardcontrol,744Pageclass,265FindInactiveProfilesByUserNamemethodProfileManagerclass,780FindProfilesByUserNamemethodProfileManagerclass,780FindSiteMapNodemethodSiteMapProviderclass,390FindUsersByEmailmethodMembershipclass,730FindUsersByNamemethodMembershipclass,730FindUsersInRolemethodRolesclass,751FinishButtonClickeventCreateUserWizardcontrol,743Wizardcontrol,300FinishCompleteButtonStylepropertyWizardcontrol,302FinishPreviousButtonStylepropertyWizardcontrol,302FirstBulletNumberpropertyBulletedListcontrol,183FirstChildpropertyXmlNodeclass,657FirstDayOfWeekpropertyCalendarcontrol,279,284FirstNamepropertyProfileclass,770flatfiles,readingandwritingstreams,617FlushmethodStreamWriterclass,618focus,controllosingfocus,927Focus()methodwebcontrols,177–178folders.
Seewebfoldersfolderswithaglobeicon,427FontpropertyWebcontrols,175–176WebControlclass,172FontInfoclassproperties,176System.
Web.
UI.
WebControlsnamespace,172,175fonts,drawingcustomimages,947FontUnittype,176Footerclasscodeforintegratedusercontrol,908–910footerusercontrolsnoninteractivecontrols,905footers,usercontrolfooters,904FooterStylepropertyBoundFieldclass,564GridViewcontrol,569FooterTemplateclass,590FooterTextpropertyBoundFieldclass,564For.
.
.
Nextblock,42ForEachblock,41,43ForeColorpropertyBaseValidatorclass,258TextBoxclass,916TextBoxcontrolclass,170ValidationSummarycontrol,262WebControlclass,172FormclassIsValidproperty,261,264tag,5,124,131ASP.
NETcontrols,130enctypeattribute,631HtmlFormclass,132processingasaservercontrol,129forms,cookiesecurity,323formsauthentication,691ASP.
NETmodel,692attributes/settings,693–694authorizationrules,694accessforspecificusers,697accesstospecificdirectories,695accessingspecificfiles,696settingupwithWAT,697,699–700customcookies,691impersonation,711loginpage,700–702retrievinguseridentity,703signingout,704restrictinganonymoususers,694stepstoimplement,693INDEX1017Finditfasterathttp://superindex.
apress.
com/webservices,843,847web.
configsettings,693formscollectiontracing,246tagweb.
configsettings,693FormsAuthenticationclassmethodsandproperties,701RedirectFromLoginPagemethod,702System.
Web.
Securitynamespace,701FormsCookieNamepropertyFormsAuthenticationclass,701FormsCookiePathpropertyFormsAuthenticationclass,701FormsViewclassdefining,897FormViewcontrol,559,597introduction,601–602repeated-valuedatabinding,526fragmentcaching,960cachinggenericportionofpage,963OutputCachedirective,968frametargetsAdRotatorclass,287framescomparedtomasterpages,344Friendkeyworddescription,55FromclauseSelectstatement,463FromImagemethodGraphicsclass,943FromxyzmethodsTimeSpanclass,38FTPdirectoryreviewingcontents,606FullNamepropertyDirectoryInfoclass,611FileInfoclass,611Functionkeyword,45functions,45methodsusingfunctions,887parametersignatures,47webservicevisibility,818FundTransfermethodAccountUtilityclass,882GGAC(GlobalAssemblyCache)sharedassemblies,437garbagecollection,14GDI+,943advancedfeatures,945Bitmapclass,943drawingcustomimages,947drawingcustomtext,946–947drawingspace,943dynamicgraphics,943,947graphicscontext,943Generaldatatypeformatstring,568GeneratePasswordmethodMembershipclass,730genericcollectionsrepeated-valuedatabinding,529generics,82–83GeoTrustcertificateauthority,689getaccessor,57–58GetAccessControlmethodDirectoryclass,606Fileclass,606GetAllInactiveProfilesmethodProfileManagerclass,780GetAllProfilesmethodProfileManagerclass,780GetAllRolesmethodRolesclass,751GetAllUsersmethodMembershipclass,730,732GetAttributesmethodFileclass,606,609GetAuthCookiemethodFormsAuthenticationclass,701GetBaseExceptionmethodExceptionclass,212GetCategoriesmethoddatabasecomponentexample,884ObjectDataSourceclass,895GetChangesmethodDataSetclass,509GetCreationTimemethodDirectoryclass,605Fileclass,606INDEX1018GetCurrentDirectorymethodDirectoryclass,605GetDirectoriesmethodDirectoryclass,605DirectoryInfoclass,611,613GetDrivesmethodDriveInfoclass,613GetElementByIdmethodXmlDocumentclass,658GetElementsByTagNamemethodXmlDocumentclass,658GetFileNamemethodPathclass,630GetFilesmethodDirectoryclass,605,609DirectoryInfoclass,613GetFilesmethodDirectoryInfoclass,611GetHierarchcialViewmethodXmlDataSourceclass,672GetInfomethodcreatingcomponents,879GetItemsmethoddatabasecomponentexample,884ObjectDataSourceclass,895overloadingindatabasecomponentexample,887GetLastAccessTimemethodDirectoryclass,605Fileclass,606GetLastWriteTimemethodDirectoryclass,605Fileclass,606GetLogicalDrivesmethodDirectoryclass,605GetLowerBound()methodArrayclass,39GetNames()methodEnumclass,203GetNumberOfInactiveProfilesmethodProfileManagerclass,780GetNumberOfProfilesmethodProfileManagerclass,780GetNumberOfUsersOnlinemethodMembershipclass,730GetParentmethodDirectoryclass,605GetPasswordmethodMembershipUserclass,731GetPlaceFactsmethodTerraServicewebservice,859GetPlaceListmethodTerraServicewebservice,859,862GetPostBackEventReferencemethodIPostBackEventHandlerinterface,939Pageclass,937GetProfilemethodProfileclass,783GetPropertyValuemethodProfileBaseclass,769GetRedirectUrlmethodFormsAuthenticationclass,701GetRolesForUsermethodRolesclass,751GetStockQuotemethodStockQuotewebservice,836–837GetStockUsagemethodStockQuotewebservice,836–837GetTilemethodTerraServicewebservice,862GetTileMetaFromLonLatPtmethodTerraServicewebservice,862GetUpperBound()methodArrayclass,39GetUsermethodMembershipclass,729GetUserNameByEmailmethodMembershipclass,730GetUsersInRolemethodRolesclass,751global.
asaxfiledescription,122global.
asaxfile,340–341description,121GlobalSigncertificateauthority,689graphics,embeddingdynamicgraphics,947Graphicsclassdrawingmethods,944FillXyzmethods,944FromImagemethod,943System.
Drawingnamespace,943workingwithpixels,945INDEX1019Finditfasterathttp://superindex.
apress.
com/graphicscontextBrushobject,945GDI+,943Penobject,945greaterthanoperator(>),40greaterthanorequaltooperator(>=),40greetingcardapplet,197–200,202generatingautomatically,205improving,202–204gridlayoutfeatureVisualStudio2005,94GridLinespropertyGridViewcontrol,566GridViewcontrol,559AutoFormatfeature,625AutoGenerateColumnsproperty,781automaticallygeneratingcolumns,560–561configuringcolumns,563DataSourceIDproperty,561definingcolumns,562–563editingtemplatesinVisualStudio,590–591editingwith,578–580editingwithtemplates,592–593validation,595withoutCommandcolumn,596fileaccessexample,623formatting,566configuringstyleswithVisualStudio,570–571formattingfields,566–568specificvalues,571–572styles,568–570generatingcolumnswithVisualStudio,565–566handlingeventsintemplates,591–592multipletemplates,589paging,581,584–586repeated-valuedatabinding,526selectingrows,573addingselectbutton,574sorting,581–584templates,587–588usingadatafieldasselectbutton,575–576usingselectiontocreatemaster-detailsform,576–577GridViewRowcontrolCellscollection,571DataItemproperty,571–572GridViewRowEventArgsclassRowproperty,572GroovevalueBorderStyleenumeration,172elementorganizingprofileproperties,773groups,profiles,773–774guestbook,fileaccessexample,622–627Guest,defaultWindowsroles,709GUID(globallyuniqueidentifier)usingfileswithwebapplications,603HHandleskeyword,63,100HashPasswordForStoringInConfigFilemethodFormsAuthenticationclass,701HashtablecollectionSystem.
Collectionsnamespace,532tagHtmlHeadclass,132runat=serverattribute,349HeaderImageUrlpropertyBoundFieldclass,564headerscachingbasedonHTTPheader,968usercontrolheaders,904headerscollectiontracing,246HeaderspropertyHttpRequestclass,153HeaderStylepropertyBoundFieldclass,564GridViewcontrol,568,570Wizardcontrol,302HeaderTemplateclass,590HeaderTextpropertyBoundFieldclass,564ValidationSummarycontrol,262HeightpropertyHtmlImageclass,133,146HtmlInputImageclass,133WebControlclass,172HelpLinkpropertyExceptionclass,212INDEX1020HelpPageIconUrlpropertyLogincontrol,741HelpPageTextpropertyLogincontrol,740HelpPageUrlpropertyLogincontrol,740HorizontalPaddingpropertyTreeNodeStyleclass,399HourpropertyDateTimeclass,37,53HourspropertyTimeSpanclass,38HoverNodeStylepropertyTreeViewcontrol,401HrefpropertyHtmlAnchorclass,133HTMLaddingcontrols,133addingtowebpagesinVisualStudio2005,96–98automaticallymanagingcodeindesignerwindow,520basicsyntaxrules,126currencyconverter,124formattingtext,4specialcharacters,157stylebuilder,VisualStudio2005,96–98tutorialresources,5,126HTMLcontrolsproperties,133HTMLelementscomparedtoXMLelements,636interfacewithHTMLservercontrols,128HTMLencodingHttpServerUtilityclass,152HTMLformscontrols,5description,5HTMLservercontrols,127–128,131–132,145adding.
aspxfilevariables,133code-behindclass,133EventArgsobject,147events,146inheritance,149postback,189runat=serverattribute,129ServerChangeevent,147ServerClickevent,147state,128Stylecollection,144webcontrolscompared,167HTMLtablesaddingtowebpagesinVisualStudio2005,98–99HTMLtags,4tag,131,169tag,131tags,124,133,135,169,197tag,5,124,129,131tag,132tag,132,169tag,124,132,169tag,169tag,132,139,169tag,169tag,132,169tag,132,169tag,132tag,132,169tag,132tag,132,169tag,169HtmlAnchorclass,131properties,133HtmlButtonclass,131HtmlContainerControlclass,150properties,150HtmlControlclassasbaseclass,149inheritancefrom,145properties,149HtmlDecodemethodHttpServerUtilityclass,156ServerUtilityclass,155HtmlEncodemethodencodingspecialHTMLcharacters,156HttpServerUtilityclass,155replacingspecialcharacters,156ServerUtilityclass,156HtmlEncodepropertyBoundFieldclass,564,567INDEX1021Finditfasterathttp://superindex.
apress.
com/HtmlFormclass,132currencyconverterexample,133DefaultButtonproperty,178HtmlGenericControlclass,132currencyconverterexample,133properties,133HtmlHeadclass,132HtmlImageclass,132properties,133,146HtmlInputButtonclass,132currencyconverterexample,133ServerClickevent,133HtmlInputCheckBoxclass,132properties,133HtmlInputControlclassproperties,151HtmlInputFileclass,132,631HtmlInputHiddenclass,132HtmlInputImageclass,132properties,133ServerClickeventhandler,147using,148HtmlInputImagecontrolEventArgsobject,147events,147–148HtmlInputPasswordclass,132HtmlInputRadioButtonclass,132HtmlInputRadioButtoncontrolproperties,133HtmlInputResetclass,132HtmlInputSelectclassstoringinformationinthelist,141HtmlInputSubmitclass,132HtmlInputTextclass,132currencyconverterexample,133properties,133HtmlSelectclass,132properties,133repeated-valuedatabinding,526HtmlTableclass,132HtmlTableCellclass,132HtmlTableRowclass,132HtmlTextAreaclass,132properties,133HtmlTextWriterclass,930HtmlTitleclass,132HtmlWriterclassWritemethod,926HTTPstatelessprotocol,456transmissionofwebservices,799webservicestandards,791HTTPchannelswebservices,789HTTPGET,792SOAPmessageformatcompared,793HTTPheadersname/valuecollection,153HTTPPOST,792SOAPmessageformatcompared,793webservicestesting,815HttpApplicationclassSystem.
Webnamespace,137HttpApplicationStateclassSystem.
Webnamespace,337HttpBrowserCapabilitiesclasslinkingto,153HttpContextCurrentproperty,806HttpContext.
CurrentclassCacheproperty,976HttpCookieclasssettingcookies,321HttpCookieModeenumerationvalues,330HttpForbiddenHandlerclassrestrictedfiletypes,684System.
Webnamespace,684HttpRequestclass,153currentwebrequest,151properties,153HttpResponseclass,154members,154settingwebresponse,151HttpServerUtilityclass,154–156methods,155URLandHTMLencoding,152HttpSessionStateclassAbandonmethod,328members,325System.
Web.
SessionStatenamespace,324Hyperlinkcontrolclasstagunderlying,169querystrings,317HyperlinkFieldcolumntypeGridViewcontrol,562INDEX1022HyperLinkStylepropertyLogincontrol,738IIButtonControlinterfaceimplementation,178PostBackUrlproperty,311iconsdrawingwithGraphicsclass,944webfolders,427IDataSourceinterfaceimplementedbydatasourcecontrols,543identities,understanding,704IdentitypropertyUserclass,704,709tagweb.
configfile,711If.
.
.
EndIfblocks,40IIS(InternetInformationServices),416–417ASP.
NETinteraction,688ASP.
NETSecurityModel,interactionwith,685configurationchanges,124creatingasimpleapplication,136,801deploymentconfiguration,438installingIIS5,417–418installingIIS6,418,420managingvirtualdirectories,426registeringfilemappings,420–421verifyingASP.
NETinstallation,421–422webrequests,685webservices,790Windowsauthentication,705IISManager,423IL(IntermediateLanguage)andcodetransparency,16convertingcodeto,22description,12Imagecontroladdinglinkedimages,142usinginsteadoftag,396placingimagesinsidewebpages,947Saveclass,945,947tagunderlying,169ImageButtoncontrol,591implementsIButtonControlinterface,178tagunderlying,169ImageClickEventArgsclass,147System.
Web.
UInamespace,147ImageFieldcolumntypeGridViewcontrol,562imagesaddinglinkedimages,142drawinganimagewithGraphicsclass,944drawingcustomimages,GDI+,947graphicscontext,943savingtovalidstream,945sizingbitmapscorrectly,943elementAdvertisementFile,287ImageUrlpropertyTreeNodeStyleclass,399tag,345,354addingtomasterpage,354–355HtmlImageclass,132placingimagesinsidewebpages,947relatedcontrolclasses,169usinganImagecontrolinstead,396ImpersonatemethodWindowsIdentityclass,712impersonation,684,711encryption,712programmaticimpersonation,712implicittypeconversions,33Importsstatementcomparedtoaddingreferences,108–109namespaces,74elementAdvertisementFile,287independentusercontrols,905–907indexes,improvingdatabaseperformance,953IndexOfmethodArrayclass,39Stringclass,36infrastructure.
NETFrameworkcharacteristics,17inheritance,76–77configurationinheritance,159customcontrols,916customexceptionclasses,222–223,225HTMLservercontrols,145HtmlControlclass,149INDEX1023Finditfasterathttp://superindex.
apress.
com/subdirectories,159UserControlandPageclasses,902webcontrols,172,929webpages,151InitmethodPageclass,316,545InitialCatalogvalueConnectionStringproperty,475initializers,25InnerExceptionpropertyExceptionclass,212–214exceptionclasses,211,224InnerHtmlpropertyHtmlContainerControlclass,150InnerTextpropertyHtmlContainerControlclass,150HtmlGenericControlclass,133transformations,155XmlNodeclass,657InnerXmlpropertyXmlNodeclass,657InProcvaluemodeattribute,tag,333tag,124HtmlXyzclasses,132OnServerClickattribute,135relatedcontrolclasses,169typeattribute,132inputtype=filetagFileUploadcontrol,628InsertmethodCacheclass,970Insertstatement,467–468datainsertionexample,489executing,486SQLbasicconcepts,461InsertmethodStringclass,36InsertAftermethodXmlAttributeclass,657XmlDocumentclass,654InsertBeforemethodXmlAttributeclass,657XmlDocumentclass,654InsertCommandmethodDataAdapterclass,499,508SqlDataSourceclass,547,554,580InsertCommandTypepropertySqlDataSourceclass,547InsertedeventSqlDataSourceclass,553InsertVisiblepropertyBoundFieldclass,564InsetvalueBorderStyleenumeration,172InstalledFontCollectionclassSystem.
Drawing.
Textnamespace,202InstallSqlState.
sqlscript,336instancemembers,53instancemethodsDBUtilclass,884instantiationNewkeyword,55–56InstructionTextpropertyLogincontrol,738,740InstructionTextStylepropertyLogincontrol,738Int16class,24Int32class,24Int32datatypenatureandbehavior,71Int64class,24IntegratedmodeWindowsauthenticationmethods,707integratedsecuritysettingConnectionStringproperty,476integratedusercontrolscomparedtoindependentusercontrols,905introduction,907–911IntelliSenseAutoCorrect,106colors,107errorunderlining,104–105memberlist,103overloading,103possiblevaluesforenumerations,30VisualStudio2005,17,102interactivecontrols.
SeeintegratedusercontrolsinterfacesSeealsoobjectinterfaceHTMLservercontrols,128Internetevolution,3INDEX1024InternetapplicationsCOMrevolution,788shortcomingsofcurrentarchitecture,787webservices,789–790InternetInformationServices.
SeeIISInternetServerApplicationProgrammingInterface.
SeeISAPIintranetsecurity,688InvokemethodSoapHttpClientProcotolclass,827IOExceptionclassSystem.
IOnamespace,212IPaddressesdomainnames,413getting,153IPostBackEventHandlerinterfaceGetPostBackEventReferencemethod,939handlingpostbacks,939RaisePostBackEventmethod,939–940Iskeyword,68IsAnonymouspropertyProfileInfoclass,780ISAPI(InternetServerApplicationProgrammingInterface)ASP.
NETlink,6introduction,6IsApprovedpropertyMembershipUserclass,734IsAuthenticatedpropertyHttpRequestclass,153IsCookielesspropertyHttpSessionStateclass,325IsInRolemethodUserclass,704,752IsLeapYearmethodDateTimeclass,38IsNewSessionpropertyHttpSessionStateclass,325ISOSortableStandarddatatypeformatstring,568isolationasreasontoavoidclient-sideprogramming,8IsOtherMonthpropertyCalendarDayclass,282IsPostBackpropertydatabindingandviewstate,532Pageclass,140,151,535IsReadymethodDriveInfoclass,613IsSecureConnectionpropertyHttpRequestclass,153IsSelectablepropertyCalendarDayclass,282IsTodaypropertyCalendarDayclass,282IsUserInRolemethodRolesclass,751IsValidpropertyBaseValidatorclass,259Formclass,261,264Pageclass,277IsWeekendpropertyCalendarDayclass,282ItalicpropertyFontInfoclass,176itemparameterInsertmethod,Cacheclass,971ItemspropertyHtmlSelectclass,133listcontrol,140ItemStylepropertyBoundFieldclass,564ItemTemplateclass,590constructing,587IUSER_[ServerName]accountWindowsauthentication,705IUSR_[ServerName]accountAnonymousauthentication,707ASP.
NETcode,686ASP.
NETsecurity,686non-ASP.
NETsecurity,686JJ#choosingbetweenlanguages,21Javawebservices,789JavaScriptfunctions__doPostBack()function,193Join()methodStringclass,36INDEX1025Finditfasterathttp://superindex.
apress.
com/KkeyparameterInsertmethod,Cacheclass,971elementAdvertisementFile,287KeywordFilterpropertyAdRotatorcontrol,288KnownColorenumerationSystem.
Drawingnamespace,203LLabelcontrolEnableViewStateproperty,260enablingviewstatefor,305tag,underlying,169Textproperty,233,521validationexample,259–261LabelStylepropertyLogincontrol,738LAN(LocalAreaNetwork),413languageintegration,15languageparameterWSDL.
exeparameters,825languageschoosinga.
NETlanguage,21evolutionofVisualBasic,22preferences,getting,153LastAccessTimepropertyDirectoryInfoclass,611FileInfoclass,611LastActivityDatepropertyProfileInfoclass,780LastChildpropertyXmlNodeclass,657LastIndexOfmethodArrayclass,39Stringclass,36LastUpdatedDatepropertyProfileInfoclass,780LastWriteTimepropertyDirectoryInfoclass,611FileInfoclass,611LeafNodeStylepropertyTreeViewcontrol,401LengthpropertyArrayclass,39FileInfoclass,612Length()methodStringclass,36lessthanoperator(tagunderlying,169Clickevent,914Commandevent,914implementsIButtonControlinterface,178LinkClickedEventArgsclass,913LinkMenuusercontrol,907examplethatusesevents,910noninteractivecontrols,905listbinding,518ListclassSystem.
Collections.
Genericsnamespace,83listcontrols,178–179AutoPostBackproperty,534BulletedListcontrol,182databindingwith,526data-boundlistcontrolsexample,537–543DataSourceproperty,527DataValueFieldproperty,534Itemsproperty,140multiplebinding,529–530multiple-selectlistcontrols,179–182repeated-valuedatabinding,526SelectedIndexproperty,179validation,275INDEX1026ListBoxclass,178AutoPostbackproperty,485,896dataretrievalexample,483DataBindmethod,528DataSourceIDproperty,548multipleselections,179repeated-valuedatabinding,526tagunderlying,169SelectedItemproperty,534SelectedValueproperty,896,898ListItemclassproperties,179storinginformationinthelist,141ListSelectionModeenumerationMultiplevalue,179literalsregularexpressions,266–267LoadeventPageclass,140,545,910UserControlclass,903LoadmethodPageclass,316XmlDocumentclass,655XslCompiledTransformclass,665load-generatingtoolstresstesting,956LoadControlmethodPageclass,905LoadControlStatemethodControlclass,933localvariables,54localOnlyattributetracing,251LocalsvariablewatchwindowVisualStudio2005,114Locationattributeclient-sidecaching,962tagweb.
config,696LockmethodApplicationstatecollection,338lockingperformance,338usingfileswithwebapplications,604web.
configfile,157Logsubroutineloggingevents,197LoggedIneventLogincontrol,737LoggedInTemplatesectionLoginViewcontrol,753logging,209loggingeventsSeealsoeventloggingcustomlogs,230–231eventLogsecurity,229eventtrackerapplication,195EventLogclass,227–228,230Logsubroutine,197retrievingloginformation,231,233loggingexceptions,225–226logginginformsauthentication,701loggingoutformsauthentication,701loggingtools,225LoggingIneventLogincontrol,737logicaloperators,40Logincontrol,735–736CreateUserUrlproperty,738events,737InstructionTextproperty,738PasswordRecoveryUrlproperty,738properties,737,739–741styleproperties,738loginpagedefault,693formsauthentication,693,700–702retrievinguseridentity,703signingout,704FormsAuthenticationclass,701LoginButtonImageUrlpropertyLogincontrol,740LoginButtonStylepropertyLogincontrol,738LoginButtonTextpropertyLogincontrol,740LoginButtonTypepropertyLogincontrol,740INDEX1027Finditfasterathttp://superindex.
apress.
com/LoginCreatedUserpropertyCreateUserWizardcontrol,742LoginErroreventLogincontrol,737LoginNamecontrol,735LoginStatuscontrol,735loginUrlattributeformsauthenticationsettings,693LoginViewcontrol,735,753–754settingcontentforroles,752LongDateandLongTimedatatypeformatstring,568LongDateandShortTimedatatypeformatstring,568LongDatedatatypesformatstring,568loopstructures,41–42Do.
.
.
Loopblock,44forblock,42ForEachblock,43lstFontNamecontrolfillingwithfontlist,202LuhnalgorithmCustomValidatorcontrol,270regularexpression,270Mmachine.
configfiledeploymentconfiguration,438membershipsection,724restrictedfiletypes,684XML,633MailMessageEventArgsclassCancelproperty,746Messageclass,746ManageAccessRuleslinkWAT,700manageabilityadvantageofcomponents,868manualvalidation,264–265many-to-manyrelationshipsusingdisconnecteddata,500MapPathmethodHttpServerUtilityclass,155mappingurls,391–392MapPointwebservices,864Masterdirective,348masterpages,343advanced,355code,360interactingwithprogrammatically,360–362table-basedlayouts,355–357,359bindingtositemaps,381–383connectiontocontentpages,348–350defaultcontent,353–354tag,adding,354–355introduction,343multiplecontentregions,350–352nesting,360newfeaturesinASP.
NET2.
0,19relativepaths,354–355simplemasterpageandcontentpageexample,345–348MasterpropertyPageclass,361MasterPageFileattributePagedirective,349matchingpatternsregularexpressions,266MathclassSystemnamespace,32useofstaticmembers,77Maxfunction,465MaxDataBindDepthpropertyTreeViewcontrol,388,398maxInvalidPasswordAttemptsattributeconfiguringmembershipprovider,724maxRequestLengthsettingweb.
configfile,630measurements.
SeeUnitstructuremembervariablesdeclaring,54retainingusingviewstate,307–309sessionstateexample,326members,introductiontoclasses,53memberslistIntelliSense,103membership,715features,715membershipdatastore,716–717authentication,733–734configuringmembershipprovider,720–725INDEX1028creatinguserswithWAT,727–729disabledaccounts,734manuallycreatingmembershiptables,725–726MembershipandMembershipUserclasses,729–732SQLServer2005,717–719role-basedsecurity,748creatingandassigningroles,749–751LoginViewcontrol,753–754restrictingaccessbasedonroles,752securitycontrols,735–736CreateUserWizardcontrol,741–745Logincontrol,736–741PasswordRecoverycontrol,746,748membershipandprofilesnewfeaturesinASP.
NET2.
0,19Membershipclasscreatingusers,728–729GetAllUsersmethod,732introduction,730,732methods,729System.
Web.
Securitynamespace,729UpdateUsermethod,729,734ValidateUsermethod,733webservicessecurity,849membershipdatastore,716–717authentication,733–734configuringmembershipprovider,720–725creatinguserswithWAT,727–729disabledaccounts,734manuallycreatingmembershiptables,725–726MembershipandMembershipUserclasses,729–732reasonsfornotusing,716SQLServer2005,717–719elementaddingtowebapplication,721membershipproviderattributes,722membershipsectionmachine.
configfile,724MembershipCreateStatusenumerationSuccessvalue,729MembershipUserclassintroduction,729–730,732IsApprovedproperty,734methods,730ResetPasswordmethod,734Unlockmethod,734MenucontrolDataSourceIDproperty,404description,380introduction,404–405StaticDisplayLevelsproperty,406StaticSubMenuIndentproperty,407styles,406–407templates,407,410MenuItemcontrolDataItemproperty,408Textproperty,407MenuItemStyleclassproperties,406MenuStyleclassproperties,406MessageclassMailMessageEventArgsclass,746MessagepropertyExceptionclass,212SoapExceptionclass,832MessageNamepropertyWebMethodattribute,809metacharactersregularexpressions,266metadataaddingwith.
NETFrameworkattributes,806metalanguageXMLas,637methods,45briefdescription,35buildingabasicclass,59introductiontoclasses,52overloading,47parameters,46MigrateAnonymouseventProfileModuleclass,783–784migratinganonymousprofiles,783–784MillisecondpropertyDateTimeclass,37MillisecondspropertyTimeSpanclass,38Min()function,465INDEX1029Finditfasterathttp://superindex.
apress.
com/minRequiredNonAlphanumericCharactersattributeconfiguringmembershipprovider,724minRequiredPasswordLengthattributeconfiguringmembershipprovider,723MinutepropertyDateTimeclass,37MinutespropertyTimeSpanclass,38mixed-modeauthentication,476modeattributetag,333ModepropertyHttpSessionStateclass,325ModifiedvalueDataRowStateenumeration,508monolithicapplications,787–788MonthandDaydatatypeformatstring,568mostRecentattributetracing,251MovemethodDirectoryclass,606Fileclass,606MoveTomethodDirectoryInfoclass,611FileInfoclass,611MSDNClassLibraryreference,72MSIL(MicrosoftIntermediateLanguage).
SeeILmultilayeringofexceptionhandlers,211MultiLinevalueTextBoxcontrolclass,170multiplebindinglistcontrols,529–530multiplecachingexample,965–966multiplecontentregionsmasterpages,350–352multipletemplatesGridViewcontrol,589MultiplevalueListSelectionModeenumeration,179multipleviews.
Seepageswithmultipleviewsmultiple-viewcontrolsMultiViewcontrol,290–295Wizardcontrol,295–302multiplicationoperator*,30multiuserlimitationsusingfileswithwebapplications,604MultiViewcontrol,277,290–291ActiveViewIndexproperty,293commandnames,294creatingviews,291–292examples,294SetActiveView()method,293showingviews,293mungedURL,330MyBasekeyword,924,926Nnameattributeconfiguringmembershipprovider,723formsauthenticationsettings,693NamemethodDriveInfoclass,613nameprofilepropertyattributetag,769NamepropertyDirectoryInfoclass,611,617FileInfoclass,611,617FontInfoclass,176XmlTextReaderclass,644name/valuecollectionHTTPheaders,153namespaceparameterWSDL.
exeparameters,825namespaceprefixesXMLnamespaces,660namespaces,71–72assembliesandnamespaces,109classlibrary,72classesand,75creatingcomponents,875datanamespaces,471definingthenamespace,73importing,74,474MSDNClassLibraryreference,72namingconventionsconfigurationfiles,829controlprefixes,182dataproviderobjects,472dataproviders,472datatypevariableprefixes,26XMLnamespaces,661INDEX1030naminglimitationsusingfileswithwebapplications,603narrowingconversions,33elementAdvertisementFile,287navigationnewfeaturesinASP.
NET2.
0,19usingLinkMenuusercontrol,905navigationbars,344NavigationButtonStylepropertyWizardcontrol,302NavigationStylepropertyWizardcontrol,302nestedconfiguration,159nestedexceptionhandlers,216–218nesting,masterpages,360.
NETerrorhandling,210eventparameters,910proxyclass,803XMLand.
NET,633.
NET2.
0ASP.
NET,18VisualStudio2005,20.
NETassembliesGAC(GlobalAssemblyCache),437.
NETclasslibrary.
NETtypes,70assemblies,74.
NETcomponents,customizing,867Seealsocomponents;componentbasedprogramming.
NETFrameworkattributes,806characteristics,16–17classlibrarydescription,10introduction,16–17GDI+,943introduction,3,10object-orientedprogramming,34–35,51webservices,799.
NETlanguagesASP.
NET,10C#,12choosingbetween,21CLS,14commondatatypes,24datatypes,24variableprefixes,26description,10installing,22third-partylanguages,22usingforASP.
NETapplications,21VisualBasic2005,12.
NETperformancecounters,959.
NETtypes,reviewing,70NetworkNeighborhoodaddingvirtualdirectories,434–435NetworkCredentialclassSystem.
Netnamespace,845NetworkCredentialobject,creating,845NetworkCredentialpropertyproxyclass,845networksdefined,413DNS(DomainNameService),413webservicecommunicationlimitations,794Newkeyword,55–56NewProjectwindowVisualStudio2005,87NewWebSitedialogbox,444NewRowmethodDataRowclass,506NextButtonClickeventWizardcontrol,300NextMonthTextpropertyCalendarcontrolclass,284NextPrevFormatpropertyCalendarcontrolclass,285NextPrevStylepropertyCalendarcontrolclassstyles,280NextSiblingpropertySiteMapNodeclass,390XmlNodeclass,657NextViewcommandnameMultiViewcontrol,294NodeIndentpropertyTreeViewcontrol,398,400nodesmanipulatingXMLnodes,657XmlDocumentclass,654NodescollectionXmlNodeclass,670INDEX1031Finditfasterathttp://superindex.
apress.
com/NodeSpacingpropertyTreeNodeStyleclass,399NodeStylepropertySiteMapPathcontrol,394TreeViewcontrol,401NodeTemplatetemplateSiteMapPathcontrol,394NodeTypepropertyXmlTextReaderclass,644NodeWrappropertyTreeViewcontrol,398NoExpandImageUrlpropertyTreeViewcontrol,398NonevalueBorderStyleenumeration,172Northwinddatabaseobtaining,458notequaltooperator(!
=),40NotSupportedExceptionclass,981NowpropertyDateTimeclass,37,53NTLMauthenticationWindowsauthenticationmethods,707nullreferenceexceptions,209,218NullDisplayTextpropertyBoundFieldclass,564NullReferenceExceptionclass,213numericformatstringsdatatypes,567OObjectclass,25convertingobjectstorealtype,80natureandbehaviorofdatatype,71objectinterfaceHTMLelements,128objectmodelwebcontrolsadvantage,168object-basedmanipulation,34–35Arrayclass,39DateTimeclass,36–37Stringclass,35TimeSpanclass,36-37object-orientedprogramming,51advancedclassprogramming,75–84classesbuildingabasicclass,54–66introduction,51–54exceptions,211namespacesandassemblies,71–75valuetypesandreferencetypes,67–71VisualBasic2005,23ObjectDataSourceclass,893–894datacaching,981implementingIDataSourceinterface,543makingclassesthatcanbeunderstoodby,894selectingrecords,894–895updatingrecords,897–898usinginsteadofSqlDataSource,562usingmethodparameters,895–896objectscastingobjects,78–80classesandobjects,52instantiation,55–56ODBCdataprovider,469OdbcCommandclassSystem.
Data.
Odbcnamespace,471OdbcConnectionclassSystem.
Data.
Odbcnamespace,471Offerrormode,237Offvaluemodeattribute,tag,334tagrelatedtoBulletedListcontrol,169OldValuesParameterFormatStringpropertySqlDataSourceclass,556OLEDBdataprovider,469alternativeproviders,470OleDbCommandclassSeealsoCommandclassSystem.
Data.
OleDbnamespace,471OleDbConnectionclassSeealsoConnectionclassConnectionStringproperty,475System.
Data.
OleDbnamespace,471OleDbDataAdapterclass,481SeealsoDataAdapterclassOleDbDataReaderclass,481SeealsoDataReaderclassINDEX1032Onerrormode,237OnPreRenderCompletemethodPageclass,549OnRowUpdatedeventconcurrencyexample,513OnServerClickattributetag,135OpenmethodConnectionclass,479Fileclass,619SqlConnectionclass,887openstandards.
NETFrameworkcharacteristics,17webservices,790OpenTextmethodFileclass,617,619OpenWebConfiguration()methodWebConfigurionManagerclass,163–164OpenWritemethodFileclass,620operatorscomparisonoperators,40greaterthanoperator,464lesseroperator,464Likeoperator,465logicaloperators,40optimization,14Oroperator(||),40Oracledataprovider,469objects,472OracleCommandclass,472System.
Data.
OracleClientnamespace,471OracleConnectionclass,472System.
Data.
OracleClientnamespace,471OrderByclauseSelectstatement,463–464ordinaryfoldericon,427OrElseoperator,40OtherMonthDayStylepropertyCalendarcontrolclassstyles,280outparameterWSDL.
exeparameters,825OuterXmlpropertyXmlNodeclass,657outlining,102outputautomaticallytailoredwebcontrolsadvantage,168outputcaching,960–962cacheprofiles,968–969client-sidecaching,962–963customcachingcontrol,966–967databaseaccess,962fragmentcaching,968multiplecachingexample,965–966querystring,963–964specifyingparameters,964webservices,969OutputCachedirective,961attributes,962client-sidecaching,962customcaching,967fragmentcaching,968multiplecachingexample,965VaryByHeaderattribute,968VaryByParamattribute,963OutputCacheLocationenumerationclient-sidecaching,962System.
Web.
UInamespace,962outputCacheProfilessectionweb.
configfile,968OutsetvalueBorderStyleenumeration,172OverlinepropertyFontInfoclass,176overloadingconstructors,60overloadingmethods,47overridingRendermethods,926OverwriteChangesvalueConflictOptionsenumeration,556Ppackagefolders,427PadLeft()methodStringclass,36PadRight()methodStringclass,36Pageclass,151Cacheproperty,970Controlscollection,152creatinginVisualStudio2005,100DataBindmethod,519definingwithPartialkeyword,135INDEX1033Finditfasterathttp://superindex.
apress.
com/events,758FindControlmethod,265GetPostBackEventReferencemethod,937inheritance,902Initmethod,316,545IsPostBackproperty,140,535IsValidproperty,277Loadevent,140,316,545,910LoadControlmethod,905Masterproperty,361OnPreRenderCompletemethod,549PreRenderevent,307,309,545,549PreviousPageproperty,312,314Profileproperty,779properties,151–152RegisterRequiresViewStateEncryptionmethod,307System.
Web.
UInamespace,151,872Userproperty,703Validatemethod,264,276–277ViewStateproperty,304pagedesignVisualStudio2005,17PagedirectiveMasterPageFileattribute,349StyleSheetThemeattribute,367Themeattribute,367Titleattribute,349TraceModeattribute,250ViewStateEncryptionModeproperty,307webpages,902pagelifecycle,194withdatabinding,544–545PagepropertyHtmlControlclass,149WebControlclass,172Page.
Loadeventhandlerdatabinding,519–520data-boundlistcontrolsexample,538generatingnewcontrols,152settingvalueofproperties,150pageOutputattributetracing,251PagerIndexChangedpropertyGridViewcontrol,585PagerSettingspropertyGridViewcontrol,585PagerStylepropertyGridViewcontrol,569,585PagerTemplateclass,590elementenableViewStateMacattribute,306pageswithmultipleviews,289–290MultiViewcontrol,290–295Wizardcontrol,295–302PageSizepropertyGridViewcontrol,585pagingGridViewcontrol,584–585PanelcontrolDefaultButtonproperty,178tagunderlying,169parametertypes,listof,551parameterizedcommands,492parametersmethods,46passingbyreferenceandbyvalue,68–69_parentframetargets,287ParentpropertyDirectoryInfoclass,611HtmlControlclass,149WebControlclass,172ParenthesizePropertyNameattributecontroldesigntimesupport,935ParentLevelsDisplayedpropertySiteMapPathcontrol,394ParentNodepropertySiteMapNodeclass,390XmlNodeclass,657ParentNodeStylepropertyTreeViewcontrol,401parsingXMLdocuments,637,639partialclasses,81–82Partialkeyword,82definingPageclass,135pass-by-referenceparameter,68–69pass-by-valueparameter,68–69password,regularexpression,269passwordparameterWSDL.
exeparameters,825PasswordpropertyLogincontrol,737INDEX1034PasswordvalueTextBoxcontrolclass,170passwordAttemptWindowattributeconfiguringmembershipprovider,724passwordFormatattributeconfiguringmembershipprovider,723PasswordLabelTextpropertyLogincontrol,740PasswordRecoverycontrol,735introduction,746,748SendingMailevent,746PasswordRecoveryIconUrlpropertyLogincontrol,741PasswordRecoveryTextpropertyLogincontrol,741PasswordRecoveryUrlpropertyLogincontrol,738,741PasswordRequiredErrorMessagepropertyLogincontrol,740passwords,684formsauthentication,701pathattributeformsauthenticationsettings,694PathclassCombine()method,617GetFileNamemethod,630pathparameterWSDL.
exeparameters,825PathpropertyRequestclass,392PathDirectionpropertySiteMapPathcontrol,394PathSeparatorpropertySiteMapPathcontrol,394PathSeparatorStylepropertySiteMapPathcontrol,394PathSeparatorTemplatetemplateSiteMapPathcontrol,394,396patterns,matchingregularexpressions,266Penobjectgraphicscontext,945percentage(%)Unitstructure,173Percentagedatatypenumericformatstring,567performanceadvantageofcomponents,869applicationstate,338drawbacksofCLR,15locking,338maintainingstate,836sessionstate,324statemanagementoptions,339–340statictext,953viewstate,953encryption,307webservices,790performancecounters,956,958–959classes,959System.
Diagnosticsnamespace,959performancetuning,951caching,951,960cacheprofiles,968–969cachingwithspecificparameters,964client-sidecaching,962–963customcachingcontrol,966–967datacaching,970–971datasourcecontrols,978dependencies,982–992fragmentcaching,968multiplecachingexample,965–966ObjectDataSourceclass,981outputcaching,961–962,969providingmultipleviews,973–976reusabilityofcachedpages,963–964simplecachetest,971–972SqlDataSourceclass,979–980webservice,976,978designingforperformance,951–952ADO.
NETdatabaseaccess,953–954ASP.
NETcodecompilation,952servercontrols,952–953sessionstate,954–955profiling,951,955performancecounters,956,958–959stresstesting,956PerformanceCounterclass,959PerformanceCounterCategoryclass,959permissions,684ASPNETaccount,439Windowsaccountpermissions,438persistence,cookies,321INDEX1035Finditfasterathttp://superindex.
apress.
com/PhysicalPathpropertyHttpRequestclass,153PipelineInstanceCountcounterperformancecounters,959pixelsindicatingpixelcoordinates,944measuring,945Unitstructure,173PlaceclassTerraServicewebservice,857PlaceFactsclassTerraServicewebservice,857platformboundaries,789whentousewebservices,789polygondrawingapolygonwithGraphicsclass,944fillingapolygonwithGraphicsclass,944portals,newfeaturesinASP.
NET2.
0,19postbackautomaticpostback,191events,205capturingachangeevent,191creatingafilebrowser,616disablingviewstate,952__doPostBack()function,937eventsnotidealfor,193GetPostBackEventReferencemethod,Pageclass,937HTMLservercontrols,189IPostBackEventHandlerinterface,939pagevalidationon,273viewstate,304workingsofPostBackevents,193PostBackUrlpropertyIButtonControlinterface,311PostedFileclassFileUploadcontrol,628SaveAsmethod,628PowerUserroledefaultWindowsroles,709PrependmethodXmlAttributeclass,657PrependChildmethodXmlNodeclass,657PreRendereventPageclass,307,309,545,549,758PreRenderCompleteeventPageclass,758Preservekeywordredimensioninganarray,27PreviousButtonClickeventWizardcontrol,300PreviousPagepropertyPageclass,312,314PreviousPageTypedirective,314PreviousSiblingpropertySiteMapNodeclass,390XmlNodeclass,657PrevMonthTextpropertyCalendarcontrolclass,284PrevViewcommandnameMultiViewcontrol,294PrintOperatorroledefaultWindowsroles,709privateassemblies,437privatekeysSSLworkings,691Privatekeyworddescription,55webservicefunctionvisibility,818privatevariablesdefining,54procedures,subroutinesandfunctions,45Processorperformancecounter,958ProfileclassAddressproperty,777FirstNameproperty,770GetProfilemethod,783Savemethod,771,778–779elementautomaticSaveEnabledattribute,778ProfilepropertyPageclass,779profilepropertyattributestag,769profilesectionremovingproviders,764ProfileBaseclass,779methods,769System.
Web.
Profilenamespace,769ProfileInfoclassmembers,780ProfileManagerclass,779methods,780INDEX1036ProfileMigrateEventArgsclass,783ProfileModuleclass,778MigrateAnonymousevent,783–784profiles,757Seealsomembershipandprofilesimprovingdatabaseperformance,953limitations,757performance,758–759performancecounters,956,958–959performancetuning,951,955SQLServer2005ExpressEdition,762SqlProfileProviderclass,761anonymousprofiles,781–784configuringtousedifferentdatabase,763–765definingprofileproperties,768–769enablingauthentication,761–762manuallycreatingprofiletables,765profileAPI,779–781profiledatabase,766–768profilegroups,773–774profileserialization,771–773profilesandcustomdatatypes,774–778usingprofileproperties,769–771storingdata,759–761stresstesting,956understanding,758programmaticimpersonation,712programming.
Seecomponent-basedprogramming;object-orientedprogrammingprojectreferences,877propertiesattributesandproperties,150briefdescription,35buildingabasicclass,56–59introductiontoclasses,52settingvalueof,150statefulorstatelessdesign,880elementtag,768Propertieswindowaddingeventhandlers,100configuringcontrolsinVisualStudio2005,95–96propertyaccessors,57–58changingnames,61propertyproceduresusinginintegratedusercontrol,908Protectedkeyworddescription,55protectionattributeformsauthenticationsettings,693protocolparameterWSDL.
exeparameters,825Providerprofilepropertyattributetag,769ProviderpropertySiteMapclass,390ProviderSpecificoptionserializeAsattribute,772proxyclassconnectingthrough,833CookieContainerproperty,840creatingproxywithWSDL.
exe,824–826introduction,826–829NetworkCredentialproperty,845roleinwebservices,821SOAPheaders,852TerraServicewebservice,856using,830–831waitingandtimeouts,831–832webservices,803communications,793errors,832statemanagement,838–842Publickeyworddescription,55publicmembervariablessessionstateexample,326publicmethodsaddingfunctionalitytoclass,874publishinganewwebsite,448–449pubsdatabaseobtaining,458px(pixel)Unitstructure,173QQueryAnalyzer.
SeeSQLQueryAnalyzerquerystringparametercachingmultiplepageversions,963multiplecachingexample,965reusabilityofcachedpages,963–964INDEX1037Finditfasterathttp://superindex.
apress.
com/querystringsexample,318–319passinginformation,316–317statemanagementoptions,339–340QueryStringcollectiontracing,246QueryStringpropertyHttpRequestclass,153Requestclass,392questionmarkwildcard,695RRadioButtoncontrolclasstagunderlying,169RadioButtonListcontrol,178repeated-valuedatabinding,526RadioButtonListcontrolclass,179tagunderlying,169RaiseEventstatementcustomcontrolevents,937RaisePostBackEventmethodIPostBackEventHandlerinterface,939–940RangeValidatorcontrol,595Displayproperty,262EnableClientScriptproperty,261exampleform,271validationexample,259–261validator-specificmembers,259RangeValidatorcontrolclass,256RawUrlpropertyRequestclass,392RDBMS(RelationalDatabaseManagementSystem),454ReadmethodDataReaderclass,481,484XmlTextReaderclass,644readpermissionVirtualDirectoryCreationWizard,429ReadAllmethodFileclass,621ReadBytesmethodFileclass,621ReadInnerXmlmethodXmlTextReaderclass,650ReadInt32methodBinaryReaderclass,620ReadLinemethodStreamReaderclass,618ReadLinesmethodFileclass,621ReadOnlykeyword,58readOnlyprofilepropertyattributetag,769ReadOnlypropertyBoundFieldclass,564ReadOuterXmlmethodXmlTextReaderclass,650ReadStringmethodBinaryReaderclass,620XmlTextReaderclass,650RecordEditorcreation,537–543recordsadding,489deleting,495–497selecting,894withSqlDataSourcecontrols,547–548updating,494–495withdatasourcecontrols,553–555rectangledrawingwithGraphicsclass,944fillingwithGraphicsclass,944ReDimkeywordarrays,27redimensioningarrays,27RedirectmethodHttpResponseclass,154Responseclass,317,330,331,905,914RedirectFromLoginPagemethodFormsAuthenticationclass,701–702parameters,702referencetypes,67assignmentoperations,67referencesaddingfilereference,877addingprojectreference,877comparedtoImportsstatement,108–109RefreshmethodDirectoryInfoclass,611FileInfoclass,611RegionobjectfillinginteriorofwithGraphicsclass,944INDEX1038Registerdirectiveconsumingcustomcontrols,921creatingausercontrol,903registeringcomponents,122RegisterRequiresViewStateEncryptionmethodPageclass,307regularexpressionscommonexamples,269–270creditcardnumbers,270introduction,266literals,266–267Luhnalgorithm,270metacharacters,266regularexpressioncharacters,269testing,267–268RegularExpressionTestpageSetThisExpressionbutton,268RegularExpressionValidatorcontrolexampleform,271validator-specificmembers,259RegularExpressionValidatorcontrolclass,257RelationalDatabaseManagementSystem.
SeeRDBMSrelationaldatabasesautoincrementcolumn,468identitycolumn,468many-to-manyrelationships,500overview,454tablerelationships,454relativepathsmasterpages,354–355RememberMeSetpropertyLogincontrol,740RemoteOnlyerrormode,237RemovemethodDataSetclass,506RemovemethodStringclass,36RemoveAllmethodXmlNodeclass,657RemoveChildmethodXmlNodeclass,657RemoveHandlerstatement,62RemoveUserFromRolemethodRolesclass,751RemoveUserFromRolesmethodRolesclass,751RemoveUsersFromRolemethodRolesclass,751RemoveUsersFromRolesmethodRolesclass,751RenderCurrentNodeAsLinkpropertySiteMapPathcontrol,394RenderXyxmethodsimplementingcustommethods,930overridingincustomcontrols,926overridingincustomcontrolsexample,926repeated-valuedatabinding,518creatingRecordEditor,537–543databindingwithaDictionarycollection,532–534DataValueFieldproperty,534genericcollections,529introduction,526multiplebinding,529–530settingcontrolproperties,518simplelistcontrols,526–527example,527–529viewstateanddatabinding,532RepeatTimespropertywebcontrolinheritance,930ReplacemethodStringclass,35–36ReplaceChildmethodXmlNodeclass,657ReplicatorroledefaultWindowsroles,709RequestclassCookiescollection,321findinginformationabouttheusersbrowser,521Pathproperty,392QueryStringproperty,392RawUrlproperty,392requestdetails,tracing,243RequestpropertyPageclass,151requestLimitattributetracing,251Requestscountersperformancecounters,958INDEX1039Finditfasterathttp://superindex.
apress.
com/RequiredFieldValidatorcontroladdedmembers,259exampleform,271RequiredFieldValidatorcontrolclass,256requiresQuestionAndAnswerattributeconfiguringmembershipprovider,724requiresUniqueEmailattributeconfiguringmembershipprovider,724ResetPasswordmethodMembershipUserclass,731,734ResponseclassCookiescollection,321Redirectmethod,317,330,331,373,905,914Transfermethod,373Writemethod,126–127,239,341WriteBinarymethod,860ResponsepropertyPageclass,151restrictedfiletypes,684Reverse()methodArrayclass,39richcontrols,255,277–278AdRotatorcontrol,286–288Calendarcontrol,278–281richdatacontrols,559SeealsoGridViewcontrol;DetailsViewcontrol;FormViewcontrolRidgevalueBorderStyleenumeration,172role-basedsecurity,748asfeatureofmembership,715creatingandassigningroles,749–751LoginViewcontrol,753–754restrictingaccessbasedonroles,752RoleExistsmethodRolesclass,751tagLoginViewcontrol,754roles,defaultWindowsroles,709Rolesclassmethods,751RootpropertyDirectoryInfoclass,611RootDirectorymethodDriveInfoclass,613RootNodepropertySiteMapclass,389RootNodeStylepropertySiteMapPathcontrol,394TreeViewcontrol,401RootNodeTemplatetemplateSiteMapPathcontrol,394,396RowpropertyGridViewRowEventArgsclass,572rowstateDataSetstoring,508RowCommandeventGridViewcontrol,576,592RowCreatedeventGridViewcontrol,571RowFilterpropertyDataViewclass,980rowsretrievingwithSelectstatement,463RowscollectionAddmethod,506DataRowclass,500RowspropertyTextBoxcontrolclass,170RowStylepropertyGridViewcontrol,568RowUpdatedeventDataAdapterclass,512RunToCursorcommandbreakmode,112runat=serverattributetag,349runat=serverattributeconfiguringHTMLelementsasservercontrols,98HTMLservercontrols,129runtimeevents,139webcontroltags,169Ssampledatabaseobtaining,458SaveclassImagecontrolclass,945,947SavemethodProfileclass,771,778–779XmlDocumentclass,652,654SaveAsmethodPostedFileclass,628INDEX1040SaveControlStatemethodControlclass,933scalabilityCGIapplications,6databaseaccess,455ISAPI,6profiles,758sessionstate,328statemanagement,836usingfileswithwebapplications,604schema,XSDdocuments,661Scientificdatatypenumericformatstring,567scope,statemanagementoptions,339–340scriptsourceaccesspermissionVirtualDirectoryCreationWizard,429scriptinglimitations,ASP,9searchenginesdatadrivenASP.
NETapplications,455SecondpropertyDateTimeclass,37SecondspropertyTimeSpanclass,38SecureService.
asmxexample,844securityASP.
NETandIISinteraction,685,688ASP.
NETSecurityModel,685authentication,684authorization,684certificates,688–690checkingsecureconnection,690ClientCertificateproperty,153component-basedprogramming,868deploymentconfiguration,438determiningrequirements,683directorysecuritysettings,706eventLogs,229formsauthentication,691–705impersonation,684,711intranet,688querystrings,316–317reasonstoavoidclient-sideprogramming,9requirements,683restrictedfiletypes,684SSL(SecureSocketsLayer),852statemanagementoptions,339–340usingfileswithwebapplications,604viewstate,306–307webservices,790,842–855Windowsauthentication,705–711securitycontrolsasfeatureofmembership,715CreateUserWizardcontrol,741–745Logincontrol,736–741membership,735PasswordRecoverycontrol,746,748securitycookiesanonymoususers,695encryption,693uniquenaming,693SecuritylogWindowsEventLogs,226SecuritytabWAT,700SecurityExceptionclass,610System.
Securitynamespace,212SeekmethodStreamclass,621SelectCasestatement,41Selectcommanddefining,480Selectstatement,463Fromclause,463Likeoperator,465OrderByclause,463improvingstatement,464retrievingdata,480retrievingrows,463improvingstatement,464sample,463–466SQLbasicconcepts,461structure,463Topclause,464Whereclause,463–464tag,139HtmlSelectclass,132relatedcontrolclasses,169Select/Caseblockcomparedtoexceptionblocks,216SelectCommandpropertyDataAdapterclass,499SqlDataSourceclass,547,554SelectCommandTypepropertySqlDataSourceclass,547INDEX1041Finditfasterathttp://superindex.
apress.
com/Selectedeventdatasourcecontrols,545SqlDataSourceclass,553SelectedpropertyListItemcontrol,179SelectedDataKeypropertyGridViewcontrol,577SelectedDatepropertyCalendarcontrol,278,285SelectedDatespropertyCalendarcontrol,279,285SelectedDayStylepropertyCalendarcontrolclassstyles,281SelectedIndexpropertyGridViewcontrol,574,576listcontrols,179SelectedIndexChangedeventGridViewcontrol,574,577Webcontrols,191SelectedIndexChangingeventGridViewcontrol,574SelectedItempropertyListBoxcontrol,534SelectedNodeStylepropertyTreeViewcontrol,401SelectedRowStylepropertyGridViewcontrol,568,573SelectedValuepropertyListBoxclass,896,898SelectImageUrlpropertyGridViewcontrol,574Selectingeventdatasourcecontrols,545SelectionChangedeventCalendarcontrol,283,285SelectionModepropertyCalendarcontrol,279,285ListBoxcontrolclass,179SelectMethodmethodObjectDataSourceclass,895SelectMonthTextpropertyCalendarcontrolclass,285SelectorStylepropertyCalendarcontrolclassstyles,281SelectTextpropertyGridViewcontrol,574SelectWeekTextpropertyCalendarcontrolclass,285_selfframetargets,287SendingMaileventPasswordRecoverycontrol,746Serializableattributeaddingbeforeclassdeclaration,310serializationcustomtypes,777–778profiles,759–761,771–773storingobjectsinviewstate,309–310serializeAsattributetag,769options,772ServerclassTransfermethod,392servercontrolsdesigningforperformance,952–953HTMLcontrolscompared,167necessityof,952viewstate,952ServerobjectASP.
NETintrinsicobjects,805ServerpropertyPageclass,152servervariables,tracing,247server-sidecachingclient-sidecachingcompared,963server-sideprogrammingASP.
NET,7evolution,6server-sidewebcontrols,119ServerChangeevent,147HTMLcontrolsproviding,147HTMLservercontrols,189ServerClickevent,146HTMLcontrolevents,189HTMLcontrolsproviding,147HtmlInputButtonclass,133ServerClickeventhandlerHtmlInputImageclass,147ServerValidateeventclient-sideequivalentforcode,273CustomValidatorcontrol,273ServerVariablespropertyHttpRequestclass,153ServiceBrokercachenotifications,988–989serviceprovidersbusinessobjects,803INDEX1042sessioncookiesstatemanagement,838sessionkeysSSLworkings,691SessionobjectASP.
NETintrinsicobjects,805SessionpropertyPageclass,151sessionstate,323accessinginwebservices,806cookies,323designingforperformance,954–955disablingsessionmanagement,836example,326,328–329losingsessionstate,325managementwithwebservice,842performance,324scalability,328sessiontracking,324tag,web.
config,329tracing,245using,324–325usingproxyclass,839WebMethodattributeenabling,836–838sessionstateconfiguration,329cookieless,330–332custommode,337InProcmode,334mode,333Offmode,334SqlServermode,336StateServermode,334–335timeout,333SessionIDpropertyHttpSessionStateclass,325tagcookielessattribute,330modeattribute,333timeoutattribute,333web.
configfile,329Session_Endevent,342Session_Startevent,342setaccessor,57–58SetNextStatementcommandbreakmode,112SetActiveView()methodMultiViewcontrol,293SetAttributesmethodFileclass,606SetAuthCookiemethodFormsAuthenticationclass,701SetCookiemethodproxyclass,841SetCurrentDirectorymethodDirectoryclass,605SetPropertyValuemethodProfileBaseclass,769sharedassemblies,437Sharedkeyword,77sharedmembers,53useofinMathclass,77uses,77–78sharetypesparameterWSDL.
exeparameters,825ShortDatedatatypeformatstring,568shorthandassignmentoperators,31ShowNextStatementcommandbreakmode,112ShowCheckBoxespropertyTreeViewcontrol,398ShowDayHeaderpropertyCalendarcontrolclass,285ShowDeleteButtonpropertyCommandFieldclass,580ShowDirectoriesIn()subroutinecreatingafilebrowser,617ShowExpandCollapsepropertyTreeViewcontrol,398ShowFilesInsubroutinecreatingafilebrowser,617ShowGridLinespropertyCalendarcontrolclass,285ShowHeaderpropertyDetailsViewcontrol,600ShowInsertButtonpropertyCommandFieldclass,580ShowLinespropertyTreeViewcontrol,398ShowMessageBoxpropertyValidationSummarycontrol,263ShowNavigationControlsproperty,361ShowNextPrevMonthpropertyCalendarcontrolclass,285INDEX1043Finditfasterathttp://superindex.
apress.
com/ShowSelectButtonpropertyCommandFieldclass,578–579GridViewcontrol,574ShowStartingNodepropertySiteMapDataSourcecontrol,384ShowTitlepropertyCalendarcontrolclass,285ShowToolTipspropertySiteMapPathcontrol,394side-by-sideexecution,15SideBarButtonClickeventWizardcontrol,300SideBarButtonStylepropertyWizardcontrol,302SideBarStylepropertyWizardcontrol,302signaturesdelegates,48overloading,47SignOutmethodFormsAuthenticationclass,701simpledataaccessstepsinsimpledataaccess,473–474simpledatabinding.
Seesingle-valuedatabindingsimpledatatypesSystemnamespace,72Singleclass,24singledatatypenatureandbehavior,71singlestepdebuggingwithVisualStudio2005,110–111single-pageapplet,124single-stepdebuggingwithVisualStudio2005breakpoints,111single-valuedatabinding,518insertingvalue,518problemswith,524–525simpledatabinding,usingcodeinstead,525simpledatabindingexample,520–521,523simpledatabindingwithproperties,523–524workingsof,519SingleLinevalueTextBoxcontrolclass,170sitemaps,373–374bindingamasterpagetositemap,381–383bindinganordinarypagetositemap,380–381bindingportionsofasitemap,383–384showingsubtrees,384–388usingdifferentsitemapsinsamefile,388–389definingasitemap,374–375duplicateurls,378tag,375tag,375–378mappingurls,391–392Menucontrol,404–405styles,406–407templates,407,410navigatingprogrammatically,389–391simplesitemapinaction,379SiteMapPathcontrol,393addingcustomsitemapinformation,396–397customizing,394stylesandtemplates,394–396TreeNodeStyleclassstyles,399–400TreeViewcontrol,397applyingstylestonodelevels,402properties,398styles,401–402themes,403SiteMapclassCurrentNodeproperty,389Providerproperty,390RootNodeproperty,389System.
Webnamespace,389tagsitemapsbeginwith,375SiteMapDataSourcecontrol,375addingtopage,380ASP.
NETnavigation,374implementingIDataSourceinterface,544linkingTreeViewcontrol,386properties,384–385StartingNodeUrlproperty,389siteMapFileattributebreakingsinglesitemapintoseparatefiles,389INDEX1044SiteMapNodeclass,408navigationalproperties,390tag,375–376elementscontainingotherelements,376–377sitemapsbeginwith,377–378SiteMapPathcontroladdingcustomsitemapinformation,396–397CurrentNodeTemplatetemplate,396customizing,394description,380Evalmethod,395introduction,393RootNodeTemplatetemplate,396stylesandtemplates,394–396SiteMapProviderclassFindSiteMapNode()method,390SizepropertyFontInfoclass,176SkinIDpropertyTreeViewcontrol,403skinscreatingmultipleskinsforsamecontrol,368–369relationshipwiththemes,363templatesandimages,369–371slidingExpirationparameterInsertmethod,Cacheclass,971Insertmethod,Cacheobject,971SOAP,791automaticgenerationofmessages,800exampleofSOAPmessage,792–793HTTPGET/POSTcompared,793usingwebservicewithoutproxyclass,826webservices,790communications,793proxyclass,827standards,791testing,815SOAPheadersproxyclass,852ticket-basedauthentication,849–852usingintheclient,852SOAPToolkitaccessing,791element,792element,792SoapExceptionclassMessageproperty,832SoapHeaderclassSystem.
Web.
Services.
Protocolsnamespace,850SoapHttpClientProcotolclassInvokemethod,827SoapHttpClientProtocolclass,826proxyclassinheritsfrom,831socialsecuritynumberregularexpression,270SolidvalueBorderStyleenumeration,172SolutionExplorer,90–92AddWebReferencewindow,822SortpropertyDataViewcontrol,582SortmethodArrayclass,39SortedeventGridViewcontrol,583SortExpressionpropertyBoundFieldclass,564,581sortingwithGridViewcontrol,581–584SourcepropertyExceptionclass,212SourceviewVisualStudio2005,94tagrelatedtoLabelcontrolclass,169specialcharactersHTML,157XML,638SplitmethodStringclass,36SQL(StructuredQueryLanguage)basicconcepts,460learning,461onlinetutorials,461runningqueriesinVisualStudio,461–462SQLstatements,460Deletestatement,468Insertstatement,467–468Selectstatement,463–466Updatestatement,466SQLinjectionattacks,492INDEX1045Finditfasterathttp://superindex.
apress.
com/SQLQueryAnalyzer,461Updatestatement,466SQLServerdataprovider,469obtainingsampledatabase,458SQLServer2000andSQLServer7cachenotifications,984–988SQLServer2005cachenotifications,988–989creatingcachedependency,990–991initializingservice,990membershipdatastore,717–719configuringmembershipprovider,720–722,724–725SQLServer2005ExpressEdition,458profiles,762SQLServer7,458SQLServerauthentication,476SQLServerdataprovider,469objects,472SQLServerManagementStudio,458,461SQLstatements,460addingspecialvariable,160aggregatefunctions,465Commandobject,480creatingmorerobustcommands,491–492,494deletingarecord,495–497updatingarecord,494–495dataretrievalexample,483Deletestatement,468Insertstatement,467–468Selectstatement,463–466Updatestatement,466SqlCacheDependencyvalueCacheItemRemovedReasonenumeration,978SqlCommandclass,472SeealsoCommandclassSystem.
Data.
SqlClientnamespace,471SqlCommandBuilderclassupdatingdisconnecteddata,507SqlConnectionclass,472,880SeealsoConnectionclassConnectionStringproperty,475Openmethod,887System.
Data.
SqlClientnamespace,471sqlConnectionStringattributetag,336SqlDataAdapterclass,481SeealsoDataAdapterclassSqlDataReaderclassSeealsoDataReaderclasscreating,481SqlDataSourceclasscommandlogic,547comparedtoObjectDataSourceclass,893ConflictDetectionproperty,556datacaching,979–980datasourcecontrols,545–546DataSourceModeproperty,548defining,561DeleteCommandproperty,580EnableCachingproperty,548events,553implementingIDataSourceinterface,543InsertCommandproperty,580OldValuesParameterFormatStringproperty,556positiveandnegativesides,561SelectCommandproperty,554Updatemethod,555,580UpdateParameterscollection,555,580SqlDataSourceModeenumerationDataReadervalue,548DataSetvalue,548SqlDataSourceStatusEventArgsclassAffectedRowsproperty,556Exceptionproperty,553ExceptionHandledproperty,553SqlDateTimeclassSystem.
Data.
SqlTypesnamespace,471SqlDependencyclassStartmethod,990SqlExceptionexception,218SqlMoneyclassSystem.
Data.
SqlTypesnamespace,471SqlProfileProviderclassanonymousprofiles,781–782migrating,783–784configuringtousedifferentdatabase,763–765definingprofileproperties,768–769enablingauthentication,761–762INDEX1046manuallycreatingprofiletables,765profileAPI,779–781profilegroups,773–774profileserialization,771–773profilesandcustomdatatypes,774–777automaticsaves,778customtypeserialization,777–778standardprofileserialization,760using,761usingprofileproperties,769–771SqlRowUpdatedEventArgsclass,513SqlServervaluemodeattribute,tag,336Srcdirective,903SrcpropertyHtmlImageclass,133,146HtmlInputImageclass,133SSL(SecureSocketsLayer),690certificates,688webservicessecurity,852workingsof,691StackTracepropertyExceptionclass,212StartmethodSqlDependencyclass,990StartFromCurrentNodepropertySiteMapDataSourcecontrol,384,388StartingNodeOffsetpropertySiteMapDataSourcecontrol,385–386,388StartingNodeUrlpropertySiteMapDataSourcecontrol,384,389StartNextButtonStylepropertyWizardcontrol,302StartsWith()methodStringclass,36stateSeealsosessionstateapplicationstate,337–339cookielessstate,331databaseaccess,456Fileclass,881FileInfoclass,881HTMLservercontrols,128HTTP,456maintainingstateinformation,931–933nosharingbetweenASPandASP.
NET,122problemofstate,303statemanagement,303statefulAccountclassexample,881–882statefulorstatelessdesign,880viewstate,304example,304–305makingsecure,306–307retainingmembervariables,307–309storingcustomobjects,309–310transferringinformation311–320webservicecommunicationlimitations,794statelimitationsASPproblems,10statemanagement,303,835datacachingreplacing,951optionscompared,339performanceconsiderations,836proxyclass,838–842scalability,836sessioncookies,838sessionstate,323StockQuotewebservice,836–838webservices,835–836,842StateBagcollectionclass,304stateConnectionStringattributetag,334statefulwebservicesconsuming,838–842statelessclasseswebservicesas,835StateServervaluemodeattribute,tag,334staticelementsservercontrols,952statictextperformance,953StaticDisplayLevelspropertyMenucontrol,406StaticDynamicSelectedStylepropertyMenucontrol,406StaticHoverStylepropertyMenucontrol,406StaticMenuItemStylepropertyMenucontrol,406StaticMenuItemTemplatepropertyMenucontrol,407StaticMenuStylepropertyMenucontrol,406INDEX1047Finditfasterathttp://superindex.
apress.
com/StaticSubMenuIndentpropertyMenucontrol,407StepIntocommandbreakmode,112StepOutcommandbreakmode,112StepOvercommandbreakmode,112StepNextButtonStylepropertyWizardcontrol,302StepPreviousButtonStylepropertyWizardcontrol,302StepStylepropertyWizardcontrol,302StepTypepropertyWizardcontrol,296StockQuotewebservice,802codeexplained,803code-behindfiles,804configuringwebserviceclient,820–821consumingastatefulwebservice,836–842creatingStockInfoobjects,828descriptions,806–807dissectingcode,818–819GetStockQuotemethoddescription,812statemanagement,836–838StockQuoteclass,827ticket-basedauthentication,847,849SOAPheaders,850–852usingproxyclass,830–831usingSOAPheadersintheclient,852usingtimeouts,831webservicedataobjects,816–817WSDLdocument,812storagelocationstatemanagementoptions,339–340storedproceduresdatabases,883improvingdatabaseperformance,953StreamclassSeekmethod,621StreamReaderclassreadingandwritingflatfiles,617ReadLinemethod,618streamsreadingandwritingflatfiles,617StreamWriterclass,635Flushmethod,618readingandwritingflatfiles,617WriteLinemethod,617stresstesting,955–956StrikeoutpropertyFontInfoclass,176Stringclass,24,35assignmentoperations,70equalityoperations,70members,36methods,35natureandbehaviorofdatatype,71stringoptionserializeAsattribute,772StringBuilderclassSystem.
Textnamespace,233,610stringsHTMLencodinganddecoding,155URLencodinganddecoding,155,157strongtypingVisualBasic2005,23structurederrorhandlingVisualBasic2005,23structuredexceptionhandling,211keypoints,220Try/Catchblocks,215StructuredQueryLanguage.
SeeSQLstructures,description,70styleattributetag,124,905StylepropertyHtmlControlclass,149styles,CSS,144StyleSheetThemeattributePagedirective,367Subkeyword,45subclassingcontrols,923Calendarcontrol,923–924eventhandling,923textboxwithatitle,927subdirectoriesaccessing,427subroutines,45SubstringmethodStringclass,35–36INDEX1048SubtractmethodDateTimeclass,38TimeSpanclass,38subtractionoperator-,30SuccessvalueMembershipCreateStatusenumeration,729Sumfunction,465SwitchViewByIDcommandnameMultiViewcontrol,294SwitchViewByIndexcommandnameMultiViewcontrol,294SystemlogWindowsEventLogs,226SystemnamespaceApplicationExceptionclass,222EventHandlerdelegate,911Exceptionclass,212Mathclass,32Systemperformancecounter,959System.
Collectionsnamespacecollectionclasses,529Hashtablecollection,532System.
Collections.
Genericnamespacecollectionclasses,529Dictionarycollection,532System.
Collections.
GenericsnamespaceListclass,83System.
ComponentModelnamespaceCategoryAttributeclass,934customizingdesign-timesupport,934TypeConverterclass,204System.
ConfigurationnamespaceConfigurationSettingsclass,161System.
Datanamespace,471databases,72System.
Data.
Commonnamespace,471System.
Data.
Odbcnamespace,471System.
Data.
OleDbnamespace,471System.
Data.
OracleClientnamespace,471System.
Data.
SqlClientnamespace,471System.
Data.
SqlTypesnamespace,471System.
DiagnosticsnamespaceEventLogClass,227performancecounterclasses,959System.
DrawingnamespaceBitmapclass,943Colorstructure,174Graphicsclass,943importing,175KnownColorenumeration,203System.
Drawing.
TextnamespaceInstalledFontCollectionclass,202System.
EnterpriseServicesassemblyreferencingforwebservicetransactions,853System.
IOnamespaceDirectoryclass,604DirectoryInfoclass,604,610DriveInfoclass,604methods,613Fileclass,604FileInfoclass,604,610FileStreamclass,106IOExceptionclass,212retrievinginformationaboutfiles,604System.
NetnamespaceCredentialCacheclass,845NetworkCredentialclass,845System.
Runtime.
Serialization.
Formatters.
BinarynamespaceBinaryFormatterclass,772System.
Securitynamespaceimporting,847SecurityExceptionclass,212System.
Security.
AccessControlnamespaceDirectorySecurityclass,606System.
TextnamespaceStringBuilderclass,233,610elementweb.
configfile,158System.
WebnamespaceHttpApplicationclass,137HttpApplicationStateclass,337HttpForbiddenHandlerclass,684SiteMapclass,389TraceContextclass,240tag,696System.
Web.
CachingnamespaceCacheclass,970System.
Web.
ProfilenamespaceProfileBaseclass,769SqlProfileProviderclass,764INDEX1049Finditfasterathttp://superindex.
apress.
com/System.
Web.
SecuritynamespaceFormsAuthenticationclass,701Membershipclass,729System.
Web.
Servicesnamespacewebservices,72,799WebServiceclass,800System.
Web.
Services.
ProtocolsnamespaceSoapExceptionclass,832SoapHeaderclass,850System.
Web.
UInamespaceDataBinderclass,587ImageClickEventArgsclass,147OutputCacheLocationenumeration,962Pageclass,151,872UserControlclass,902webcontrols,72System.
Web.
UI.
Controlnamespacewebcontrolclasses,920System.
Web.
UI.
HtmlControlsnamespaceHTMLservercontrols,131System.
Web.
UI.
WebControlsnamespace,171BaseValidatorclass,258FontInfoclass,172,175TextBoxclass,918validationcontrolclasses,258System.
Xmlnamespace,641System.
Xml.
Schemanamespacetypes,662XmlSchemaExceptionclass,663System.
Xml.
XmlSerializationnamespaceXmlSerializerclass,772System.
Xml.
XslnamespaceXslCompiledTransformclass,665SystemOperatorroledefaultWindowsroles,709TTabIndexpropertyWebControlclass,172TablecontrolclassHTMLelementsunderlying,169Tablecontrols,184,186,188dynamicallygenerating,185–186tags,132,357HtmlTableclass,132relatedcontrolclasses,169table-basedlayoutsadvancedmasterpages,355–357,359TableCellclass,184Controlscollection,188HTMLelementsunderlying,169Textproperty,188TablePageclasseventhandling,186,188TableRowclass,184HTMLelementsunderlying,169tables,relationaldatabases,454Tagprefixescreatingausercontrol,903TagNamepropertyHtmlControlclass,149tagsintroductiontoHTML,4validatorcontrols,272webcontroltags,169TargetpropertyHtmlAnchorclass,133TargetSitepropertyExceptionclass,212tags,132,357relatedcontrolclasses,169TemplateFieldclassdefiningcustomtemplates,587notsupportedbyDetailsView,599TemplateFieldcolumntypeGridViewcontrol,562templateseditinginVisualStudiowithGridViewcontrol,590–591editingwithGridView,592–593validation,595withoutCommandcolumn,596GridViewcontrol,587–588multipletemplates,589handlingeventswithGridView,591–592modelforFormViewcontrol,601multipletemplatesGridViewcontrol,590terminatinglines,31INDEX1050TerraServicewebserviceaddingreferenceto,856displayingatile,860–862searchingforinformation,859testingtheclient,857–858usingawebservice,855testingadvantageofcomponents,868Cacheobject,971–976classes,64–66disablingcachingwhiletesting,962performancetesting,956stresstesting,955–956webservices,809textdrawingcustomtext,GDI+,946–947retainingtextinwebpage,152textfilesreadingandwriting,617TextpropertyLabelcontrol,233,521ListItemcontrol,179MenuItemcontrol,407TableCellcontrolclass,188tagHtmlTextAreaclass,132TextBoxclassForeColorproperty,916tagunderlying,169overridingRendermethod,926properties,170System.
Web.
UI.
WebControlsnamespace,918TextChangedevent,778validationexample,259–261TextBoxStylepropertyLogincontrol,738TextChangedeventTextBoxclass,778Webcontrols,191TextModepropertyTextBoxcontrolclass,170tag,132relatedcontrolclasses,169Thawtecertificateauthority,689ThemeattributePagedirective,367themes,343applyingsimpletheme,365–366applyingtoentirewebsite,368creatingmultipleskinsforsamecontrol,368–369handlingthemeconflicts,366–367introduction,362–363skinswithtemplatesandimages,369–371workings,363–364thinclientsreasonstoavoidclient-sideprogramming,9third-partylanguagesand.
NET,22thiskeyword,520thread-safetydatacaching,970three-tierdesign,869ticket-basedauthentication,847SOAPheaders,849–852StockQuotewebservice,847,849TileIDTerraServicewebservice,862Timedatatypesformatstrings,568timeoutattributeformsauthenticationsettings,694tag,333TimeoutpropertyHttpSessionStateclass,325proxyclass,831TimeSpanclass,25,36–37members,38natureandbehaviorofdatatype,71TitleattributePagedirective,349TitlepropertyHtmlAnchorclass,133Wizardcontrol,296tagHtmlTitleclass,132TitleFormatpropertyCalendarcontrolclass,285TitleStylepropertyCalendarcontrolclassstyles,281TitleTextpropertyLogincontrol,740INDEX1051Finditfasterathttp://superindex.
apress.
com/TitleTextStylepropertyLogincontrol,738ToLowermethodStringclass,36ToUppermethodStringclass,36TodaypropertyDateTimeclass,37TodayDayStylepropertyCalendarcontrolclassstyles,281TodaysDatepropertyCalendarcontrol,282,285ToolboxDataattributecontroldesigntimesupport,935ToolTippropertyWebControlclass,173_topframetargets,287TopclauseSelectstatement,464ToStringmethodDateTimeclass,38TimeSpanclass,38ToString()methodDateTimestructure,568objectmanipulation,34TotalFreeSpacemethodDriveInfoclass,613TotalSizemethodDriveInfoclass,613TotalxyzpropertiesTimeSpanclass,38ToUppermethodStringclass,35tags,132,357relatedcontrolclasses,169TraceclassTraceModeproperty,250Warnmethod,247Writemethod,247traceinformationwritingtracelog,247–250TraceContextclassSystem.
Webnamespace,240TraceModeattributePagedirective,250traceModeattributetracing,251TraceModepropertyTraceobject,250tracing,209applicationstate,245application-leveltracing,251–252attributes,251controltree,244cookiescollection,245debugging,240enablingtracing,240formscollection,246headerscollection,246pagetracing,239QueryStringcollection,246requestdetails,243servervariables,247sessionstate,245traceinformation,244tracinginformation,241web.
configfile,251writingtraceinformation,247–250TransactionOptionpropertyWebMethodattribute,853transactionswebservices,853–855TransfermethodHttpServerUtilityclass,155TransfermethodServerclass,392transferringinformationquerystringexample,318–319viewstate,311TransformmethodXslCompiledTransformclass,665transformationsinterpretingspecialcharacters,155TreeNodeStyleclassproperties,399styles,399–400TreeViewcontrolapplyingstylestonodelevels,402AutomaticallyGenerateDataBindingsproperty,673comparedtoMenucontrol,405DataMemberproperty,673description,380hierarchicalbinding,672,674introduction,397INDEX1052LevelStylescollection,402linkingtoSiteMapDataSourcecontrol,386mapping,673MaxDataBindDepthproperty,388NodeIndentproperty,400properties,398SkinIDproperty,403styleproperties,401styles,401–402themes,403Visibleproperty,361TrimmethodStringclass,35–36TrimEndmethodStringclass,36TrimStartmethodStringclass,36troubleshootingadvantageofcomponents,868trustboundaries,789Try/Catchblockdatabaseconnections,474fileaccessexample,627structurederrorhandling,215structuredexceptionhandling,220verifyingdatabaseconnection,478typeattributeconfiguringmembershipprovider,723tag,132typeconversions,32–34explicittypeconversions,33implicittypeconversions,33typeprofilepropertyattributetag,769TypepropertyHtmlInputControlclass,151TypeConverterclass,204System.
ComponentModelnamespace,204typesobjectandtypebehaviors,70referencetypes,67valuetypes,67typicalstatemanagementoptions,339–340UUDDI(UniversalDescription,Discovery,andIntegration),795webservicestandards,791tagrelatedtoBulletedListcontrol,169UnchangedvalueDataRowStateenumeration,508UnderlinepropertyFontInfoclass,176Unitstructure,173UsePixel()method,173UnitTypeenumeration,173UniversalDescription,Discovery,andIntegration.
SeeUDDIUnloadeventPageclass,758UnlockmethodApplicationstatecollection,338MembershipUserclass,734UnlockUsermethodMembershipUserclass,731Untilkeyword,44UpdatemethodDataAdapterclass,508SqlDataSourceclass,555,580Wizardcontrol,301Updatestatement,466example,494–495executing,486SQLbasicconcepts,461SQLQueryAnalyzer,466UpdateCommandpropertyDataAdapterclass,499SqlDataSourceclass,547,554UpdateCommandTypepropertySqlDataSourceclass,547Updatedeventdatasourcecontrols,545SqlDataSourceclass,553UpdateFailedExceptionclass,213UpdateMethodmethodObjectDataSourceclass,895,897UpdateParameterscollectionSqlDataSourceclass,555,580UpdateUsermethodMembershipclass,729–730,734INDEX1053Finditfasterathttp://superindex.
apress.
com/updating,ASPproblems,9updatingdata,486,489–490addingarecord,489modifyingdisconnecteddata,505parameterizedcommands,492updatingdisconnecteddataCommandBuilderclass,507concurrency,512concurrencyexample,513,516conflicts,508–509,511DataAdapterclass,507example,510updatingatable,508Updatingeventdatasourcecontrols,545uploadingfiles.
SeefileuploadsURIs(UniversalResourceIdentifiers)XMLnamespaces,660URLaddressesspecifyingwebservicenamespace,808URLencodingHttpServerUtilityclass,152urlparameterWSDL.
exeparameters,825UrlpropertyHttpRequestclass,153UrlDecodemethodHttpServerUtilityclass,155UrlEncodemethodHttpServerUtilityclass,155UrlEncodemethodchangingtext,157urlMappingssectionweb.
configfile,392UrlReferrerpropertyHttpRequestclass,153URLs(UniversalResourceLocators)mungedURL,330querystringparameter,316–317requestedpageURL,701sessiontracking,324UsePixelmethodUnitstructure,173UseCookiesvalueHttpCookieModeenumeration,330UseDeviceProfilevalueHttpCookieModeenumeration,330Useraccountsroleformanaging,709userauthentication,152UserclassIdentityproperty,704,709IsInRolemethod,704,752usercontrolsascxfiles,901comparedtoASP.
NETwebforms,901creating,902–905dynamically,905customusercontrolbasedontextbox,920events,910–912independentusercontrols,905–907integratedusercontrols,907–910introduction,901–902limitations,916passinginformationwithevents,912–915supportinVisualStudio,905userinterfacecode-behindfilesdistinction,524three-tierdesign,869validatinginput,255webcontrolsadvantage,167UserobjectASP.
NETintrinsicobjects,805UserpropertyPageclass,152,703userrecordmanagementasfeatureofmembership,715UserroledefaultWindowsroles,709UserAgentpropertyHttpRequestclass,153UserControlclassinheritance,902Loadevent,903System.
Web.
UInamespace,902UserHostAddresspropertyHttpRequestclass,153UserHostNamepropertyHttpRequestclass,153UserLanguagespropertyHttpRequestclass,153usernameparameterWSDL.
exeparameters,825INDEX1054UserNamepropertyLogincontrol,737ProfileInfoclass,780UserNameLabelTextpropertyLogincontrol,740UsernameRequiredErrorMessagepropertyLogincontrol,740users,authorizatingaccessfor,697UserTypeenumeration,29UseUrivalueHttpCookieModeenumeration,330usingstatement,479codeexamples,207VValidatemethodPageclass,264,276–277ValidateEmptyTextpropertyCustomValidatorclass,274ValidateUsermethodMembershipclass,730,733validationclient-sidevalidation,258controlclasses,258displayoptions,262editingtemplateswithGridView,595example,259,261–262introduction,255–256listcontrols,275manualvalidation,264–265processexplained,257–258securitycookies,693validatedcustomerform,270,272–274validationcontrols,256–257validationgroups,275–276validationcontrols,255ControlToValidateproperty,265ValidationGroupproperty,275ValidationEventArgsclass,664ValidationEventHandlereventXmlReaderSettingsclass,664ValidationGrouppropertyvalidationcontrols,275ValidationSummarycontrolDisplayModeproperty,262errormessagesdisplayed,262ForeColorproperty,262HeaderTextproperty,262ShowMessageBoxproperty,263ValidationTypepropertyXmlReaderSettingsclass,662validatorcontrolsclasses,256eventhandling,272tags,272ValidatorTextStylepropertyLogincontrol,738ValuepropertyHtmlInputControlclass,151HtmlInputTextclass,133HtmlTextAreaclass,133ListItemcontrol,179valuetypesandreferencetypes,67values,enumerations,28–29variableoperations,30advancedmath,31–32typeconversions,32–34variablewatchwindowsVisualStudio2005,114variablesanddatatypes,23–24addingspecialvariable,160arrays,26,28datatypeprefixes,26initializationandassignment,25VaryByHeaderattributeOutputCachedirective,968VaryByParamattributecachingmultiplepageversions,963multiplecachingexample,965OutputCachedirective,962reusabilityofcachedpages,963specifyingparameters,964VBScriptevolutionofVisualBasic,22Verisigncertificateauthority,689VerticalPaddingpropertyTreeNodeStyleclass,399Viewcontrol,277viewstate,130–131,304databindingand,532description,305encryption,performance,307example,304–305maintainingcontrolstate,931performance,953INDEX1055Finditfasterathttp://superindex.
apress.
com/postbacks,304retainingmembervariables,307–309retrievingvalues,304security,306–307servercontrols,952statemanagementoptions,339–340storingcustomobjects,309–310testingadoptiverepeatercontrol,932transferringinformation,311ViewStatepropertyPageclass,304ViewStateEncryptionModepropertyPagedirective,307virtualdirectoriesaccessingsubdirectories,427addingtoNetworkNeighborhood,434–435ASP.
NETtab,433configuring,428creating,423,425–426web.
configfile,158creatingforanewproject,443–444creatingwebserviceapplication,801CustomErrorstab,431DirectorySecuritytab,434documenttab,430filemappings,431–433getting,153managingwithIIS,426nosharingbetweenASPandASP.
NET,122removing,158VirtualDirectorytab,428webfoldersandicons,427websitemanagementwithIISManager,423VirtualDirectoryCreationwizardcreatingavirtualdirectory,427settingsrequired,423WebServices,801visibility,413–415VisiblepropertyBoundFieldclass,564Controlclass,289HtmlControlclass,149TreeViewcontrol,361WebControlclass,173VisibleDatepropertyCalendarcontrolclass,285VisibleMonthChangedeventCalendarcontrol,283,285VisibleWhenLoggedInpropertyLogincontrol,740VisualBasic2005.
NETtypeconversion,32accessibilitykeywords,55andIL,12,14choosinga.
NETlanguage,21choosingbetweenlanguages,21conditionalstructures,39If.
.
.
EndIfblocks,40SelectCasestatement,41creatinganarray,26enhancements,22–23evolutionofVisualBasic,22loopstructures,41–42Do.
.
.
Loopblock,44For.
.
.
Nextblock,42ForEachblock,43methods,45delegates,48–49overloading,47parameters,46object-basedmanipulation,34–35Arrayclass,39DateTimeclass,36–37Stringclass,35TimeSpanclass,36–37overview,21redimensioningarrays,27variableoperations,30advancedmath,31–32typeconversions,32–34variablesanddatatypes,23–25arrays,26,28enumerations,28–29initializationandassignment,25VB6compatibility,12VisualBasic6migrationto.
NET,12INDEX1056VisualStudioSeealsodeploymentbrowsingandmodifyingdatabases,458–460configuringstyleswithGridViewcontrol,570–571configuringwebserviceclient,820–821consumingwebservices,820creatingausercontrol,902–905creatingcomponents,873creatingwebreference,822–824debuggingcomponents,892description,10designerwindow,automaticallymanagingHTMLcode,520dissectingtheproxyclass,826–829editingtemplateswithGridViewcontrol,590–591generatingcolumnswithGridViewcontrol,565–566IntelliSense,possiblevaluesforenumerations,30namedconfigurationfiles,829projectreferences,876runningSQLqueries,461–462supportforusercontrols,905usefulnessofwebreference,829viewstate,130–131VisualStudio.
NETdebuggingtools,241Exceptionswindow,212Windowsauthenticationweb.
configdefaultsetting,707VisualStudio.
NET2003comparedtoVisualStudio2005,20VisualStudio2005,20additionalfeatures,using,108benefits,85–86Breakpointswindow,113ChooseLocationdialogbox,88configuringDOCUMENTobject,96creatingawebsite,87–89SolutionExplorer,90–92creatingPageclass,100debugging,110single-stepdebugging,110–111description,17designingawebpageaddingHTML,96–98addingHTMLtables,98–99configuringcontrols,95–96designingwebpages,92addingwebcontrols,93–94IntelliSenseandoutlining,102assemblyreferences,107autoformatandcolor,107AutoCorrect,106errorunderlining,104–105memberslist,103outlining,102introduction,85migratingolderVisualStudio.
NETprojects,92NewProjectwindow,87settingcolorproperty,95Sourceview,94variablewatchwindows,114writingcode,100addingeventhandlers,100–101VolumeLabelmethodDriveInfoclass,613WWAN(WideAreaNetwork),413WarnmethodTraceobject,247WAST(WebServiceApplicationsStressTool)performancecounters,956stresstesting,956WAT(WebsiteAdministrationTool),164creatingandassigningroles,749–751creatingusers,727–729ManageAccessRuleslink,752settingupauthorizationandauthenticationrules,697,699–700WatchvariablewatchwindowVisualStudio2005,114webapplicationsdatabaseconcurrency,455fileaccess,603–604performancecounters,956scalability,455securityrequirements,683state,456usingfileswith,603INDEX1057Finditfasterathttp://superindex.
apress.
com/webbrowsersclient-sidecaching,962–963webcontroltags,169attributes,169controlproperties,169runat=serverattribute,169trackingthecontrol,169Webcontrols,128,167webcontrolsaddingtowebpageswithVisualStudio2005,93–94AdRotatorcontrol,286–288advantages,167automaticpostbackandevents,189,191,193–194pagelifecycle,194–195,197AutoPostBackproperty,191,193Calendarcontrol,278–281classes,168,171–178colors,174–175combiningormodifying,916creating,929–931defaultbutton,178enumeratedvalues,174events,191Focus()method,177–178fonts,175–176HTMLelementsunderlying,169HTMLservercontrolscompared,167inheritance,172inheritingfrombaseclass,929postbacks,937System.
Web.
UInamespace,72Unitstructure,173usercontrolevents,910visibility,173webdevelopmentclient-sideprogramming,7evolution,3HTMLandHTMLforms,5–6problemswithASP,9–10server-sideprogramming,6webfarms,415–416configuration,333webfoldersicons,427settings,428WebFormcontrolsrichcontrols,277WebFormdesignerVisualStudio2005,86webforms,119events,133validatedform,270,272–274webhostingprivateassemblies,437webpageapplete-card,197–200,202generatingautomatically,205improving,202–204webpagesaddingHTMLservercontrols,133ASPlimitations,9ASP.
NETapplications,119bufferingserveroutput,154caching,154cachingmultiplepageversions,963currentaddress,153designinginVisualStudio2005,92addingHTML,96–98addingHTMLtables,98–99addingwebcontrols,93–94configuringcontrols,95–96dynamicwebpages,6embeddingdynamicgraphics,947headersandfooters,904inheritance,151isolationfromdatabase,871lifecycle,194multiplecachingexample,966orderofeventsinprocessing,189OutputCachedirective,967previouspageaddress,153referenceto,172simplifyingcodestructurewithcomponents,868transferringexecutiontoanother,155transferringinformationbetween,153transferringusertoanother,154updating,123usercontrolscompared,901webportalsdatadrivenASP.
NETapplications,455INDEX1058webreferencecreatinginVisualStudio,822–824TerraServicewebservice,856webserver,411workings,411–413webserverfilebrowser,614WebServiceApplicationsStressTool.
SeeWASTWebServiceDescriptionLanguage.
SeeWSDLWebServiceDiscovery,794DISCO,795webservicetestpage,810–811webservicesSeealsoStockQuotewebserviceaccessingSessionstate,806accessingwebmethods,803architecture,787asexampleofintegratedXML,634businessobjectscomparison,803code-behindfiles,803communicationlimitations,794componentscompared,872configuringwebserviceproject,800–801consuming,820configuringwebserviceclient,820–821creatingproxywithWSDL.
exe,824–826creatingwebreferenceinVisualStudio,822–824dissectingtheproxyclass,826–829dynamicwebserviceurls,829roleofproxyclass,821creating,799cross-platformcompatibilityanddatatyperestrictions,815currentsituation,797datacaching,976,978datatypes,815–816documentingconformanceclaims,808–809descriptions,806–807specifyingnamespace,807–808enhancing,835formsauthentication,847functionvisibility,818futureideas,797IIS(InternetInformationServices),790IntegratedWindowsauthentication,845Internetapplications,789introduction,799–800MapPoint,864openstandards,790outputcaching,969performance,790proxyclass,803security,790,842–843sessionstatemanagement,842SOAP,790communications,793statemanagement,835–836consumingastatefulwebservice,838–842StockQuoteService,836–838System.
Web.
Servicesnamespace,72TerraServicewebservice,855–862testing,809methoddescription,812methodtesting,813–815viewingservicedescription,811webservicetestpage,810–811ticket-basedauthentication,847,849SOAPheaders,849–852transactions,853–855usingarealwebservice,855usingSOAPheadersintheclient,852usingtheproxyclass,830–831connectingthroughproxy,833waitingandtimeouts,831–832webserviceerrors,832usingwithoutproxyclass,826usingwithoutVisualStudio,826webservicestandards,791whentouse,789–790Windowsauthentication,843–846Windowsclients,862–863WSDL,791,793XMethods,864web.
configfileaccessingspecificdirectories,695accessingspecificfiles,696element,160advantages,157element,782INDEX1059Finditfasterathttp://superindex.
apress.
com/element,160authenticatingusers,694authorizationsection,752tag,694case-sensitivity,158element,158connectionstringnotfound,891connectionStringssection,546customerrorpages,237description,121dynamicwebserviceURLs,829formsauthentication,693formsauthentication,implementing,693tag,711maximumsizeoffileuploads,630maxRequestLengthsetting,630modifyingerrormodes,236modifyingsettingsprogrammatically,163outputCacheProfilessection,968profilesection,addingelement,768questionmarkwildcard,695retrievingconnectionstringsfrom,887serializeAsattribute,772sessionstateconfiguration,329tag,329storingcustomsettings,160–161subdirectoryinheritance,159element,158tracing,251urlMappingssection,392Windowsauthentication,705,762settings,707–708XML,633structureof,158WebConfigurionManagerclassOpenWebConfiguration()method,163–164performanceof,164WebControlclassasbaseclass,172–173CreateChildControlsmethod,936EnableViewStateproperty,931formattingforrepeatingcontrol,931inheritingfrom,929properties,172units,173WebMethodattribute,800addingdescriptionstofunctions,806–807EnableSessionproperty,835enablingsessionstate,836–838exampleusing,802MessageNameproperty,809StockQuotewebservice,803TransactionOptionproperty,853webservicefunctionvisibility,818WebProxyclassconnectionoptions,833WebServiceattributeaddingdescriptionstowebservices,806–807specifyingnamespaces,808WebServiceclassdataobjectshouldnotderivefrom,816inheritancefrom,802inheritingaccesstostandardbuilt-inobjects,805–806methods,800System.
Web.
Servicesnamespace,800WebServiceBindingattribute,809website,applyingthemeto,368WebsiteAdministrationTool.
SeeWATwebsitemanagementwithIISManager,423virtualdirectories,423–426configuring,428websitenavigation,373sitemaps,373–374bindingamasterpagetositemap,381–383bindinganordinarypagetositemap,380–381bindingportionsofasitemap,383–389definingasitemap,374–378mappingurls,391–392Menucontrol,404–409navigatingprogrammatically,389–390simplesitemapinaction,379SiteMapPathcontrol,393–397TreeViewcontrol,397–403INDEX1060websitesSeealsodeploymentcreatinginVisualStudio,87–88creatinginVisualStudio2005,89SolutionExplorer,90–92navigationwithLinkMenu,905updating,123WeekendDayStylepropertyCalendarcontrolclassstyles,281WhereclauseAndkeyword,464Selectstatement,463–464Whilekeyword,44wideningconversions,33WidthpropertyHtmlImageclass,133,146HtmlInputImageclass,133WebControlclass,172wildcardcharacter(*)anonymoususers,694Windowsaccountpermissionsdeploymentconfiguration,438Windowsauthentication,476,705advantages,705connectingtoSQLServer,477defaultroles,709IISsettings,705impersonation,711IntegratedWindowsauthentication,688,707,845–846methods,707testpage,709–710webservices,843–846web.
configfile,705,707–708,762WindowsBuiltInRoleenumeration,709WindowsclientsTerraServicewebservice,862webservices,862–863WindowsEventLogs,226WindowsBuiltInRoleenumeration,709WindowsIdentityclassImpersonatemethod,712WithEventskeywordconnectingeventsdeclaratively,63Wizardcontrol,295ActiveStepChangedevent,301ActiveStepIndexproperty,299DisplaySideBarproperty,296events,299formatting,301programmingmodels,300properties,296steps,298styles,301Updatemethod,301Wizardcontrol,277WorkerProcessRestartscounterperformancecounters,958WritemethodHtmlWriterclass,926Responseclass,126–127,341Traceobject,247writepermissionVirtualDirectoryCreationWizard,429WritemethodHttpResponseclass,154WriteAllmethodFileclass,621WriteBinarymethodResponseobject,860WriteBytesmethodFileclass,621WriteFilemethodHttpResponseclass,154WriteLinemethodStreamWriterclass,617WriteLinesmethodFileclass,621WriteOnlykeyword,58WS-Interoperability,796WSDL(WebServiceDescriptionLanguage),791automaticgenerationofdocuments,800creatingproxywithWSDL.
exe,824–826creatingwebreference,823documentingwebservicesconformanceclaims,808–809descriptions,806–807specifyingnamespace,807–808retrievingWDSLdocument,812usingwebserviceswithoutWSDL.
exe,826webservicecommunications,793–794webservicestandards,791WSDLdocument,791INDEX1061Finditfasterathttp://superindex.
apress.
com/WSDLdocumentsaddingcustomobjectsinformation,818documentationtags,807TerraServicewebservice,856viewingwebservicesdescription,811WSDL.
execommandsyntax,825command-lineparameters,825wwwrootdirectorywebsitemanagementwithIISManager,423Xxcoordinate,945XCopydeployment,437XMethodswebservices,864XML,633ADO.
NETdataaccess,634classesforreadingnodes,644–649comments,158configurationfiles,633displayandtransforms,665–667Xmlwebcontrol,668–669introduction,634–637attributes,639–640basics,638–639comments,641elements,636filescomparedtodatabases,638specialcharacters,638rolein.
NET,633uses,634validation,659namespaces,659–660XMLfile,662–664XSDdocuments,661–662webservices,634web.
configfileformat,158XMLclasses,641XmlDocumentclass,651XmlTextReaderclass,644–649XmlTextWriterclass,642–643Xmlcontrol,277XMLdatabindingbindingtoXMLcontentfromothersources,674–675hierarchicalbindingwithTreeView,672,674introduction,669nonhierarchicalbinding,670–672XMLdocumentscomments,641declaration,639parsing,637,639partscreatedasobjects,654readingXMLfile,655searching,658–659using,650validationagainstschema,662XMLelements,636attributes,639compositionof,638nestingintag,639overlappingelements,639XMLinADO.
NET,675–676accessingaDataSetasXML,676–678accessingXMLthroughtheDataSet,678–680XMLintegrationADO.
NETcharacteristics,457XMLnamespaces,659namespaceprefixes,660namingconventions,661specifyingthatelementsbelong,659URIs(UniversalResourceIdentifiers),660URLaddressreference,808XSD,659xmloptionserializeAsattribute,772Xmlwebcontrol,668–669XmlAttributeclassattributesas,654XmlAttributeCollectionchangingnodeattributes,657XmlCommentsclasscommentsas,654XmlDataDocumentclass,641acccessingDataSetclassasXML,676acccessingXMLthroughDataSet,679DataSetproperty,677implementing,678XmlDataSourceclass,641,670Dataproperty,674–675DataFileproperty,675INDEX1062GetHierarchcialViewmethod,673implementingIDataSourceinterface,544introduction,669limitations,672XmlDocumentclass,641,651AppendChildmethod,654ChildNodesproperty,679CreateAttributemethod,654CreateCommentmethod,654CreateElementmethod,654events,658GetElementByIdmethod,658GetElementsByTagNamemethod,658InsertAftermethod,654InsertBeforemethod,654Loadmethod,655nodes,654Savemethod,652,654searchingXMLdocument,658–659XmlElementclasselementsas,654XmlNodecompared,656XmlNodeclass,641,657addingcontent,657adding/removingnodes,657changingattributes,657CloneNodemethod,657manipulatingnodes,657Nodescollection,670properties,657webservicedatatypes,815workingwithcontentasstringdata,657XmlElementcompared,656XmlReaderclassCreatemethod,662XmlReaderSettingsclassValidationEventHandlerevent,664ValidationTypeproperty,662XmlSchemaclassSystem.
Xml.
Schemanamespace,662XmlSchemaCollectionclassSystem.
Xml.
Schemanamespace,662XmlSchemaExceptionclassSystem.
Xml.
Schemanamespace,663XmlSerializerclassSystem.
Xml.
XmlSerializationnamespace,772XmlSiteMapProvidercontrol,374ASP.
NETnavigation,374XmlTextReaderclass,641–642,644–649,675propertiesandmethods,650Readmethod,644XmlTextWriterclass,641–643formatting,644XmlValidatingReaderclasscreating,663XPath,659XSD(XMLSchemaDefinition)XMLnamespaces,659XMLvalidation,659XSDdocumentselementstructure,661schema,661XslCompiledTransformclass,668Loadmethod,665System.
Xml.
Xslnamespace,665Transformmethod,665XSLTstylesheettransformations,665–667Xmlwebcontrol,668–669element,666element,666element,666Yycoordinate,945YearpropertyDateTimeclass,37Zzero-basedcounting,35zero-touchdeployment,123,437INDEX1063Finditfasterathttp://superindex.
apress.
com/

wordpress外贸企业主题 wordpress经典外贸企业建站主题

WordPress经典外贸企业建站主题,经典配色扁平化简约设计+跨屏自适应移动端设备,特色外贸企业建站功能模块+在线Inquiry询单功能,更有利于Google等英文搜索优化和站点收录。采用标准的HTML5+CSS3语言开发,兼容当下的各种主流浏览器: IE 6+(以及类似360、遨游等基于IE内核的)、Firefox、Google Chrome、Safari、Opera等;同时支持移动终端的常用...

UCloud:美国云服务器,洛杉矶节点大促,低至7元起/1个月

ucloud美国云服务器怎么样?ucloud是国内知名云计算品牌服务商家,目前推出全球多地机房的海外云服务器。UCloud主打的优势是海外多机房,目前正在进行的2021全球大促活动参与促销的云服务器机房就多达18个。UCloud新一代旗舰产品快杰云服务器已上线洛杉矶节点,覆盖北美和亚太地区,火热促销中, 首月低至7元,轻松体验具备优秀性能与极高性价比的快杰云服务器。点击进入:ucloud美国洛杉矶...

Puaex:香港vds,wtt套餐,G口带宽不限流量;可解流媒体,限量补货

puaex怎么样?puaex是一家去年成立的国人商家,本站也分享过几次,他家主要销售香港商宽的套餐,给的全部为G口带宽,而且是不限流量的,目前有WTT和HKBN两种线路的方面,虽然商家的价格比较贵,但是每次补一些货,就会被抢空,之前一直都是断货的状态,目前商家进行了补货,有需要这种类型机器的朋友可以入手。点击进入:puaex商家官方网站Puaex香港vds套餐:全部为KVM虚拟架构,G口的带宽,可...

outputcache为你推荐
支持ipad支持ipaditunes备份itunes备份是什么win7telnetwindows7旗舰版中telnet在哪xp关闭445端口Windows XP系统 关闭445端口后无法上网,求解?win7还原系统电脑怎么恢复出厂设置win7旗舰版苹果5.1完美越狱苹果iPhone4 iOS5.1完美越狱教程是什么?bitchina现在哪个浏览器最好用?ios10.0.3小六升IOS11.0.3到底卡不卡,过来人给个建议winrar5.0rar密码破解软件5.0怎么用
过期已备案域名 购买域名和空间 sugarhosts 漂亮qq空间 highfrequency t牌 老左博客 免费cdn加速 个人免费空间 微信收钱 合租空间 老左正传 美国在线代理服务器 免费cdn 免费私人服务器 彩虹云 台湾google 实惠 云服务是什么意思 网站防护 更多