NET 5 – Fix – System.InvalidOperationException: ‘Application is running inside IIS process but is not configured to use IIS server.’
After updating a .NET Core 2.2 app to NET 5, the following error appeared: System.InvalidOperationException: ‘Application is running inside IIS process but is not configured to use IIS server.’ To fix this use