title: MVC site return Image URL
body: <p>I have an MVC site that has <code>ONION</code> architecture.</p>
  
  <p>I am trying to display some images, and my current attempt has me returning a <code>URL</code> of an image from an <code>API</code> call, and then using this path to retrieve the image in the <code>HTML</code>.</p>
  
  <p>However, I am having some trouble establishing what the URL of the image should be, which makes me wonder if it is possible to do this.</p>
  
  <p>Basically, this would be the URL for the API call:</p>
  
  <pre><code>http://devServer/api/v1/relevant?Id=187582
  </code></pre>
  
  <p>which would return an object the has an image <code>URL</code></p>
  
  <p>Then, in my <code>REST</code> folder, I would create a folder called <code>Images</code> that would hold all the images, and then I would expect them to be retrieved by a <code>URL</code> such as this:</p>
  
  <pre><code>http://devServer/Images/img.png
  </code></pre>
  
  <p>Is this possible, and if so how can I find the URL?</p>
  
  <p>Trying the following returns a <code>URL</code> with a <code>querystring</code>, which does not seem to be the URL that will return the image:</p>
  
  <pre><code>HttpContext.Current.Request.Url.AbsolutePath
  HttpContext.Current.Request.Url
  //etc...
  </code></pre>