我试图在成员提供人的“<><><>>><>>>部分中添加属性,但英特尔利森xe似乎不支持这些属性;我想补充的是:
- minReqiredNonalphanumericCharacters
- maxInvalidPasswordAttempts
- requiresUniqueEmail
下面是网站。 提前感谢。
<?xml version="1.0"?>
<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
<system.web>
<compilation debug="true" targetFramework="4.0" />
<roleManager enabled="true"
defaultProvider="CustomizedRoleProvider">
<providers>
<add name="CustomizedRoleProvider"
type="System.Web.Security.SqlRoleProvider"
connectionStringName="RestaurantDB" />
</providers>
</roleManager>
<membership defaultProvider="CustomizedMembershipProvider">
<providers>
<add name="CustomizedMembershipProvider"
minRequiredPasswordLength="6"
type="System.Web.Security.SqlMembershipProvider"
connectionStringName="RestaurantDB" />
</providers>
</membership>
</system.web>
<appSettings>
</appSettings>
<connectionStrings>
<add name="RestaurantDB" connectionString="data source=SFPSFP_SQL_SVR;attachdbfilename=C:UsersSusanDocumentsDatabasesRestaurants.mdf;Integrated Security=SSPI;"/>
<add name="RestaurantsEntities" connectionString="metadata=res://*/Restaurant.csdl|res://*/Restaurant.ssdl|res://*/Restaurant.msl;provider=System.Data.SqlClient;provider connection string="data source=SFPSFP_SQL_SVR;attachdbfilename=C:UsersSusanDocumentsDatabasesRestaurants.mdf;integrated security=True;multipleactiveresultsets=True;App=EntityFramework"" providerName="System.Data.EntityClient" />
</connectionStrings>
</configuration>