Brief Introduction to the standard configuration of the web. config file in ASP. net2.0 (I)
Last Update:2018-12-07
Source: Internet
Author: User
Web. config in ASP. net2.0
Brief description of file standard configuration <? XML version = "1.0" encoding = "UTF-8"?>
<Configuration>
<Connectionstrings>
<Remove name = "localsqlserver"/>
<Add name = "stuclubsqlserver" connectionstring = "Server = (Local); uid =; Pwd =; trusted_connection = yes; database = "/>
<Add name = "storagesqlserver" connectionstring = "Server = (local); uid =; Pwd =; trusted_connection = yes; database ="/>
<Add name = "localsqlserver" connectionstring = "Server = (local); uid =; Pwd =; trusted_connection = yes; database ="/>
</Connectionstrings>
<System. Web>
<Compilation DEBUG = "true" batch = "true">
<Assemblies>
<Add Assembly = "system. Design, version = 2.0.0.0, culture = neutral, publickeytoken = b03f5f7f11d50a3a"/>
<Add Assembly = "accessibility, version = 2.0.0.0, culture = neutral, publickeytoken = b03f5f7f11d50a3a"/>
<Add Assembly = "system. Deployment, version = 2.0.0.0, culture = neutral, publickeytoken = b03f5f7f11d50a3a"/>
<Add Assembly = "system. runtime. serialization. formatters. Soap, version = 2.0.0.0, culture = neutral, publickeytoken = b03f5f7f11d50a3a"/>
<Add Assembly = "system. Security, version = 2.0.0.0, culture = neutral, publickeytoken = b03f5f7f11d50a3a"/>
</Assemblies>
</Compilation>
<Machinekey validationkey = "3ff1e929bc0534950b0920a7 B59fa698bd02dfe8 "decryptionkey =" 280108bb36319b474c996b50 6a95aedf9b51211b1d2b7a77 "Decryption =" 3DES "validation =" sha1 "/>
<Authentication mode = "forms">
<Forms name = ". aspxauth" loginurl = "~ /User/login. aspx"
Defaulturl = "default. aspx" Protection = "all"
Timeout = "60" Path = "/" requiressl = "false"
Slidingexpiration = "true" cookieless = "usedeviceprofile"
Domain = "" enablecrossappredirects = "false">
<Credentials passwordformat = "sha1"/>
</Forms>
<Passport redirecturl = "internal"/>
</Authentication>
<Anonymousidentification enabled = "true" cookiename = ". aspxanonymous "cookietimeout =" 100000 "cookiepath ="/"cookierequiressl =" false "cookieslidingexpiration =" true "cookieprotection =" NONE "Domain =" "/>
<Customerrors mode = "off" defaultredirect = "genericerrorpage.htm">
<Error statuscode = "403" Redirect = "noaccess.htm"/>
<Error statuscode = "404" Redirect = "filenotfound.htm"/>
</Customerrors>
<Membership Userisonlinetimewindow = "60">
<Providers>
<Clear/>
<Add name = "aspnetsqlmembershipprovi Der "applicationname =" stuclub"
Type = "stuclub. Users. dataproviders. sqlmembershipprovider, stuclub. commonlib" connectionstringname = "localsqlserver"
Enablepasswordretrieval = "true" enablepasswordreset = "true" requiresquestionandanswe R = "false"
Minrequiredpasswordlengt H = "4" minrequirednonalphanumer Iccharacters = "0"
Requiresuniqueemail = "true" passwordformat = "clear"/>
</Providers>