<connectionStrings>
<remove name="baglantim"/>
<add name="baglantim" connectionString="server=localhost;user id=kullanici_adi;password=sifre;database=veritabani" />
</connectionStrings>
<system.web>
<roleManager defaultProvider="MySqlProvider" enabled="true">
<providers>
<add
name="MySqlProvider"
type="MySql.Web.Security.MySQLRoleProvider"
connectionStringName="baglantim"
writeExceptionsToEventLog="true"
applicationName="LoginControl" />
</providers>
</roleManager>
<authentication mode="Forms" >
<forms loginUrl="login.aspx"
name=".ASPXFORMSAUTH" />
</authentication>
<authorization>
<deny users="?" />
</authorization>
<membership defaultProvider="MySQLMembershipAppProvider">
<providers>
<clear/>
<add name="MySQLMembershipAppProvider"
type="MySql.Web.Security.MySQLMembershipProvider, MySql.Web, Version=5.2.2.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d"
autogenerateschema="true" // başlangıçta veritabanı tablolarını otomatik oluşturmak için
connectionStringName="baglantim"
enablePasswordRetrieval="false"
enablePasswordReset="true"
requiresQuestionAndAnswer="true"
applicationName="LoginControl"
requiresUniqueEmail="true"
passwordFormat="hashed"
maxInvalidPasswordAttempts="7"
minRequiredPasswordLength="5"
minRequiredNonalphanumericCharacters="0"
passwordAttemptWindow="10"
passwordStrengthRegularExpression=""/>
</providers>
</membership>
</system.web>