Hosting application targeting multiple framework

If the application is targeting multiple frameworks e.g. NET Core 2.1 and .NET Framework 4.6.1, you will need to install Hosting Bundle for it. Here is how;

https://dotnet.microsoft.com/en-us/download/dotnet/2.1

Restart your IIS box.

Make sure App poll is using v4.0 of .NET CLR version.

This will also help to solve this error;

IIS: Handler “aspNetCore” has a bad module “AspNetCoreModuleV2” in its module list

FavoriteLoadingAdd to favorites
Spread the love

Author: Shahzad Khan

Software developer / Architect