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.
<
There are a couple ways you can fix this:
applicationhost.config
file used by your IIS. You should have the following entry in its appropriate locations:
...
...
...
...
Just make sure you actually have the file for aspnetcorev2.dll
in your IIS bin directory.