Answered by:
ASP.NET Identity

Question
-
User1288773685 posted
I am a new in asp.net identity and I am trying to add identity in my project but unable to find any step by step tutorial for that. How can I add a new user to my application and how can I create a role and how can I assign role to user ? previously I was doing that all through asp.net membership, but how can I do that in identity ? is any tutorial available about asp.net identity ?
I am using visual studio community 2015 update 2 and my application is in ASP.NET VB, so is that any tutorial in asp.net vb ?
Friday, July 8, 2016 7:51 PM
Answers
-
User1724605321 posted
Hi mktghy,
When you install ASP.NET Identity in your application, you could find the default template of the identity system . Read the detail logic will help you understand more about how the identity system works . For example , the AccountController class contains all the CRUD operations on our user profile in such a way that it is wrapped in form of "Register", "Login", "Manage" functions . You could find related logic and code in this class . Please read below articles which will help you understand ASP.NET Identity better :
http://www.codeproject.com/Articles/796940/Understanding-Using-and-Customizing-ASP-NET-Identi
Best Regards,
Nan Yu
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Monday, July 11, 2016 5:51 AM
All replies
-
User765422875 posted
You should go over "Introduction to ASP.NET Identity". The following ASP.NET posts use VS 2013 in the examples, but you should get the general ideas.
https://www.asp.net/identity/overview/getting-started/introduction-to-aspnet-identity
https://www.asp.net/aspnet/overview/authentication-and-identity
The following should be helpful as well:
http://johnatten.com/2014/06/22/asp-net-identity-2-0-customizing-users-and-roles/
Saturday, July 9, 2016 12:14 AM -
User1288773685 posted
I read all this tutorial but I want to know how to call register into my own form and how to login with my own form ?
suppose I have two textbox in my form (user id & password) and login button then what code should I used to login through Identity ?
how can I call register new user ?
how can I reset password ?
can I used asp.net login/Login Status/Login View just like membership ??? if no then how can I call all this things ????
any sample code ????? please help
Saturday, July 9, 2016 4:32 AM -
User1724605321 posted
Hi mktghy,
When you install ASP.NET Identity in your application, you could find the default template of the identity system . Read the detail logic will help you understand more about how the identity system works . For example , the AccountController class contains all the CRUD operations on our user profile in such a way that it is wrapped in form of "Register", "Login", "Manage" functions . You could find related logic and code in this class . Please read below articles which will help you understand ASP.NET Identity better :
http://www.codeproject.com/Articles/796940/Understanding-Using-and-Customizing-ASP-NET-Identi
Best Regards,
Nan Yu
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Monday, July 11, 2016 5:51 AM