From the course: Security in ASP.NET Core

Unlock this course with a free trial

Join today to access over 24,800 courses taught by industry experts.

Setting up ASP.NET Core Identity

Setting up ASP.NET Core Identity - ASP.NET Tutorial

From the course: Security in ASP.NET Core

Setting up ASP.NET Core Identity

- [Instructor] This chapter covers two important topics, authentication and authorization. Most web applications need one or both. And with ASP.NET Core, it's pretty easy to get started, and I like to give you an introduction to what's there and how you can leverage it with relatively little effort. I'd like to start with ASP.NET Core identity. That's the builtin user management system in ASP.NET Core. It's available both from the .NET CLI, and from Visual Studio Wizards. And I'm using the letter first because it's just quicker to set everything up. I'm adding a new project. And we could use any of the typical web project types. So we could use razor pages, we could use MBC as we did before, and since we've been using MBC so far, how about we are using razor pages this time, but again, doesn't make a difference which of the two options you are choosing. And to stay in line with our naming scheme, I call this HPlusSportSecurity and then .identity. And the one change I'm doing now is…

Contents