在ASP.NET MVC中,如何根据请求URL获取控制器/操作名称?
网址示例:http://contoso.com/View/Comment/1
我想得到:
基于HttpContext.Current.Request.
HttpContext.Current.Request
asp.net asp.net-mvc
asp.net ×1
asp.net-mvc ×1