摘要:
我们的目标是在后台业务处理类中,能够很容易的取得用户信息或者其它HTTP请求相关的信息。所以,首先我们需要一个存储这些信息的类:1 public class RequestData2 {3 public string UserName { get; set; }4 5... 阅读全文
posted @ 2015-12-09 21:14
杨mon
阅读(680)
评论(0)
推荐(0)
摘要:
1、Startup类的Configure方法中,app.UseIdentity();改为app.UseCookieAuthentication(options => { options.AuthenticationScheme = CookieA... 阅读全文
posted @ 2015-12-09 07:44
杨mon
阅读(1615)
评论(1)
推荐(0)

浙公网安备 33010602011771号