Controlling Model Binding in ASP.NET Core

added by Paul Wheeler
9/18/2018 1:50:50 PM

1 Kicks, 168 Views

Model binding works great ... but it sometimes lets me down. In those cases you need to tell model binding to do the right thing. Here's an attribute that will let you know when you're missing non-nullable data and do it without interfering with your data design.