SitemapMain PageTable of contentCopyrightPrefaceWho Is This Book for?How to Use This BookHow This Book Is StructuredConventions Used in This BookHow to Contact UsAcknowledgmentsPart I: Introduction to ASP.NETChapter 1. Introduction1.1 .NET Platform Fundamentals1.2 Object Orientation in the .NET Platform1.3 Choosing a Language1.4 Why and When Would I Use ASP.NET?1.5 Why and When Would I Port an Existing Application to ASP.NET?1.6 New Features in ASP.NETChapter 2. ASP.NET Applications2.1 Application Types2.2 Application Structure and Boundaries2.3 Application File TypesChapter 3. Web Forms3.1 Structuring an ASP.NET Page3.2 Stages of Page Processing3.3 State Management3.4 Caching Page Output3.5 Additional ResourcesChapter 4. Web Services4.1 Standards and Specifications4.2 Web Services Architecture4.3 Creating a Web Service4.4 Consuming a Web Service4.5 Additional ResourcesChapter 5. ASP.NET Server Controls5.1 HTML Controls5.2 Web Controls5.3 Using Controls5.4 Types of Web Controls5.5 Handling Control Events5.6 Modifying Control Appearance5.7 Additional ResourcesChapter 6. User Controls and Custom Server Controls6.1 User Controls6.2 Custom Server Controls6.3 Sharing Controls Across Applications6.4 Additional ResourcesChapter 7. Data Access and Data Binding7.1 ADO.NET: An Overview7.2 Reading Data7.3 Data Binding7.4 Inserting and Updating Data7.5 Deleting Data7.6 Additional ResourcesChapter 8. ASP.NET Configuration8.1 Understanding Configuration Files8.2 Modifying Configuration Settings8.3 Locking Down Configuration Settings8.4 Targeting a Specific Runtime Version8.5 Additional ResourcesChapter 9. ASP.NET Security9.1 Authentication Methods9.2 Authorization9.3 Ensuring Input Safety9.4 Patching9.5 Code Access Security9.6 Additional ResourcesChapter 10. Error Handling, Debugging, and Tracing10.1 Error Handling10.2 Debugging10.3 Tracing10.4 Additional ResourcesChapter 11. ASP.NET Deployment11.1 Deploying ASP.NET Applications11.2 Deploying Assemblies11.3 Deploying Through Visual Studio .NET11.4 Additional ResourcesPart II: Intrinsic Class ReferenceChapter 12. The Page Class12.1 Comments/Troubleshooting12.2 Properties Reference12.3 Collections Reference12.4 Methods Reference12.5 Events ReferenceChapter 13. The HttpApplicationState Class13.1 Comments/Troubleshooting13.2 Properties Reference13.3 Collections Reference13.4 Methods Reference13.5 Events ReferenceChapter 14. The HttpContext Class14.1 Comments/Troubleshooting14.2 Properties Reference14.3 Collections Reference14.4 Methods ReferenceChapter 15. The HttpException Class15.1 Comments/Troubleshooting15.2 Constructor Reference15.3 Properties Reference15.4 Methods ReferenceChapter 16. The HttpRequest Class16.1 Comments/Troubleshooting16.2 Properties Reference16.3 Collections Reference16.4 Methods ReferenceChapter 17. The HttpResponse Class17.1 Comments/Troubleshooting17.2 Properties Reference17.3 Collections Reference17.4 Methods ReferenceChapter 18. The HttpServerUtility Class18.1 Comments/Troubleshooting18.2 Properties Reference18.3 Methods ReferenceChapter 19. The HttpSessionState Class19.1 Comments/Troubleshooting19.2 Properties Reference19.3 Collections Reference19.4 Methods Reference19.5 Events ReferenceChapter 20. web.config Reference20.1 Comments/Troubleshooting20.2 web.config ElementsPart III: Namespace ReferenceChapter 21. Namespace Reference21.1 Reading a Quick-Reference EntryChapter 22. Converting from C# to VB Syntax22.1 General Considerations22.2 Classes22.3 Structures22.4 Interfaces22.5 Class, Structure, and Interface Members22.6 Delegates22.7 EnumerationsChapter 23. The System.Web NamespaceAspNetHostingPermissionAspNetHostingPermissionAttributeAspNetHostingPermissionLevelBeginEventHandlerEndEventHandlerHttpApplicationHttpApplicationStateHttpBrowserCapabilitiesHttpCacheabilityHttpCachePolicyHttpCacheRevalidationHttpCacheValidateHandlerHttpCacheVaryByHeadersHttpCacheVaryByParamsHttpCacheVaryByParamsHttpClientCertificateHttpCompileExceptionHttpContextHttpCookieHttpCookieCollectionHttpExceptionHttpFileCollectionHttpModuleCollectionHttpParseExceptionHttpPostedFileHttpRequestHttpRequestValidationExceptionHttpResponseHttpRuntimeHttpServerUtilityHttpStaticObjectsCollectionHttpUnhandledExceptionHttpUtilityHttpValidationStatusHttpWorkerRequestHttpWorkerRequest.EndOfSendNotificationHttpWriterIHttpAsyncHandlerIHttpHandlerIHttpHandlerFactoryIHttpModuleProcessInfoProcessModelInfoProcessShutdownReasonProcessStatusTraceContextTraceModeChapter 24. The System.Web.Caching NamespaceCacheCacheDependencyCacheItemPriorityCacheItemRemovedCallbackCacheItemRemovedReasonChapter 25. The System.Web.Configuration NamespaceAuthenticationModeClientTargetSectionHandlerFormsAuthPasswordFormatFormsProtectionEnumHttpCapabilitiesBaseHttpConfigurationContextChapter 26. The System.Web.Hosting NamespaceAppDomainFactoryApplicationHostIAppDomainFactoryIISAPIRuntimeISAPIRuntimeSimpleWorkerRequestChapter 27. The System.Web.Mail NamespaceMailAttachmentMailEncodingMailFormatMailMessageMailPrioritySmtpMailChapter 28. The System.Web.Mobile NamespaceCookielessDataErrorHandlerModuleMobileCapabilitiesMobileDeviceCapabilitiesSectionHandler .NETMobileErrorInfoMobileFormsAuthenticationChapter 29. The System.Web.Security NamespaceDefaultAuthenticationEventArgsDefaultAuthenticationEventHandlerDefaultAuthenticationModuleFileAuthorizationModuleFormsAuthenticationFormsAuthenticationEventArgsFormsAuthenticationEventHandlerFormsAuthenticationModuleFormsAuthenticationTicketFormsIdentityPassportAuthenticationEventArgsPassportAuthenticationEventHandlerPassportAuthenticationModulePassportIdentityUrlAuthorizationModuleWindowsAuthenticationEventArgsWindowsAuthenticationEventHandlerWindowsAuthenticationModuleChapter 30. The System.Web.Services NamespaceWebMethodAttributeWebServiceWebServiceAttributeWebServiceBindingAttributeChapter 31. The System.Web.Services.Configuration NamespaceXmlFormatExtensionAttributeXmlFormatExtensionPointAttributeXmlFormatExtensionPrefixAttributeChapter 32. The System.Web.Services.Description NamespaceBindingBindingCollectionDocumentableItemFaultBindingFaultBindingCollectionHttpAddressBindingHttpBindingHttpOperationBindingHttpUrlEncodedBindingHttpUrlReplacementBindingImportImportCollectionInputBindingMessageMessageBindingMessageCollectionMessagePartMessagePartCollectionMimeContentBindingMimeMultipartRelatedBindingMimePartMimePartCollectionMimeTextBindingMimeTextMatchMimeTextMatchCollectionMimeXmlBindingOperationOperationBindingOperationBindingCollectionOperationCollectionOperationFaultOperationFaultCollectionOperationFlowOperationInputOperationMessageOperationMessageCollectionOperationOutputOutputBindingPortPortCollectionPortTypePortTypeCollectionProtocolImporterProtocolReflectorServiceServiceCollectionServiceDescriptionServiceDescriptionBaseCollectionServiceDescriptionCollectionServiceDescriptionFormatExtensionServiceDescriptionFormatExtensionCollectionServiceDescriptionImporterServiceDescriptionImportStyleServiceDescriptionImportWarningsServiceDescriptionReflectorSoapAddressBindingSoapBindingSoapBindingStyleSoapBindingUseSoapBodyBindingSoapExtensionImporterSoapExtensionReflectorSoapFaultBindingSoapHeaderBindingSoapHeaderFaultBindingSoapOperationBindingSoapProtocolImporterSoapTransportImporterTypesChapter 33. The System.Web.Services.Discovery NamespaceContractReferenceContractSearchPatternDiscoveryClientDocumentCollectionDiscoveryClientProtocolDiscoveryClientProtocol.DiscoveryClientResultsFileDiscoveryClientReferenceCollectionDiscoveryClientResultDiscoveryClientResultCollectionDiscoveryDocumentDiscoveryDocumentLinksPatternDiscoveryDocumentReferenceDiscoveryDocumentSearchPatternDiscoveryExceptionDictionaryDiscoveryReferenceDiscoveryReferenceCollectionDiscoveryRequestHandlerDiscoverySearchPatternDynamicDiscoveryDocumentExcludePathInfoSchemaReferenceSoapBindingXmlSchemaSearchPatternChapter 34. The System.Web.Services.Protocols NamespaceAnyReturnReaderHtmlFormParameterReaderHtmlFormParameterReaderHtmlFormParameterWriterHtmlFormParameterWriterHttpGetClientProtocolHttpMethodAttributeHttpPostClientProtocolHttpSimpleClientProtocolHttpWebClientProtocolLogicalMethodInfoLogicalMethodTypesMatchAttributeMimeFormatterMimeParameterReaderMimeParameterReaderMimeParameterWriterMimeParameterWriterMimeReturnReaderNopReturnReaderPatternMatcherSoapClientMessageSoapDocumentMethodAttributeSoapDocumentServiceAttributeSoapExceptionSoapExtensionSoapExtensionAttributeSoapHeaderSoapHeaderAttributeSoapHeaderCollectionSoapHeaderDirectionSoapHeaderExceptionSoapHttpClientProtocolSoapMessageSoapMessageStageSoapParameterStyleSoapParameterStyleSoapRpcMethodAttributeSoapRpcServiceAttributeSoapServerMessageSoapServiceRoutingStyleSoapUnknownHeaderTextReturnReaderUrlEncodedParameterWriterUrlEncodedParameterWriterUrlParameterReaderUrlParameterReaderUrlParameterWriterUrlParameterWriterValueCollectionParameterReaderValueCollectionParameterReaderWebClientAsyncResultWebClientProtocolWebServiceHandlerFactoryXmlReturnReaderChapter 35. The System.Web.SessionState NamespaceHttpSessionStateIReadOnlySessionStateIRequiresSessionStateIStateRuntimeSessionStateModeSessionStateModuleSessionStateSectionHandlerStateRuntimeChapter 36. The System.Web.UI NamespaceAttributeCollectionBaseParserBasePartialCachingControlBuildMethodBuildTemplateMethodCompiledTemplateBuilderConstructorNeedsTagAttributeControlControlBuilderControlBuilderAttributeControlCollectionCssStyleCollectionDataBinderDataBindingDataBindingCollectionDataBindingHandlerAttributeDataBoundLiteralControlDesignerDataBoundLiteralControlDesignTimeParseDataDesignTimeTemplateParserEmptyControlCollectionHtml32TextWriterHtmlTextWriterHtmlTextWriterAttributeHtmlTextWriterStyleHtmlTextWriterTagIAttributeAccessorIDataBindingsAccessorImageClickEventArgsImageClickEventHandlerINamingContainerIParserAccessorIPostBackDataHandlerIPostBackEventHandlerIStateManagerITagNameToTypeMapperITemplateIUserControlDesignerAccessorIValidatorLiteralControlLosFormatterObjectConverterObjectTagBuilderOutputCacheLocationPagePageParserPairParseChildrenAttributePartialCachingAttributePartialCachingControlPersistChildrenAttributePersistenceModePersistenceModeAttributePropertyConverterRenderMethodRootBuilderSimpleWebHandlerParserStateBagStateItemStaticPartialCachingControlTagPrefixAttributeTemplateBuilderTemplateContainerAttributeTemplateControlTemplateControlParserTemplateParserToolboxDataAttributeTripletUserControlUserControlControlBuilderValidationPropertyAttributeValidatorCollectionWebServiceParserChapter 37. The System.Web.UI.Design NamespaceCalendarDataBindingHandlerColorBuilderControlDesignerControlParserControlPersisterDataBindingCollectionConverterDataBindingCollectionEditorDataBindingHandlerDataBindingValueUIHandlerDataFieldConverterDataMemberConverterDataSourceConverterDesignTimeDataHtmlControlDesignerHtmlIntrinsicControlDesignerHyperLinkDataBindingHandlerIControlDesignerBehaviorIDataSourceProviderIHtmlControlDesignerBehaviorImageUrlEditorITemplateEditingFrameITemplateEditingServiceIWebFormReferenceManagerIWebFormsBuilderUIServiceIWebFormsDocumentServiceReadWriteControlDesignerTemplatedControlDesignerTemplateEditingServiceTemplateEditingVerbTextControlDesignerTextDataBindingHandlerUrlBuilderUrlBuilderOptionsUrlEditorUserControlDesignerWebControlToolboxItemXmlFileEditorXmlUrlEditorXslUrlEditorChapter 38. The System.Web.UI.Design.WebControls NamespaceAdRotatorDesignerBaseDataListComponentEditorBaseDataListDesignerBaseValidatorDesignerButtonDesignerCalendarAutoFormatDialogCalendarDesignerCheckBoxDesignerDataGridColumnCollectionEditorDataGridComponentEditorDataGridDesignerDataListComponentEditorDataListDesignerHyperLinkDesignerLabelDesignerLinkButtonDesignerListControlDataBindingHandlerListControlDesignerListItemsCollectionEditorPanelDesignerRegexEditorDialogRegexTypeEditorRepeaterDesignerTableCellsCollectionEditorTableDesignerTableRowsCollectionEditorXmlDesignerChapter 39. The System.Web.UI.HtmlControls NamespaceHtmlAnchorHtmlButtonHtmlContainerControlHtmlControlHtmlFormHtmlGenericControlHtmlImageHtmlInputButtonHtmlInputCheckBoxHtmlInputControlHtmlInputFileHtmlInputHiddenHtmlInputImageHtmlInputRadioButtonHtmlInputTextHtmlSelectHtmlTableHtmlTableCellHtmlTableCellCollectionHtmlTableRowHtmlTableRowCollectionHtmlTextAreaChapter 40. The System.Web.UI.MobileControls NamespaceAdRotatorAlignmentArrayListCollectionBaseBaseValidatorBooleanOptionCalendarCommandCommandFormatCompareValidatorConstantsControlPagerCustomValidatorDesignerAdapterAttributeDeviceOverridableAttributeDeviceSpecificDeviceSpecificChoiceDeviceSpecificChoiceCollectionDeviceSpecificChoiceControlBuilderDeviceSpecificChoiceTemplateBuilderDeviceSpecificChoiceTemplateContainerDeviceSpecificControlBuilderErrorFormatterPageFontInfoFontSizeFormFormControlBuilderFormMethodIControlAdapterImageIObjectListFieldCollectionIPageAdapterItemPagerITemplateableLabelLinkListListCommandEventArgsListCommandEventHandlerListControlBuilderListDataBindEventArgsListDataBindEventHandlerListDecorationListSelectTypeLiteralLinkLiteralTextLiteralTextContainerControlBuilderLiteralTextControlBuilderLoadItemsEventArgsLoadItemsEventHandlerMobileControlMobileControlBuilderMobileControlsSectionHandlerMobileListItemMobileListItemCollectionMobileListItemTypeMobilePageMobileUserControlObjectListObjectListCommandObjectListCommandCollectionObjectListCommandEventArgsObjectListCommandEventHandlerObjectListControlBuilderObjectListDataBindEventArgsObjectListDataBindEventHandlerObjectListFieldObjectListFieldCollectionObjectListItemObjectListItemCollectionObjectListSelectEventArgsObjectListSelectEventHandlerObjectListShowCommandsEventArgsObjectListShowCommandsEventHandlerObjectListTitleAttributeObjectListViewModePagedControlPagerStylePanelPanelControlBuilderPersistNameAttributePhoneCallRangeValidatorRegularExpressionValidatorRequiredFieldValidatorSelectionListStyleStyleSheetStyleSheetControlBuilderTemplateContainerTextBoxTextBoxControlBuilderTextControlTextViewTextViewElementValidationSummaryWrappingChapter 41. The System.Web.UI.MobileControls.Adapters NamespaceChtmlCalendarAdapterChtmlCommandAdapterChtmlFormAdapterChtmlImageAdapterChtmlLinkAdapterChtmlMobileTextWriterChtmlPageAdapterChtmlPhoneCallAdapterChtmlSelectionListAdapterChtmlTextBoxAdapterControlAdapterHtmlCalendarAdapterHtmlCommandAdapterHtmlControlAdapterHtmlFormAdapterHtmlImageAdapterHtmlLabelAdapterHtmlLinkAdapterHtmlListAdapterHtmlLiteralTextAdapterHtmlMobileTextWriterHtmlObjectListAdapterHtmlPageAdapterHtmlPanelAdapterHtmlPhoneCallAdapterHtmlSelectionListAdapterHtmlTextBoxAdapterHtmlTextViewAdapterHtmlValidationSummaryAdapterHtmlValidatorAdapterMobileTextWriterMultiPartWriterUpWmlMobileTextWriterUpWmlPageAdapterWmlCalendarAdapterWmlCommandAdapterWmlControlAdapterWmlFormAdapterWmlImageAdapterWmlLabelAdapterWmlLinkAdapterWmlListAdapterWmlLiteralTextAdapterWmlMobileTextWriterWmlObjectListAdapterWmlPageAdapterWmlPanelAdapterWmlPhoneCallAdapterWmlSelectionListAdapterWmlTextBoxAdapterWmlTextViewAdapterWmlValidationSummaryAdapterWmlValidatorAdapterChapter 42. The System.Web.UI.WebControls NamespaceAdCreatedEventArgsAdCreatedEventHandlerAdRotatorBaseCompareValidatorBaseDataListBaseValidatorBorderStyleBoundColumnButtonButtonColumnButtonColumnTypeCalendarCalendarDayCalendarSelectionModeCheckBoxCheckBoxListCommandEventArgsCommandEventHandlerCompareValidatorCustomValidatorDataGridDataGridColumnDataGridColumnCollectionDataGridCommandEventArgsDataGridCommandEventHandlerDataGridItemDataGridItemCollectionDataGridItemEventArgsDataGridItemEventHandlerDataGridPageChangedEventArgsDataGridPageChangedEventHandlerDataGridPagerStyleDataGridSortCommandEventArgsDataGridSortCommandEventHandlerDataKeyCollectionDataListDataListCommandEventArgsDataListCommandEventHandlerDataListItemDataListItemCollectionDataListItemEventArgsDataListItemEventHandlerDayNameFormatDayRenderEventArgsDayRenderEventHandlerDropDownListEditCommandColumnFirstDayOfWeekFontInfoFontNamesConverterFontSizeFontUnitFontUnitConverterGridLinesHorizontalAlignHyperLinkHyperLinkColumnHyperLinkControlBuilderImageImageAlignImageButtonIRepeatInfoUserLabelLabelControlBuilderLinkButtonLinkButtonControlBuilderListBoxListControlListItemListItemCollectionListItemControlBuilderListItemTypeListSelectionModeLiteralLiteralControlBuilderMonthChangedEventArgsMonthChangedEventHandlerNextPrevFormatPagedDataSourcePagerModePagerPositionPanelPlaceHolderPlaceHolderControlBuilderRadioButtonRadioButtonListRangeValidatorRegularExpressionValidatorRepeatDirectionRepeaterRepeaterCommandEventArgsRepeaterCommandEventHandlerRepeaterItemRepeaterItemCollectionRepeaterItemEventArgsRepeaterItemEventHandlerRepeatInfoRepeatLayoutRequiredFieldValidatorSelectedDatesCollectionServerValidateEventArgsServerValidateEventHandler StyleTableTableCellTableCellCollectionTableCellControlBuilderTableHeaderCellTableItemStyleTableRowTableRowCollectionTableStyleTargetConverterTemplateColumnTextAlignTextBoxTextBoxControlBuilderTextBoxModeTitleFormatUnitUnitConverterUnitTypeValidatedControlConverterValidationCompareOperatorValidationDataTypeValidationSummaryValidationSummaryDisplayModeValidatorDisplayVerticalAlignWebColorConverterWebControlXmlAppendix A. Type, Method, Property, and Field IndexA-FG-NO-YColophonIndexIndex SYMBOLIndex AIndex BIndex CIndex DIndex EIndex FIndex GIndex HIndex IIndex JIndex KIndex LIndex MIndex NIndex OIndex PIndex QIndex RIndex SIndex TIndex UIndex VIndex WIndex X |