skip to Main Content

C# deserialize KeyValuePair from JSON

This is the absolute simplest version of this question (a subset of it). using System; using System.Collections.Generic; using System.Text.Json; public class Program { public class Subscription { public bool HasRead { get; set; } = true; public string TimeStamp {…

VIEW QUESTION

My ASP.NET MVC authentication sign out shortly – Plesk

I wrote an ASP.NET MVC web site and use authentication. I set a cookie like this FormsAuthentication.SetAuthCookie(login.UserName, login.RememberMe); This cookie is created correctly, but user is signed out very soon. This is my web.config: <authentication mode="Forms"> <forms name="LightOilManager" loginUrl="/Customer/Home/Login" defaultUrl="/"…

VIEW QUESTION
Back To Top
Search