????Web.config?н??????? ????????????????????????Membership???
<?xml version="1.0" encoding="utf-8"?>
<!--
?й???????? ASP.NET ??ó?????????????????
http://go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
<connectionStrings>
<!--????????-->
<add name="conn" connectionString="server=.;database=vsdb;uid=sa;pwd=admin" providerName="System.Data.SqlClient"/>
<!--???????????connectionString="Data Source=.;AttachDbFilename=|DataDirectory|aspnet.mdf;Initial Catalog=aspnet;Integrated Security=True;User Instance=True;MultipleActiveResultSets=True"-->
</connectionStrings>
<system.web>
<compilation debug="false" targetFramework="4.0" />
<profile defaultProvider="DefaultProfileProvider" >
<providers>
<add name="DefaultProfileProvider" type="System.Web.Providers.DefaultProfileProvider" connectionStringName="DefaultConnection" applicationName="/"/>
</providers>
</profile>
<!--???????-->
<membership defaultProvider="AspNetSqlMembershipProvider">
<providers>
<clear/>
<add
name="AspNetSqlMembershipProvider"
type="System.Web.Security.SqlMembershipProvider?? System.Web?? Version=2.0.3600.0?? Culture=neutral?? PublicKeyToken=b03f5f7f11d50a3a"
connectionStringName="conn"
enablePasswordRetrieval="false"
enablePasswordReset="true"
requiresQuestionAndAnswer="false"
requiresUniqueEmail="false"
maxInvalidPasswordAttempts="3"
minRequiredPasswordLength="6"
minRequiredNonalphanumericCharacters="0"
passwordAttemptWindow="10"
applicationName="/" />
<!--connectionStringName?????????????????-->
<!--EnablePasswordReset?????????????????????????????-->
<!--EnablePasswordRetrieval????????????????????????????????-->
<!--HashAlgorithmType???????????????????????-->
<!--MaxInvalidPasswordAttempts?????????????????????????????????????-->
<!--MinRequiredNonAlphanumericCharacters??????????????????????????????????????-->
<!--MinRequiredPasswordLength?????С????????-->
<!--RequiresQuestionAndAnswer??????????????????????????????????????????????-->
<!--UserIsOnlineTimeWindow?????????????????????????????????????????-->
<!--requiresUniqueEmail:?????????-->
<!--......-->
</providers>
</membership>
<!--???????-->
<roleManager enabled="true" cacheRolesInCookie="true">
<providers>
<clear/>
<add
connectionStringName="conn"
applicationName="/"
name="AspNetSqlRoleProvider"
type="System.Web.Security.SqlRoleProvider?? System.Web?? Version=2.0.0.0?? Culture=neutral?? PublicKeyToken=b03f5f7f11d50a3a"/>
</providers>
</roleManager>
<sessionState mode="Custom" customProvider="DefaultSessionProvider">
<providers>
<add name="DefaultSessionProvider" type="System.Web.Providers.DefaultSessionStateProvider" connectionStringName="DefaultConnection" applicationName="/"/>
</providers>
</sessionState>
</system.web>
</configuration>