|
by Rick Strahl via Rick Strahl's Web Log on 3/28/2009 11:33:54 PM
Every once in a while I run into the situation where I need an application root relative path in an ASP.NET application. Right now I need this for a few localization routines. In the ASP.NET Resource Provider model localization is based on resource sets which are referenced via – application relative paths (ie. subdir/page.aspx or page.aspx). Question is how do you get this relative path? For the current page this is actually quite easy. The HttpRequest object includes a handy AppRelativeCurr
... [ read more ]
|