如图 在Windows Server 2008 R2 IIS7.5 部署 MVC HTTP 404.0 Not Found 错误,在Win7环境下测试正常,在百度中查找相关解决方法,如修改配置文件等,均无效.不断搜索后找到一篇http://www.cnblogs.com/liluping860122/p/3754724.html 博客,说明是Windows Server 2008 R2 操作系统问题,需要打补丁,最终解决. 下载 补丁 KB980368 Update for Windows S
好久没有写文章了,最近在用.net core3.0,一些开发中问题顺便记录: 1.首先nuget引入 Autofac Autofac.Extensions.DependencyInjection 2.修改Program.cs 添加.UseServiceProviderFactory(new AutofacServiceProviderFactory()) public class Program { public static void Main(string[] args) { CreateH