asp.net - ASP .NET Web API controller action's parameter is null but ModelState.IsValid still true, why? -


question says all, have web api controller action, takes poco. it's post action, , i'm intentionally not posting parameter action, modelstate.isvalid property still shows true. why be? there attribute have set on controller action , parameters enforce validation?

null valid value object. make properties in poco [required] enforce checks.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -