Brief Introduction to the standard configuration of the web. config file in ASP. net2.0 (I)

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>

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.