Authentication ASPNETCORE (edit)

ASP.NET Core 2.2 - Basic Authentication Tutorial with Example API | Jason Watmore's Blog

ASP.NET Core Middleware | Microsoft Docs

Use cookie authentication without ASP.NET Core Identity | Microsoft Docs

https://docs.microsoft.com/en-us/aspnet/core/security/authentication/cookie?view=aspnetcore-5.0

https://www.red-gate.com/simple-talk/dotnet/net-development/using-auth-cookies-in-asp-net-core/

https://jakeydocs.readthedocs.io/en/latest/security/authentication/cookie.html

https://www.yogihosting.com/aspnet-core-cookie-authentication/

https://www.c-sharpcorner.com/article/cookie-authentication-in-net-core-3-0/

Samples (Microsoft.AspNetCore.Authentication.Cookies)

AspNetCore.Docs/aspnetcore/security/authentication/cookie/samples at main · dotnet/AspNetCore.Docs · GitHub

FormsAuthentication
FormsAuthenticationTicket
HttpCookie
FormsAuthentication.SetAuthCookie

HttpContext.Current.User.Identity.Name
HttpContext.Current.Session
HttpRuntime.Cache.Insert