The ASP.net configuration section schema contains elements that control the behavior of the ASP.net Web application. If you specify a default value for a property, the default value is set in the Machine.config file, and the path to the file is systemroot/microsoft.net/framework/versionnumber/config/.
Element description
<system.web> specifies the root element for the ASP.net configuration section.
<add> for <assemblies> Add an assembly reference to be used during dynamic resource compilation.
<add> for <clientTarget> adds the alias of a specific user agent to the internal collection of user agent aliases.
<add> for <add> for <add> add a transport protocol for <protocols> that the. NET Framework can use to decrypt data sent from the client browser in an HTTP request.
<add> for <serviceDescriptionFormatExtensionTypes> Add a service description format extension to run within the scope of the configuration file.
For <soapExtensionTypes>, <soapExtensionImporterTypes> and <soapExtensionReflectorTypes> <add > Add a SOAP extension to run with all XML Web services within the scope of the configuration file.
<allow> allow access to resources.
<assemblies> specify asp.net compilation processing instructions.
<authentication> Configure ASP.net authentication support.
<authorization> Configure ASP.net authorization support.
<browserCaps> Configure settings for the browser feature component.
<case> allow pattern matching to stop after the first successful match in the processing of a large number of substitution options.
<clear> removes all references to items that apply to the parent tag.
<clientTarget> adds an alias for a specific user agent to the internal collection of user agent aliases.
<compilation> contains all compilation settings used by asp.net.
<compiler> define a new compiler option.
<compilers> Specifies the compiler supported by the ASP.net application.
<credentials> allows you to selectively define name and password credentials in the configuration file.
<customErrors> Define custom error messages for the ASP.net application and the page to which the browser is redirected when an error occurs.
<deny> specifies that access to the resource is denied.
<error> Define a custom error condition that will be processed by the custom error page.
<filter> allows multiple rules to be applied sequentially.
<forms> configures the ASP.net application for forms-based custom authentication.
<globalization> Configure the application's globalization settings.
<identity> control the application identity of the WEB application.
<location> specify resources to apply configuration settings.
<machineKey> configures the keys used to encrypt and decrypt Forms authentication Cookie data. This section enables developers to configure validation keys to perform message authentication checks on view-state data and Forms-authentication tickets. It can be declared at the computer, site, or application level, but not at the subdirectory level.
<pages> identifies page-specific configuration settings.
<passport> Specify the page to redirect to (if the page requires authentication and the user has not registered with Microsoft Passport authentication).
<processModel> Configure the ASP.net process model settings on the Microsoft Internet Information Services (IIS) WEB Server System.
<protocols> specifies the transport protocol that asp.net can use to decrypt data sent from the client browser in an HTTP request.
<remove> removal of references to assemblies for <assemblies>.
<remove> for <clientTarget> removes the alias of a specific user agent from the internal collection of the user agent alias.
<remove> Remove the predicate/path mappings for the HttpHandler class for A reference to the HttpModule class for <remove> removal of <remove> for <protocols> removes a single protocol from a list of supported HTML encoding protocols for a particular application.
<remove> for <serviceDescriptionFormatExtensionTypes> removes a single service description format extension type from the scope of the configuration file.
<result> a httpcapabilitiesbase derived class that is used to hold the result of parsing the section (a key-value string pair). This string is used at run time to create the return type.
<securityPolicy> define valid mappings for named security level and policy file. This section can be declared at the computer, site, or application level.
<serviceDescriptionFormatExtensionTypes> Specifies the service description format extension to run within the scope of the configuration file.
<sessionState> configure some session-state settings for the current application.
<soapExtensionImporterTypes> Specifies the SOAP extension that will run when access to the service description of XML Web services within the scope of the configuration file is accessed.
<soapExtensionReflectorTypes> Specifies the SOAP extension that will run when all XML Web services within the scope of the configuration file are generated for the service description.
<soapExtensionTypes> specifies a SOAP extension to run with all XML Web services within the scope of the configuration file.
<trace> configure ASP.net tracking service.
<trust> configures the set of code access security permissions that are used to run a particular application. This section can be declared at the computer, site, and application levels.
<trustLevel> Define mappings for specific security levels to named policy files.
<use> Specifies the HTTP request string to be sent to the parser.
<user> allows you to define user name and password credentials in the configuration file.
<webServices> controls the settings for XML Web services created using asp.net.
<WsdlHelpGenerator> specifies the. aspx help page for XML Web services.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service