2021年8月11日
摘要: 一、配置Autofac替换内置DI 1.安装Nuget包:Autofac,Autofac.Extensions.DependencyInjection 2.Program.cs中CreateHostBuilder方法后加上.UseServiceProviderFactory(new AutofacS 阅读全文
posted @ 2021-08-11 09:55 包子wxl 阅读(1766) 评论(0) 推荐(8) 编辑