2
votes

Scenario : A web application with user login, roles and permissions.

Question :

  • Is it better to start with Visual Studio's / Visual Web developer Express edition's project wizard which contains the user management with it OR start an empty project?
  • If started with wizard, How can I move the membership and role Database tables to my own database?
  • Programatically working with Membership and roles. How?
  • If started with empty project, How can I manage membership and roles etc. ?
  • How to add new fields in user profile?

I am in student level in .NET. Above are some confusions I encountered while trying to start developing a project. It might be some silly question. Please do not ignore. Guide me with some helpful hints and good links if necessary.

EDIT:

I found a good tutorial here : http://www.codeproject.com/KB/aspnet/ASPDOTNETauthentication.aspx It solved 50% of my problem.

1

1 Answers

1
votes

It sounds like you need to start with some good tutorials on how to do authentication. Here are a couple that I think would be helpful:

http://www.csharpfriends.com/Articles/getArticle.aspx?articleID=70

http://www.youtube.com/watch?v=8t1MoIsMUKE

Because you have a student level understanding of .NET, I would recommend practicing a few times using these and other tutorials before trying to do everything you want to do.

As for wizard vs. empty project, I don't like wizards. There is too much I want to change and if I forget about something I end up with code bits hanging around and that is never good.

If you code the system by hand and store your authentication information in a database, you can manage the roles/permissions/etc. with simple SQL calls.