ASP.NET routing: Literal sub-segment between tokens, and route values with a character from the literal sub-segment
问题 The reason I'm asking is because IIS protects certain ASP.NET folders, like Bin, App_Data, App_Code, etc. Even if the URL does not map to an actual file system folder IIS rejects a URL with a path segment equal to one of the mentioned names. This means I cannot have a route like this: {controller}/{action}/{id} ... where id can be any string e.g. Catalog/Product/Bin So, instead of disabling this security measure I'm willing to change the route, using a suffix before the id, like these: