How to make ASP.NET Routing escape route values?
问题 I have an ASP.NET MVC site where I want routes like /{controller}/{id}/{action}/{date} , where "date" is the mm/dd/yyyy portion of a date/time. (I'm dealing with time-dimensioned data, so I need both an ID and a point in time to do most operations) The route for this is simple: routes.MapRoute( "TimeDimensionedRoute", "{controller}/{id}/{action}/{date}", new { controller = "Iteration", action = "Index", id = String.Empty, date = String.Empty } ); This route correctly maps " /Foo/100/Edit/01