I\'m trying to write a html helper extension that outputs an image tag. I need to access (within C# code) something like Razor\'s @Url.Content() helper to get the proper URL
Something like this perhaps?
public static string MyHelper(this HtmlHelper h) { string url = h.ViewContext.HttpContext.Request.Url.AbsoluteUri; }