routing - ASP.NET MVC generates URLS starting with '/', are relative possible? -


asp.net mvc helpers generates urls slash, use <base /> tag project, possible place application folder. possible generate relative urls without first slash?

thanks!

use syntax images...

<img src="<%=resolveurl("~/content/images/mylogo.jpg")%>"/> 

...and of urls calculated based upon root of domain, making them work in page.


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -