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