You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 20, 2018. It is now read-only.
We found that AbsoluteUri was not usually the correct value or format for what people needed. Most of the time you need just some parts of the Uri.
From your prior post: I'm porting an ASP.NET MVC5 application into MVC6 and it uses VirtualPathUtility to get the absolute path for paths starting with "~".
@pranavkm, How did you decide to handle "~" in MVC?
@Tratcher@pranavkm , thanks guys. I'm currently injecting IApplicationEnvironment using [Activate] to access the ApplicationBasePath. :) This is ugly. In some places, I construct the IOptions and add properties for anything that depends on IApplicationEnvironment, Configuration etc. Is this the correct way?
No description provided.
The text was updated successfully, but these errors were encountered: