title: Should I use Url.Content() or ResolveUrl() in my MVC views?
body: <p>When building code like this:</p>
  
  <pre><code>&lt;script type="text/javascript" src="&lt;%=ResolveUrl("~/js/js.js")%&gt;"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>or</p>
  
  <pre><code>&lt;input type="image" src="&lt;%=ResolveUrl("~/img/submit.png")%&gt;" /&gt;
  </code></pre>
  
  <p>Should I use <code>Url.Content</code> or <code>ResolveUrl()</code>? What's the difference?</p>