The simplest question for which I can\'t find an answer.
I have an asp.net core 2.1 MVC application with Razor.
Application widely uses ~/path synta
~/path
In your "Startup" class in the "Configure" method use next:
app.UsePathBase("/yourBasePath");