2023年6月15日
摘要: 一、配置Autofac替换内置DI 1.安装Nuget包:Autofac.Extensions.DependencyInjection 2.Program.cs中加上 builder.Host.UseServiceProviderFactory(new AutofacServiceProviderF 阅读全文
posted @ 2023-06-15 08:52 包子wxl 阅读(1567) 评论(9) 推荐(20) 编辑