Reported by user here:
http://aspnetwebstack.codeplex.com/discussions/531690
_Scenario_:
```
public class OneRequest
{
public string Id { get; set; }
public string Name { get; set; }
}
public class ValuesController : ApiController
{
[HttpGet]
[Route("api/values/{Id}")]
public IHttpActionResult GetOne([FromUri] OneRequest request)
{
return Ok(request);
}
}
```
_Workaround_:
- Change the case of the route parameter from "Id" to "id".
_Attached_ a Owin Selfhost repro.
_Note_: The dictionary called "parameterValuesForRoute" in the TryExpandUriParameters method of ApiExplorer class should use case-INsensitive way of comparing keys.
Comments: Verified.
http://aspnetwebstack.codeplex.com/discussions/531690
_Scenario_:
```
public class OneRequest
{
public string Id { get; set; }
public string Name { get; set; }
}
public class ValuesController : ApiController
{
[HttpGet]
[Route("api/values/{Id}")]
public IHttpActionResult GetOne([FromUri] OneRequest request)
{
return Ok(request);
}
}
```
_Workaround_:
- Change the case of the route parameter from "Id" to "id".
_Attached_ a Owin Selfhost repro.
_Note_: The dictionary called "parameterValuesForRoute" in the TryExpandUriParameters method of ApiExplorer class should use case-INsensitive way of comparing keys.
Comments: Verified.