I am trying to setup a web API but can't seem to get the API to work in IIS.
When I debug the default ASP .netCore API weatherforcast example from Visual Studio 2019 everything works locally as expected. But as soon as I publish the project and more it to the default webpage folder in IIS, I can't seem to be able to open the web interface any more and postman doesn't communicate with it any more as well, it is a windows 10 environment.
The Error that I get is : HTTP 500 error
That’s odd... the website can’t display this page
Any help would be much appreciated.