Webconfig setting node description

Source: Internet
Author: User

<? Xml version = "1.0" encoding = "UTF-8"?>
<Configuration>
<Deleetask>
<Add key = "ConnectionString" value = "User id = sa; Initial Catalog = BookBrrowLook; Data Source =.; pwd ="/>
</AppSettings>
<System. web>

<! -- Dynamic debugging and compilation
Set compilation debug = "true" to enable ASPX debugging. Otherwise, set this value
False will improve the runtime performance of this application.
Set compilation debug = "true" to set the debug symbol (. pdb Information)
Insert to the compilation page. Because this will create and execute
Slow large file, so this value should be set to true only during debugging, and set
False. For more information, see
Debug ASP. NET files.
-->
<Compilation
DefaultLanguage = "c #"
Debug = "true"
/>

<! -- Custom error message
Set customErrors mode = "On" or "RemoteOnly" to enable custom error messages, or set it to "Off" to disable custom error messages.
Add the <error> flag for each error to be processed.

"On" always displays custom (friendly) information.
"Off" always displays detailed ASP. NET error messages.
"RemoteOnly" only
The user displays custom (friendly) information. For security purposes, we recommend that you use this setting
The details of the application are not displayed to the remote client.
-->
<CustomErrors
Mode = "RemoteOnly"
/>

<! -- Authentication
This section sets the authentication policy for the application. Possible modes are Windows ",
"Forms", "Passport", and "None"

"None" does not perform authentication.
"Windows" IIS performs Authentication Based on application settings
(Basic, simple, or integrated Windows ). Anonymous access must be disabled in IIS.
"Forms" you provide users with a custom form (Web page) for entering creden,, and then
Verify their identity in your application. User creden are stored in cookies.
"Passport" authentication is performed through Microsoft's centralized identity authentication service,
It provides independent logon and core configuration file services for member sites.
-->
<Authentication mode = "Windows"/>

<! -- Authorization
This section sets the application Authorization Policy. Allow or Deny Access From different users or roles
Application resources. Wildcard: "*" indicates anyone ,"? "Anonymous
(Unauthenticated) user.
-->

<Authorization>
<Allow users = "*"/> <! -- Allow all users -->
<! -- <Allow users = "[comma-separated user list]"
Roles = "[list of roles separated by commas]"/>
<Deny users = "[comma-separated user list]"
Roles = "[list of roles separated by commas]"/>
-->
</Authorization>

<! -- Application-level tracking record
Application-level tracing enables tracing log output for each page of the application.
Set trace enabled = "true" to enable application tracking records. If pageOutput = "true ",
The trace information is displayed at the bottom of each page. Otherwise, you can browse the Web Application
Check the trace. axd page in the root directory.
Application tracing logs.
-->
<Trace
Enabled = "false"
RequestLimit = "10"
PageOutput = "false"
TraceMode = "SortByTime"
LocalOnly = "true"
/>

<! -- Session Status settings
By default, ASP. NET uses cookies to identify which requests belong to a specific session.
If the Cookie is unavailable, you can trace the session by adding the session identifier to the URL.
To disable Cookie, set sessionState cookieless = "true ".
-->
<SessionState
Mode = "InProc"
StateConnectionString = "tcpip = 127.0.0.1: 42424"
SqlConnectionString = "data source = 127.0.0.1; Trusted_Connection = yes"
Cookieless = "false"
Timeout = "20"
/>

<! -- Globalization
This section sets the global settings of the application.
-->
<Globalization
RequestEncoding = "UTF-8"
ResponseEncoding = "UTF-8"
/>

</System. web>

</Configuration>

 


Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.