Setting up authentication in ASP.Net MVC 5 using Identity libraries
I've been working on this side project of mine developed in ASP.Net MVC 5.
While developing the project, I started with an empty MVC project template.
As a result of this, the default plumbing about authentication etc was not part of this project.
I was now trying to figure out a way to add authentication support to it on the lines of forms authentication in ASP.Net web projects.
I found that starting from ASP.Net MVC 5, ASP.Net provides a set of Identity libraries that can be used to set up authentication.
I came across an excellent post on this topic by Ben Foster, in whereby he explained the process of adding cookie-based authentication to an ASP.Net MVC application in a step-by-step manner.
It's a two-part post and I highly encourage you to check it out here
Subscribe to my newsletter
Read articles from Sundeep Kamath directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
Sundeep Kamath
Sundeep Kamath
My name is Sundeep Kamath. I’m a programmer based in Hyderabad, India. I work at Microsoft, but this blog, its content and opinions are my own. I blog about technology, code and the web.