![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
.NET Core
文章平均质量分 56
BA0JIAXING
这个作者很懒,什么都没留下…
展开
-
.Net Core 程序报错 在上一个操作完成之前,在此上下文上启动了第二个操作
程序完整报错:A second operation started on this context before a previous operation completed. This is usually caused by different threads using the same instance of DbContext, however instance members are not guaranteed to be thread safe. This could also be ca原创 2021-08-20 17:49:49 · 2516 阅读 · 0 评论 -
ef core上下文对象在异步情况下被自动释放的问题
转自https://www.cnblogs.com/thinkingagain/p/12668407.html上面是原作者。此文留作备忘我们看看下面的代码:这里为了节省效率,更新缓存的操作放到了异步中去执行,但是执行到Article findArticle = _articleDAL.GetAtricleById(id);这一步的时候,ef的上下文对象会被释放掉,调用查询等操作就会报错:Cannot access a disposed object. A common cause of this e原创 2021-07-06 16:12:50 · 2022 阅读 · 0 评论 -
jenkins在windows上自动化部署.Net(.Net Core)项目
jenkins在windows上自动化部署.Net(.Net Core)项目记录 转自:https://www.cnblogs.com/hulizhong/p/11558431.html原创 2021-06-29 20:49:51 · 174 阅读 · 0 评论