O'Reilly logo

ASP.NET MVC with Entity Framework and CSS by Lee Naylor

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

© Lee Naylor 2016

Lee Naylor, ASP.NET MVC with Entity Framework and CSS , 10.1007/978-1-4842-2137-2_7

7. Authentication and Authorization Using ASP.NET Identity

Lee Naylor

(1)Newton-le-Willows, Merseyside, UK

We now have a web site where users can create, edit, and search for products and manage images. At the moment, though, anyone can just open the site and edit, create, and delete products and images. This chapter shows you how to add some authentication so users can log in and how to add authorization based on roles to determine what tasks users can perform. The code in this chapter uses Microsoft ASP.NET Identity v2 combined with SQL LocalDb. Throughout the code in this chapter, you will see references to OWIN, which stands for Open Web Interface ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required