Tuesday, September 13, 2011

of parsing MVC routing

MvcHtmlString foo = htmlHelper.ViewContext.RequestContext.HttpContext.Request.Url.AbsoluteUri;

foreach (string key in html.ViewContext.RequestContext.HttpContext.Request.QueryString.Keys) routeDataValues[key] = html.ViewContext.RequestContext.HttpContext.Request.QueryString[key].ToString();

No comments:

Post a Comment