会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
yw2454174647
昵称:
yw2454174647
园龄:
7年11个月
粉丝:
0
关注:
8
+加关注
搜索
常用链接
我的随笔
我的评论
我的参与
最新评论
我的标签
随笔档案
2022年5月(1)
2022年4月(1)
2022年2月(3)
2022年1月(4)
阅读排行榜
1. .net core 依赖注入问题Cannot modify ServiceCollection after application is built(2498)
2. vue3 使用vite构建 创建的自定义template报错 Component provided template option but runtime compilation is not supported(946)
3. 企业微信扫码授权登录(427)
4. IIS由于出现权限不足而无法读取配置文件解决方案(350)
5. blazor 页面传参数问题(195)
推荐排行榜
1. .net core 依赖注入问题Cannot modify ServiceCollection after application is built(1)
Powered by
博客园
博客园
|
首页
|
新随笔
|
联系
|
订阅
|
管理
04 2022 档案
.net core 依赖注入问题Cannot modify ServiceCollection after application is built
摘要:1.报错 Cannot modify ServiceCollection after application is built 原因: 依赖注入放的位置不对 builder.Services.AddScoped<>(); var app = builder.Build();
阅读全文
posted @
2022-04-06 10:52
yw2454174647
阅读(2498)
评论(0)
推荐(1)
编辑
点击右上角即可分享