ASP.NET Core changes to local session state
ASP.NET Core uses a cache to store session data, not a dictionary. Don't depend on session data surviving across requests! (Actually, try to avoid having any state stored only by your web server, but that's another post.)…