Sunday, 30 December 2012 19:54

how to autogenerete membership tables using membership provider

Written by 
Rate this item
(0 votes)

we know how to use membership provider.
most of the time we create membership tables
manualy.But those tables can be created
automatically by adding a line in the membership
provider configuration in web.config file.

the following way we can generate schema's i used MySql membership provider
<membership defaultProvider="MySQLMembershipProvider">
<clear />
<add connectionStringName="LocalMySqlServer"
applicationName="/" requiresUniqueEmail="false"
passwordFormat="Clear" maxInvalidPasswordAttempts="5"
minRequiredPasswordLength="7" name="MySQLMembershipProvider"
type="MySql.Web.Security.MySQLMembershipProvider, MySql.Web,
Version=, Culture=neutral,
PublicKeyToken=c5687fc88969c44d" />

autogenerateschema="true" enables generating tables

Read 2561 times
Super User

Email This email address is being protected from spambots. You need JavaScript enabled to view it.

Latest discussions

  • No posts to display.