Attribute Routing with a "." is not working in my Web API project Sample URL which does not work
   [RoutePrefix("image")]
    public class TestController : ApiController
    {
        [Route("{uuid}.{extension}")]
        public HttpResponseMessage Get([FromUri(Name = "uuid")] string uuid,
            [FromUri(Name = "extension")] string extension)
        {
            // Not coming here with the URL http://localhost:8082/image/TestImage.jpg
        }
    }
If I remove the . and the extension then it works. So, this works...
[RoutePrefix("image")]
public class TestController : ApiController
{
    [Route("{uuid}")]
    public HttpResponseMessage Get([FromUri(Name = "uuid")] string uuid//,
        //[FromUri(Name = "extension")] string extension)
    {
        // Works with the URL http://localhost:8082/image/TestImage
    }
}
I am using IIS Express locally.
 
    