你的位置: 码友网首页 / 资讯源列表 / ASP.Net Core 3.1 With Autofac ConfigureServices returning an System.IServiceProvider isn't supported

关于[ASP.Net Core 3.1 With Autofac ConfigureServices returning an System.IServiceProvider isn't supported]的摘要:

Autofac在ASP.Net Core3.0以后,集成方式有所调整。在ASP.Net Core2中我们一般是把Startup的ConfigureServices方法返回值类型改为IServiceProvider。我们可以先看一下部分代码...

原文地址: https://www.cnblogs.com/jellydong/p/13331450.html

收录时间: 2020-07-18 浏览量: 2686 分类: ASP.NET Core

| 0 收藏 | 0