© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
5 replies
Zerthz

MVC model binding issues

Hello,
I got some issues with model binding for my MVC endpoint. All doubles fail and become 0/null.

I went into the model state to check what was wrong, and it said that it had an invalid value. The value had a period in it as the separator. I copied the exact value the model state said was invalid and placed it into the local and it was accepted no problem.

Have anyone seen an issue like this? What would you recommend to deal with it, a custom binder?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Model not binding to View' issue in ASP.NET MVC
C#CC# / help
3y ago
❔ ❔ MVC - Chart - Model - NullReferenceException
C#CC# / help
4y ago
✅ Issues with wpf binding
C#CC# / help
13mo ago
❔ Need help understanding Model Binding better
C#CC# / help
3y ago