当前位置: 首页 > 图文教程 > 网络编程 > ASP.NET > Asp.net Mvc Framework可以在Controller中使用的Url.Action方法
ASP.NET 中的 Asp.net Mvc Framework可以在Controller中使用的Url.Action方法
原本的Url.Action方法是利用RouteCollection来实现Url的Routing的。
所以这里用一个扩展方法重现一下
| 以下为引用的内容: using System.Web.Routing; |
使用方法:
| 以下为引用的内容: public ActionResult Index() { |
评论 (0) All