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 -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -