tnblog
首页
视频
资源
登录

Session has not been configured for this application or request

5347人阅读 2020/11/18 11:37 总访问:570235 评论:0 收藏:0 手机
分类: 随笔



报错信息:Session has not been configured for this application or request


解决方案:在Startup.cs文件中的Configure方法中加上这一句代码: app.UseSession(); 进行注册即可。是因为session没有被注入中间件


欢迎加群讨论技术,1群:677373950(满了,可以加,但通过不了),2群:656732739

评价
这一生多幸运赶上过你.
排名
6
文章
6
粉丝
16
评论
8
{{item.articleTitle}}
{{item.blogName}} : {{item.content}}
ICP备案 :渝ICP备18016597号-1
网站信息:2018-2024TNBLOG.NET
技术交流:群号656732739
联系我们:contact@tnblog.net
欢迎加群交流技术