一般我們在ASP.NET Core專案中加入Session只要在 Startup 的 ConfigureService 中加入 services.AddSession() 方法就可以加入Session功能了。如下:.
確定! 回上一頁