Skip to content

Instantly share code, notes, and snippets.

@sandrinodimattia
Created September 1, 2012 00:03
Show Gist options
  • Save sandrinodimattia/3561481 to your computer and use it in GitHub Desktop.
Save sandrinodimattia/3561481 to your computer and use it in GitHub Desktop.
Azure Providers web.config
<profile defaultProvider="AzureProfileProvider">
<providers>
<add name="AzureProfileProvider" type="UniversalProvidersWebRole.Security.AzureProfileProvider"
connectionStringName="UserDbConnectionString" applicationName="/" />
</providers>
</profile>
<membership defaultProvider="AzureMembershipProvider">
<providers>
<add name="AzureMembershipProvider" type="UniversalProvidersWebRole.Security.AzureMembershipProvider"
connectionStringName="UserDbConnectionString" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/" />
</providers>
</membership>
<roleManager enabled="true" defaultProvider="AzureRoleProvider">
<providers>
<add name="AzureRoleProvider" type="UniversalProvidersWebRole.Security.AzureRoleProvider"
connectionStringName="UserDbConnectionString" applicationName="/" />
</providers>
</roleManager>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment