public void Setup()
 {
     provider = new EmbeddedBirdBrainMembershipProvider();
     var section = (MembershipSection)ConfigurationManager.GetSection("system.web/membership");
     var config = section.Providers["BirdBrainMembership"].Parameters;
     provider.Initialize("MyApp", config);
 }
예제 #2
0
        public void Setup()
        {
            provider = new EmbeddedBirdBrainMembershipProvider();
            var section = (MembershipSection)ConfigurationManager.GetSection("system.web/membership");
            var config  = section.Providers["BirdBrainMembership"].Parameters;

            provider.Initialize("MyApp", config);
        }