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.Content("~/Content/images/logo.png")
But the path returned isn't absolute.
I know it is possible to build its own helper for such cases but I'd like to know if there's any easier way...
See Question&Answers more detail:os