Skip to content

Instantly share code, notes, and snippets.

@DapperFox
Created March 24, 2014 19:56
Show Gist options
  • Save DapperFox/9747770 to your computer and use it in GitHub Desktop.
Save DapperFox/9747770 to your computer and use it in GitHub Desktop.
other config
<?xml version="1.0" encoding="utf-8"?>
<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=301880
-->
<configuration>
<connectionStrings>
<!--todo: change connectionString to correct database-->
<add name="MembershipConnectionString" connectionString="Data Source=50.56.188.176;Initial Catalog=Membership;Persist Security Info=True;User ID=sa;Password=lQ1%\ZUH;" providerName="System.Data.SqlClient"/>
</connectionStrings>
<appSettings>
<add key="webpages:Version" value="3.0.0.0" />
<add key="webpages:Enabled" value="false" />
<add key="ClientValidationEnabled" value="true" />
<add key="UnobtrusiveJavaScriptEnabled" value="true" />
</appSettings>
<system.web>
<compilation debug="true" targetFramework="4.5" />
<httpRuntime targetFramework="4.5" />
<!-- Begin: Membership Provider Configuration -->
<authentication mode="Forms">
<forms loginUrl="~/Account/Log-In" cookieless="UseCookies" slidingExpiration="true" timeout="60" />
</authentication>
<membership defaultProvider="SqlProvider">
<providers>
<clear />
<!-- todo: Change application name to the actual application name -->
<add name="SqlProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="MembershipConnectionString" applicationName="CacheValleyChemical" enablePasswordRetrieval="false" enablePasswordReset="false" minRequiredNonalphanumericCharacters="0" passwordFormat="Hashed" requiresQuestionAndAnswer="false" requiresUniqueEmail="true"/>
</providers>
</membership>
<profile>
<providers>
<clear/>
<!-- todo: Change application name to the actual application name -->
<add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="MembershipConnectionString" applicationName="CacheValleyChemical"/>
</providers>
</profile>
<roleManager enabled="true">
<providers>
<clear/>
<!-- todo: Change application name to the actual application name -->
<add connectionStringName="MembershipConnectionString" applicationName="CacheValleyChemical" name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider"/>
<add applicationName="/" name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider"/>
</providers>
</roleManager>
<!-- End: Membership Provider Configuration-->
</system.web>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment