Skip to content

Membership Provider

typemismatch edited this page Sep 13, 2010 · 2 revisions

You’ll notice each type of provider has it’s own AWS credential requirements and does not require the config section for the general provider. This is intentional, it allows for AWS information to be provided by different accounts.

To use the ASP.NET membership provider, simply add the membership section to your web.config as shown below

<membership defaultProvider="SDBMembershipProvider"> <providers> <clear/> <add name="SDBMembershipProvider" type="MultiCore.Amazon.Providers.SDBMembershipProvider" enablePasswordRetrieval="true" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" passwordFormat="Clear" passwordStrengthRegularExpression="" applicationName="/" domain="***your_aws_domain_for_users***" accessKey="***your_key***" secretKey="***your_secret***" />

The domain is just the simple db domain you wish to use for storing users. It will be created for you if it doesn’t exist.