Core 3.1 API problem in IIS

Oct 31 2020 4:11 AM
I created testAPI project (Core 3.1). There were ready controll:WeatherForecastController
TestAPI works fine when I debuged it (https://localhost:44380/weatherforecast) inside Visual Studio.
Then I published it and copied to my Windows Server 2016 IIS.
I created applicationpool NetCore (No Manage Code) and
then I created application TestMyAPi to IIS/Default Website .
But there it does not work. I tried to browse it (http://localhost/TestMyApi/weatherforecast)
but there comes error: HTTP Error 500.19 - Internal Server Error.
Should I install something to my server that Core API*s will work there ?
Matti Niskasaari 

Answers (2)