title: How to remove Page URL from routing path in ASP.NET?
body: <p>I have an <code>Image</code> folder with some files, and a table with the path of this images. When trying to list the images like this:</p>
  <pre><code>@foreach (var image in Model.Product.Image)
      {   
              &lt;img src=&quot;@image.Path&quot; height=&quot;100&quot; /&gt;
      }
  </code></pre>
  <p>ASP.NET references <code>@image.Path</code> with the Page route(print from Google Dev Tools):</p>
  <p><a href="https://i.stack.imgur.com/NGSRw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NGSRw.png" alt="enter image description here" /></a></p>
  <p>It seems to be really simple to solve this problem, but I've got no clue how to do.</p>
  <p>I just need to remove the <code>Products/</code> part o f the URL and my problem is solved. I don't understand why Razor references <code>@image.Path</code> in this context with the name of the <code>Controller</code>.</p>