What you will learn
This course explains the basic authentication flow used in ASP.NET Core MVC applications: login form, credential validation, claims, cookie sign-in, protected routes, and logout.
Starter example
await HttpContext.SignInAsync(CookieAuthenticationDefaults.AuthenticationScheme, principal);Practice task
Create a protected dashboard route and redirect unauthenticated users to a login page.