ASP.NET
  Home arrow ASP.NET arrow ASP.Net 3.5: User Account Creation for You...
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
ASP.NET

ASP.Net 3.5: User Account Creation for Your Website
By: Codex-M
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 9
    2010-07-21

    Table of Contents:
  • ASP.Net 3.5: User Account Creation for Your Website
  • Signing up as a New User with the Default Registration Form
  • Completing the Thank You message
  • Sending email after user registration

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    ASP.Net 3.5: User Account Creation for Your Website


    (Page 1 of 4 )

    If you're setting up an ASP.NET website that will have a membership of registered users, such as a forum or some kinds of blogs, you want to make the registration as simple as possible. This article will show you how to set up a website that allows users to create their own accounts, without involving the administrator.

    You may have read our article on "ASP.NET 3.5 Basic User Account Management," which is an introductory tutorial on how to enable ASP.NET 3.5 Membership to start registering and managing users for your website.

    In that tutorial, we used the "Website Administration Tool" for registering new users of the website. This means that only the website administrator/developer can register new users.

    However, in real world applications of ASP.NET 3.5 websites found on the Internet, website visitors can create their own new ASP.NET 3.5 account.

    These sites use an ASP.NET web page to register new users and not the "Website Administration Tool," which can only be used by an administrator.

    This tutorial will focus on the development of ASP.NET 3.5 websites that allow users to create their own accounts. It is highly recommended that you read the first tutorial, so that you will have an in-depth understanding of the ASP.NET 3.5 membership system.

    "CreateUserWizard" Tool in Visual Web Developer

    Since the .NET technology in developing websites is as simple as using the "click and drag" method (with no need to hard code everything), the same thing applies to creating web pages that can accept users registration.

    If you have Visual Web Developer Express 2008 installed, go to View -> Toolbox -> Login. You should see the CreateUserWizard web control.

    To illustrate how to use this web control for accepting new users to your website, follow the steps below:

    Step 1: Launch Visual Web Developer Express.

    Step 2: Create new ASP.NET website and name that project CreateNewUser; click OK.

    Step 3: Once the Default.aspx source code has been shown in Visual Web Developer, click and drag the CreateUserWizard web control (View -> Toolbox -> Login -> CreateUserWizard) to between the <form><div> ... </div></form> tags in the Default.aspx source code.

    Step 4: Go to File -> Save All.

    Step 5: Go to File -> View in Browser. You should see the default output of the CreateUserWizard web control, and it should look like the screen shot shown below:

    You will notice that this is the same information asked for when you create users using the "Website Administration Tool" discussed in the previous tutorial, "ASP.NET 3.5 Basic User Account Management."

    More ASP.NET Articles
    More By Codex-M


     

    ASP.NET ARTICLES

    - ASP.NET 3.5: User Access Rules
    - ASP.NET 3.5: Creating Role Based Security wi...
    - ASP.NET 3.5 Role Based Security and User Aut...
    - Canonicalizing DotNetNuke URLs in ASP.NET 3.5
    - ASP.Net 3.5: User Account Creation for Your ...
    - ASP.NET 3.5 Basic User Account Management
    - Generate Dynamic Title Tag based on QueryStr...
    - Add a Blog Module in DotNetNuke
    - ASP.NET 3.5 Basic Navigation Controls
    - Create ASP.NET 3.5 Sitemap XML for Navigatio...
    - Completing Basic DotNetNuke Website Developm...
    - DotNetNuke Website Development in ASP.NET 3.5
    - ASP.NET Querystring: Basic Dynamic URL Forma...
    - InsertItemTemplate FormView Example in ASP.N...
    - Using the FormView Web Control in ASP.NET 3.5





    © 2003-2010 by Developer Shed. All rights reserved. DS Cluster 11 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek