We want to be able to use virtual directories for example www.domain.com/myApp.
In MVC 5 we used request.ApplicationPath
for example: request.Url.Scheme + "://" + request.Url.Authority + request.ApplicationPath.TrimEnd('/')
How can we accomplish the same in mvc 6?