【发布时间】:2011-03-25 16:49:39
【问题描述】:
如果我有一个像"/something/something/" 这样的网址,而我的网站是http://mysite.com,我想链接到那个网址,有没有像Url.Content(); 这样的方法可以在IIS 中发现网站的虚拟目录并映射是否适合 url 路径?
我试过Url.GenerateContentUrl(), Url.Action(), Url.Content(), Url.RouteUrl()
【问题讨论】:
标签: c# asp.net-mvc asp.net-mvc-2 url-routing