asp.net mvc does not receive the GET request with a period in it
问题 I'm using .net4.5rc with MVC4.0rc The code below is taken from a MVC webapi application but I the same behaviour is there for reular asp.net mvc My registerroutes code looks like this routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); routes.MapHttpRoute( name: "R1", routeTemplate: "product/{id}", defaults: new { controller="Product", id = RouteParameter.Optional } ); This works well with Ids that doesn't have a period in them. However when I ask for a product with a period in it, the call