Change default Culture/Decimal localization
<p>I´m having a problem when trying to use a view Model that as a decimal property. Because my decimal <strong>region/culture  format uses "," and not "." as decimal separator</strong>.</p>

<p>When I try to post that model, I get the following error:</p>

<p><strong><em>The value xxx is not valid for the "field".</em></strong></p>

<p>I´m using jquery.unobstrusive and jquery.validation. So when I make the submit the model get validated and a error is shown an a label with the error above.</p>

<p>The thing is, the property does not have any kind of attributes (Required,Regex,Range). So that error is produced by the middleware/framework when trying to parse the string to decimal.</p>

<p><strong>If I type a decimal like: 40.05 the form submit with success.</strong></p>

<p><strong>If I type a decimal like: 40,05 the form submit fails with the above error.</strong></p>

<hr>

<p>I have already read about Globalization at:</p>

<p><a href="https://docs.asp.net/en/latest/fundamentals/localization.html#globalization-and-localization-terms" rel="nofollow">https://docs.asp.net/en/latest/fundamentals/localization.html#globalization-and-localization-terms</a></p>

<p>but could not find the "path" trought setting my globalization culture.
At MVC4/5 we were used to add a web.config tag at system.web and that's it. But at MVC6 that doesn´t seem to be the way.</p>

<p>Any tips?</p>