<configuration>
<connectionStrings>
<add name="SqlServerConnectionString" connectionString="connstring" providerName="System.Data.SqlClient"/>
</connectionStrings>
<system.web>
<!-- Roles API -->
<roleManager enabled="true" defaultProvider="SqlServer">
<providers>
<add connectionStringName="SqlServerConnectionString"
applicationName="/"
name="SqlServer"
type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</providers>
</roleManager>
<!-- Profile API -->
<profile enabled="true" defaultProvider="SqlServer" automaticSaveEnabled="false">
<providers>
<add name="SqlServer"
connectionStringName="SqlServerConnectionString" type="System.Web.Profile.SqlProfileProvider, System.Web, Version=2.0.0.0,Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
</providers>
</profile>
<!-- Membership API -->
<membership defaultProvider="SqlServer">
<providers>
<add connectionStringName="SqlServerConnectionString"
enablePasswordRetrieval="false"
enablePasswordReset="true"
requiresQuestionAndAnswer="true"
applicationName="/"
requiresUniqueEmail="false" passwordFormat="Hashed"
maxInvalidPasswordAttempts="5" minRequiredPasswordLength="7"
minRequiredNonalphanumericCharacters="1" passwordAttemptWindow="10"
passwordStrengthRegularExpression=""
name="SqlServer"
type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</providers>
</membership>
</system.web>
</configuration>
SQL Server





