I'm attempting to make a Virtual directory relative link to some unknown (to WebAPI) resource form an ApiController.
Example:
http://some/path/webapi/does/not/know
The WebAPI Url helper seems to be tightly coupled with Routing and does not have a Content() method like the MVC variant. I'm trying to avoid using any non-mockable HTTP context information to make this call (such as HttpContext.Current).
Thanks for the help!
System.Web.Mvc.UrlHelperin your API controller in order to use theContentmethod?