Results 1 to 4 of 4

Thread: Membership provider in

  1. #1
    Join Date
    Feb 2009

    Membership provider in

    I am planing to implement a membership provider on my web page. We have a multiple users. I want to launch a membership service for them so that only my users can access my website completely and enjoy other privileges. Before starting I want some guidelines to perform the above action. By referring some materials and code example I can collect more confident and information. Any suggestion related to this topic is really appreciated. Thanks

  2. #2
    Join Date
    Apr 2008

    Re: Membership provider in

    The design and structure of an software is an important part for its reliability. Here I am posting you some guidelines to implement the membership service on a web page. By the below sample your web page can validate and create a user. Now look at the below code sample and place it in the web.config file. It contains DBMembershipProvider Assembly. This one is the starting point of membership service in you web server.

    <membership defaultProvider="DBProviderMembershipProvider">
                       <add name="DBProviderMembershipProvider"
                        description="DB Provider membership provider" />

  3. #3
    Join Date
    May 2008

    Re: Membership provider in

    You can use an ready made and automated service called xml membership provider. It is designed for 2.0. Well comes with a SqlMembershipProvider and ActiveDirectoryMembershipProvider. This two option makes user authentication and authorization an easy task to perform. Now instead of that I am giving you a much more simple solution. It is like and plug and play device. Just download the code and place it. You can also refer the structure of this code to get an idea about how to implement the service. Click below to download.

  4. #4
    Join Date
    Apr 2008

    Re: Membership provider in

    Here by this service your users can create a user name and password in your website. It is facility which enables a user to setup an account with the website. The SQL server database is an priority need in the membership thing which will used to store the information of user. There is also a method in this by which a question will pop up in case the user forgets the password. The steps are as follows :
    • In your web.config file go under <system.web> and create a <membership> element.
    • Then create <providers> element under the <membership>
    • Now add a <clear/> element to clear the collection of user which will act as a child to provider.
    • Now create <add/> under clear. Put the listed attributes : name, type, connectionStringName, applicationName, enablePasswordRetrieval, enablePasswordReset, requiresQuestionAndAnswer, requiresUniqueEmail, and passwordFormat

    Then the second part to set the security service which will accept user name/password.
    • Go to configuration file. Add <bindings> element under the <system.ServiceModel>. Then add wsHttpBinding to the binding section.
    • Then you will need to set the mode attribute of <security> to message.
    • Then set the clientCredentialType of <message> to username. Specify the username's and password.

    Then the last part to configure a service by which the user can use membership provider
    • First add <behaviour> to the <system.serviceModel> as a child.
    • Then to the section of <behaviors> element add a serviceBehaviors.
    • Set the name attribute to an appropriate value by adding a behavior element.
    • Then to the <behavior> element add <serviceCredentials>.
    • Then to <serviceCredentials> element add a userNameAuthentication.
    • Now finally set the userNamePasswordValidationMode attribute to MembershipProvider.

Similar Threads

  1. Replies: 3
    Last Post: 28-08-2011, 10:46 PM
  2. What new in membership on xbox live
    By $Bradan$ in forum Video Games
    Replies: 4
    Last Post: 20-11-2010, 12:07 AM
  3. Building a membership website
    By goni in forum Software Development
    Replies: 3
    Last Post: 21-08-2009, 01:01 PM
  4. How to use custom methods in in membership provider
    By VinFanatic in forum Software Development
    Replies: 3
    Last Post: 28-07-2009, 11:04 AM
  5. Printing Group membership
    By Charlie R in forum Active Directory
    Replies: 1
    Last Post: 09-02-2007, 06:19 PM

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Page generated in 1,679,550,205.75155 seconds with 17 queries