Is there any easy (built in) way in an asp.net mvc view to get the absolute path of a file in the content folder?
At the moment I\'m using
@Url.Cont
new Uri(Request.Url, Url.Content("~/Content/images/logo.png"))
this calls the .ToString() of Uri. You can also put Uri in a variable and call .AbsoluteUri.