I am developing an asp.net website in which i need to create admin panel. So please tell me how to decide role and membership and also way of development.
thanks
I am developing an asp.net website in which i need to create admin panel. So please tell me how to decide role and membership and also way of development.
thanks
For that you will require some tools.
WebMatrix (or VS)
SQL Database.
Then by using these, the ASP.NET will automatically create the tables required using this:
WebSecurity.InitializeDatabaseConnection();
You can learn about it here: http://msdn.microsoft.com/en-us/library/webmatrix.webdata.websecurity.initializedatabaseconnection(v=vs.111).aspx
You will require to tell the name of Database and the Table name which will be used for the User Data. Remaining will be the job of ASP.NET like UserInRoles MemberShip and others
How to use those roles or others please go through this: http://www.asp.net/web-pages/tutorials/security
There you will learn:
How to allow users to Sign In or Sign Up.
How to add membership.
How to create Roles for users.
...and many more there. I will advise you to go to http://www.asp.net and learn the basics about it there. They are heplfull too. You will find many helpfull articles there. Find some community blogs too about ASP.NET.
Edit: They will teach you code regarding C# as well as VB.NET, but C# will be used more oftenly than VB.NET!
Here's an article on how to setup membership and roles in SQL: http://www.codeproject.com/Articles/281573/ASP-NET-Membership-and-Role-Provider