Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5837811
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T11:24:05+00:00 2026-05-22T11:24:05+00:00

I have simple question. I’m now thinking about creating custom membership provider for my

  • 0

I have simple question. I’m now thinking about creating custom membership provider for my app, because using separate tables for membership and for rest of the app is not that good idea.. not to mention some data is simply replicated along tables..

What I want to know, if I also have to reimplement other functionaly like checking if user is online, and so on. Or it’s just enough if i copy part of db structure and implement provider ?

UPDATE!

What I really want to know is the methods from MembershipUser (like checking IF user IsOnline and so on), will work on custom database schema.

I know how to implement custom provider, I just want to know if I have more tedious work implementing functionality from other Membership* classes.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T11:24:05+00:00Added an answer on May 22, 2026 at 11:24 am

    Separate Tables for membership and for rest of the app is not a good idea? It has to be in a different table. Maybe you meant separate databases.
    Any way, you do not need to impolement all methods. Here are the necessary methods you have to implement:

    public class CustomMembershipProvider : MembershipProvider
    {   
      public override MembershipUser CreateUser(string username, 
         string password, string email, string passwordQuestion, 
         string passwordAnswer, bool isApproved, 
         object providerUserKey, out MembershipCreateStatus status)
      {
          throw new NotImplementedException();
      }
    
      public override MembershipUser GetUser(string username, bool userIsOnline)
      {
          throw new NotImplementedException();
      }
    
      public override bool ValidateUser(string username, string password)
      {
          throw new NotImplementedException();
      }
    
      public override int MinRequiredPasswordLength
      {
          get { throw new NotImplementedException(); }
      }
    
      public override bool RequiresUniqueEmail
      {
          get { throw new NotImplementedException(); }
      }
    }  
    

    You can find dozens of examples on the net. Some are:
    http://www.asp.net/general/videos/how-do-i-create-a-custom-membership-provider
    http://www.davidhayden.com/blog/dave/archive/2007/10/11/CreateCustomMembershipProviderASPNETWebsiteSecurity.aspx
    http://www.shiningstar.net/aspnet_articles/customprovider/CustomProvider.aspx
    http://www.devx.com/asp/Article/29256/0/page/3
    http://www.15seconds.com/issue/050216.htm
    http://www.codeproject.com/KB/aspnet/CustomMembershipProviders.aspx
    http://www.codeproject.com/KB/aspnet/WSSecurityProvider.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a simple question about usage of Hibernate. I keep seeing people using
I have a simple question about passing custom objects via a webservice. I created
I have a simple question. Is there a way ( using reflections I suppose
I have a simple question about Java's XML API and I hope there's a
I have a simple question, but I'm about 80% sure that the answer to
I have a simple question. I am trying to design a simple Android app,
I have a (simple) question about generic classes in c++. I have some knowledge
I have a simple question about filtering attributes in WEKA. Let's say I have
I have a simple question about the most efficient way to perform a particular
I have a simple question about url or domain redirect. I was looking through

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.