摘要:
1.在控制器上新增一个方法 public IActionResult SessionAndCookie() { string result = HttpContext.Session.GetString("session_key"); if (string.IsNullOrWhiteSpace(re 阅读全文
摘要:
public class ProteType { private static ProteType _ProteType = new ProteType(); private ProteType() { } public static ProteType GetInstance() { return 阅读全文