I have migrated our application from .NET Core 2.2 to version 3.0. Actually I created the new application in 3.0 from scratch and then copied source code files. Everything looks
In my case I ran wrong profile (IIS Express) in Visual Studio by carelessness.