title: How to specify virtual path for image in ASP.Net MVC razor helper
body: <p>In my razor style helper class (located in the App_Code folder, I've got this line of code:</p>
  
  <pre><code>&lt;img src="../../Content/images/ajax_activity.gif" alt="loading"/&gt;
  </code></pre>
  
  <p>This works fine in Cassini, but when I deploy the app to IIS (virtual directory), IIS can't find the path. The virtual path is being ignored.
  This also doesn't work:</p>
  
  <pre><code>&lt;img src="@Href("~/Content/images/ajax_activity.gif")" alt="loading" /&gt;
  </code></pre>