.NET Core中使用Cookie步骤 1.Nuget Microsoft.AspNetCore.Authentication.Cookies 2.using Microsoft.AspNetCore.Authentication.Cookies 3.