mvc.net routing: routevalues in maproutes
I need urls like /controller/verb/noun/id and my action methods would be verb+noun. For example I want /home/edit/team/3 to hit the action method public ActionResult editteam(int id){} I have following route in my global.asax file. routes.MapRoute( "test", "{controller}.mvc/{verb}/{noun}/{id}", new { docid = "", action = "{verb}"+"{noun}", id = "" } ); URLs correctly match the route but I don't know where should I construct the action parameter that is name of action method being called. Try: public class VerbNounRouteHandler : IRouteHandler { public IHttpHandler GetHttpHandler(RequestContext