Solution :
1- Installing "Microsoft.AspNetCore.Server.IISIntegration package"
2- In "Program.cs" file Add :
var host = new WebHostBuilder() .UseKestrel() .UseContentRoot(Directory.GetCurrentDirectory()) .UseIISIntegration() // <<<===== Our line .UseStartup<Startup>() .Build();
No comments:
Post a Comment