1、如果之前没有安装过Session依赖,则通过nuget控制台,安装session支持:Install-Package Microsoft.AspNetCore.Session2、打开Startup.cs文件 2.1.
確定! 回上一頁