Net Core2 中一般是把 Startup 的 ConfigureServices 方法返回值型別改為 IServiceProvider,然後通過構建Autofac容器並注入服務後返回。 在.Net Core3.0 ...
確定! 回上一頁