I'm having issues with a controller which gets as parameters in the query string a pair of coordinates.
My controller looks like:
[HttpGet("/location")]
public IActionResult GetForLocation(double lat, double lon)
{
// Do stuff
}
When clients send coordinates with different decimal separators (e.g. /location?lat=4,4&lon=45,5) the framework's parsed them to 44 and 455. I've used app.UseRequestLocalization() in my startup class and reviewing the current thread culture I get the correct values for the decimal separators, but the model bindings are wrong.