In ASP.NET Web Api, route parameters that contain periods are not matched.
Steps to reproduce:
In the default web api template update the Get (by id) method as below:
public string Get(string id)
{
return id;
}
A request to /api/values/foo returns "foo".
A request to /api/values/foo.bar returns a 404.
Comments: @HongmeiG I had the same problem before and applied the config that you supplied and it made it work. I know this is not a Web API's issue, it's the issue with the Web Server but RAMMFAR is not the optimum way of handling this. Do u know which individual module do we need to enable this?
Steps to reproduce:
In the default web api template update the Get (by id) method as below:
public string Get(string id)
{
return id;
}
A request to /api/values/foo returns "foo".
A request to /api/values/foo.bar returns a 404.
Comments: @HongmeiG I had the same problem before and applied the config that you supplied and it made it work. I know this is not a Web API's issue, it's the issue with the Web Server but RAMMFAR is not the optimum way of handling this. Do u know which individual module do we need to enable this?