Call UseSession after UseRouting and before UseEndpoints
Today, I fixed a bug where session cookies were not being persisted in an ASP.Net Core Razor Pages ap...
Tags: net, csharp, sessions, cookies