1. not configured IIS webBuilder.UseIIS () in the Program;
2. StartupProduction in AutoFac container and inject new version of CORS error has prevented the use of middleware allows arbitrary Origin, that is set up, it will not take effect AllowAnyOrgin
3. You can try to lower your site's root dotnet ***. Dll control sets the output view