在ASP.NET Core 2.0怎么中使用CookieAuthentication
参考 https://docs.microsoft.com/en-us/aspnet/core/migration/1x-to-2x/identity-2x