I have a Winform client that sends a json post request to my controller with a datetime value of the format dd/MM/yyyy and the call returns a status code 400.
I tried to add:
<globalization uiCulture="fr" culture="fr-FR" />
to my web.config file but it's still not working.
Edit: I should add also That I have no control over the client and that I added:
[DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:dd/mm/yyyy}")]
to my model with no result