Earn Your CS Degree, Tuition-Free, 100% Online!
AI, Data Science & Cloud Certificates from Google, IBM & Meta
Overview
AI, Data Science & Cloud Certificates from Google, IBM & Meta — 40% Off
One plan covers every Professional Certificate on Coursera. 40% off Coursera Plus Annual.
Unlock All Certificates
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