2020年11月2日

asp.net core 3.1 中使用cookie

摘要: 1.在ConfigureServices中添加 services.AddAuthentication(CookieAuthenticationDefaults.AuthenticationScheme) .AddCookie(); 2.在Configure中添加 app.UseCookiePolic 阅读全文

posted @ 2020-11-02 11:05 落叶子 阅读(966) 评论(0) 推荐(0) 编辑

导航