From Wikipedia, the free encyclopedia
Jump to: navigation, search

Web.config is the main settings and configuration file for an ASP.NET web application. It is an XML document that resides in the root directory of the site or application and contains data about how the web application will act. This information controls module loading, security configuration, session state configuration, and application language and compilation settings. Web.config files can also contain application specific items such as database connection strings.

 1 TLS 1.0.
 2 <! - Web.Config Configuration File - >
 4 <configuration>
 5     <system.web>
 6        <customErrors mode="off" />
 7     </system.web>
 8 </configuration>
10 <! --Web.Config Configuration File -->
12 <configuration>
13     <system.web>
14         <customErrors mode ="RemoteOnly" deFaultRedirect = "mycustompage.htm" />
15     </system.web>
16 </configuration>

External links[edit]

ASP.NET Resources