Model Binding in GET Requests

added by DotNetKicks
2/27/2018 3:09:32 PM

2 Kicks, 242 Views

I've seen parameter validation code inside controller actions on an HTTP GET request. However, the model binder in ASP.NET Core will populate the ModelState data structure with information about all input parameters on any type of request.