I used angular .net core 2.2 template to build application.In localhost working fine,When i host to IIS Im getting this error.Im using IIS 10 to host the application.
<
UPDATE
ORIGINAL
I got this to work by adding the following code block to the .csproj
for the web application.
netcoreapp2.2
latest
AspNetCoreModule
OutOfProcess
Obviously you'll want to update the netcoreapp
version as you move on. This is how I was able to get things working. I'm not sure why simply installing the hosting bundle for 2.2 wasn't enough.