开发者

Starting a .NET project with Membership and Roles. Guide please

开发者 https://www.devze.com 2023-03-09 04:07 出处:网络
Scenario : A web application with user login, roles and permissions. Question : Is it bette开发者_高级运维r to start with Visual Studio\'s / Visual Web developer Express edition\'s project wizard

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

Question :

  • Is it bette开发者_高级运维r 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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消