Главная
Study mode:
on
1
Introduction
2
MVC Example
3
Cookie Attributes
4
Cookie Name
5
Cookie Value
6
JS Example
7
Domain & Path Attributes
8
Http Only Attribute
9
Secure Attribute
10
Same Site Attribute
11
Expires/Max-Age Attribute
12
Sliding Expiration
13
Internals
14
Sign Out
Description:
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.

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

Raw Coding
Add to list
0:00 / 0:00