1. ASP.NET Introduction 2. Comp of .Net Framework 3.5 3. Sys.Req for VS 2008 4. ASP.NET Envrmnt Setup 5. VS2010 Ultimate Sys.Req 6. Installing VS 2010 7. VS 2012 Sys.Req 8. Installing VS Exp 2012 9. Start the VS 2008 10. Application Life Cycle 11. Page Life Cycle 12. Page Life Cycle Events 13. ASP.NET Example 14. Event Handling 15. Default Events 16. Server Side 17. Request Object 18. Response Object 19. Server Controls 20. Server Controls Properties 21. Server Controls Methods 22. HTML Server Controls 23. Client Side 24. ASP.NET Basic Controls 25. TextBox Control 26. CheckBox Controls 27. RadioButton Controls 28. ListBox Control 29. HyperLink Control 30. Image Control 31. BulletedList Control 32. ASP.NET Directives 33. Implements Directive 34. Master Type Directive 35. Page Directive 36. PreviousPage Type 37. Managing State 38. Control State 39. Cookies 40. Query Strings 41. Server-Side State 42. Session State 43. Validation Controls 44. Required FieldValidator 45. Range Validator 46. Compare Validator 47. RegularExpressionValidator 48. Custom Validator 49. Validation Summary 50. Data Source Control 51. AdRotator Control 52. Calendar Control 53. Calendar Control Example 54. Panel Control 55. Panel Control Example 56. Multi Views Control 57. MultiView & View controls 58. MultiView Control Example 59. FileUpload Control 60. FileUpload Control Eg 61. AJAX Control 62. UpdatePanel control 63. UpdateProgress Control 64. Custom Controls 65. Custom Control Eg 66. Personalization 67. Create Simple Profile 68. ADO.NET 69. ADO.NET Objects 70. DataTable 71. DataRow 72. DataColumn 73. Object Example 74. Error Handling 75. Tracing Errors 76. Debugger 77. Security 78. Authentication 79. Authorization 80. LINQ 81. LINQ Query Operators 82. LINQ Example 83. Caching 84. Data Caching 85. Output Caching 86. Object Caching 87. Web Services 88. Create Web Services Eg 89. Web & Machine.config 90. Settings Schema 91. ASP.NET Deployment 92. XCopy Deployment 93. Web Setup Project 94. ASP Interview Part 1 95. ASP Interview Part 2 96. ASP Interview Part 3 97. ASP Interview Part 4 98. ASP Interview Part 5 99. ASP Interview Part 6
Pr.Pg Next Pg

ASP.NET Settings Schema (The System.Web Element) tutorials

  • This element specifies the configuration elements and configuration section that configure ASP.NET Web applications and control how the application behaves.



The syntax of the system.web element is such as:



<anonymousIdentification> <authentication> <authorization>

<caching> <clientTarget> <hostingEnvironment>

<httpCookies> <httpModules>

<httpRuntime> <identity> <machineKey> <pages>

<profile> <roleManager> <securityPolicy>

<sessionPageState> <sessionState> <siteMap> <trace>

<urlMappings> <webControls> <webParts>

<webServices> <xhtmlConformance>



The descriptions of the above elements are such as.

  • authentication Element: It configures the ASP.NET authentication support.





mode="[Windows|Forms|Passport|None]" >





  • anonymousIdentification Element: This element Configures anonymous identification for application authorization. This is required to identify entities that are not authenticated when authorization is required.




enabled="[true | false]"

cookieless="[UseUri | UseCookies | AutoDetect | UseDeviceProfile]"



< cookieProtection="[None | Validation | Encryption | All]"

cookieRequireSSL="[true | false]"

cookieSlidingExpiration="[true | false]"


domain="cookie domain"



  • authorization Element: This element configures the authorization for a web application controlling client access to URL resources.




<allow .../>

<deny .../>



  • caching Element: This Element Configures the cache settings for a Web application










  • hostingEnvironment Element: Defines configuration settings that control the behavior of the application hosting environment.



<hostingEnvironment idleTimeout="HH:MM:SS"



  • httpCookies Element: This element configures a Web application cookies property:



<httpCookies domain="String"


requireSSL="true|false" />


  • httpModules Element:This elements configures the HTTP modules within an can be declaired at any level of hierarchy.




<add... />

<remove... />




  • httpRuntime Element:This elements configures the ASP.NET HTTP run-time settings that determine how to process a request for an ASP.NET application.




executionTimeout = "HH:MM:SS" maxRequestLength = "number"

requestLengthDiskThreshold = "number"

useFullyQualifiedRedirectUrl = "[True|False]" minFreeThreads = "number"

minLocalRequestFreeThreads = "number"

appRequestQueueLimit = "number" enableKernelOutputCache = "[True|False]"

enableVersionHeader = "[True|False]"

apartmentThreading = "[True|False]"

requireRootedSaveAsPath = "[True|False]" enable = "[True|False]"

sendCacheControlHeader = "[True|False]"

shutdownTimeout = "HH:MM:SS"

delayNotificationTimeout = "HH:MM:SS"

waitChangeNotification = "number"

maxWaitChangeNotification = "number"

enableHeaderChecking = "[True|False]"



  • identity Element: This element configures the identity of the Web can be declared at any level in the configuration file hierarchy.



<identity impersonate="true|false"




  • machineKey Element: This element configures keys for encryption and decryption of forms authentication cookie data and view-state data etc.




validationKey="AutoGenerate,IsolateApps" [String]

decryptionKey="AutoGenerate,IsolateApps" [String]

validation="SHA1" [SHA1 | MD5 | 3DES | AES]

decryption="Auto" [Auto | DES | 3DES | AES]




DES: Data Encryption Standard

3DES: Tripple DES algorithm to decrypt data

AES: default algorithm to decrypt data.


  • pages Element: This element defines page-specific configuration settings globally.




buffer="[True|False]" enableEventValidation="[True|False]"



enableViewStateMac="[True|False]" smartNavigation="[True|False]"

autoEventWireup="[True|False]" pageBaseType="typename, assembly"


validateRequest="[True|False]" masterPageFile="file path"

theme="string" styleSheetTheme="string" maxPageStateFieldLength="number"

compilationMode="[Always|Auto|Never]" pageParserFilterType="string"


maintainScrollPositionOnPostBack="[True|False]" asyncTimeout="number" >






  • profile Element: profile elements configures parameters for managing user profile values by using the ASP.NET profile, added in the .NET Framework version 2.0.





inherits="fully qualified type reference"


defaultProvider="provider name">




  • roleManager Element: roleManager configurs an application for role management.









cookieRequireSSL="true|false "

cookieSlidingExpiration="true|false "

cookieTimeout="number of minutes"


defaultProvider="provider name"

domain="cookie domain">


maxCachedResults="maximum number of role names cached"




  • securityPolicy Element: securityPolicy elements defines a collection of mappings between security policy files and the trust level names for the security polisy files.




<trustLevel />


  • sessionPageState:sessionPageState element configures the settings page view-state for an ASP.NET application.



<sessionPageState historySize="number" />

  • sessionStateElement: The <sessionState> section provides a means to configure the session state HttpModule of the ASP.NET application.




mode = "mode="Off|Inproc|StateServer|SqlServer"


timeout="number of minutes"

connectionString="server name:port number"

sqlConnectionString="sql connection string"/>



  • siteMap Element: This element specifies the configuration settings to support the navigation infrastructure for configuring storing, and rendering site navigation.


  • traceElement: The trace element allows the configuration of the ASP.NET trace service.


  • urlMapping Element: This element specifies a mapping that hides the real URL and maps it to a more user-friendly URL.




<urlMappings enabled="true | false">


<clear />




  • webControls Element: Specifies the shared location of the client script files



<webControls clientScriptsLocation="String" />


  • webParts Element: Specifies a Web Parts personalization provider, sets personalization authorizations, and adds custom classes that extend the WebPartTransformer class for use by Web Parts connections.



<webParts enableExport="true|false">


<transformers>...</transformers >



  • webServices Element: This element controls the behavior of ASP.NET Web services and their clients. By default, the webServices element and its descendants are applied to any Web service or proxy class to which the configuration applies.





<add name="protocol name"/> <remove name="protocol name"/> <clear/> </protocols>


<add type="type"/> <remove type="type"/> <clear/>



<add type="type" priority="number" group="0|1"/>/> <remove type="type"/> <clear/>

</soapExtensionTypes> <soapExtensionReflectorTypes>

<add type="type" priority="number" group="0|1"/>/> <remove type="type"/> <clear/>



<add type="type" priority="number" group="0|1"/>/> <remove type="type"/> <clear/>


<wsdlHelpGenerator href="help generator file"/> <diagnostics suppressReturningExceptions="true|false" />



Pr.Pg border                                              Next Pg