asp.net membership provider multiple
// Web.config
<membership defaultProvider="MembershipProvider1">
<providers>
<clear/>
<add name="MembershipProvider1" type="MvcApplication.MembershipProvider1" />
<add name="MembershipProvider2" type="MvcApplication.MembershipProvider2" />
<add name="AspNetSqlMembershipProvider"
type="System.Web.Security.SqlMembershipProvider"
connectionStringName="ApplicationServices" />
</providers>
</membership>
// *.cs
var membershipProvider1 = Membership.Providers["MembershipProvider1"];
membershipProvider1.ValidateUser("Mike", "banana");
var membershipProvider2 = Membership.Providers["MembershipProvider2"];
membershipProvider2.ValidateUser("Mike", "orange");