Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

ASP.NET Core Cookie Authentication - Minimal APIs and C# (.NET 7)

Raw Coding via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn how to implement cookie authentication in ASP.NET Core using .NET 7 Minimal APIs and C#. Explore the creation and management of cookies, cookie authentication handler, and various cookie attributes. Dive into practical examples, including an MVC implementation and JavaScript demonstration. Understand crucial concepts such as cookie name, value, domain, path, HTTP-only, secure, and same-site attributes. Discover the intricacies of cookie expiration, sliding expiration, and internal workings of the authentication process. Conclude with insights on implementing sign-out functionality. Suitable for developers working with .NET 7, .NET 6, and .NET 5.

Syllabus

Introduction
MVC Example
Cookie Attributes
Cookie Name
Cookie Value
JS Example
Domain & Path Attributes
Http Only Attribute
Secure Attribute
Same Site Attribute
Expires/Max-Age Attribute
Sliding Expiration
Internals
Sign Out

Taught by

Raw Coding

Reviews

Start your review of ASP.NET Core Cookie Authentication - Minimal APIs and C# (.NET 7)

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.