摘要:
第一种方式: 在Startup中的ConfigureServices方法中注册服务: services.AddTransient<ITestServiceA, TestServiceA>(); 在控制器中通过构造函数进行注入: private readonly ITestServiceA _ITes 阅读全文
摘要:
最近IIS发布Core3.1项目的时候遇到下面问题,发现是缺少ASP.NET Core Runtime 解决方法:安装.netcore host 版本 阅读全文