Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 7215

Commented Issue: Web Api route parameters containing periods return 404. [372]

$
0
0
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?

Viewing all articles
Browse latest Browse all 7215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>