You may occasionally encounter strange errors when using Microsoft’s websites, such as Bad Request, Request Too Long, or Connection Rejected. Cookies are mostly to blame
In this article, let’s look at how we can setup cookie based authentication in an ASP.NET Core MVC application without using Identity for user management.