用路由系统生成输出URL 在视图中生成输出URL 高级路由特性 精通ASP-NET-MVC-5-弗瑞曼
Using the Routing System to Generate an Outgoing URL
结果呢:<a href="/Home/CustomVariable">This is an outgoing URL</a>
结果呢:<a href="/App/DoCustomVariable">This is an outgoing URL</a>
Using the Routing System to Generate an Outgoing URL
结果呢:<a href="/Home/CustomVariable">This is an outgoing URL</a>
结果呢:<a href="/App/DoCustomVariable">This is an outgoing URL</a>