As the title states, I am unable to host my .NET 2.0 web app when publishing to an Azure Virtual Machine running the Windows 2016 data center image.
The app is similar to the one found on the following link:
These are the list of steps that I've taken:
Now my problem occurs when trying to host my .NET Core 2.0 web app. On my local development machine it runs without any issues, but when I publish to my Azure VM I am greeted with the following error message
HTTP Error 500.21 - Internal Server Error Handler "aspNetCore" has a bad module "AspNetCoreModule" in its module list
It seems to me that I need to configure IIS to be able to host a .NET Core 2.0 web app. But so far I have been unsuccessful. Any pointers/tips would be greatly appreciated.
User contributions licensed under CC BY-SA 3.0