Where is Request.Unvalidated on asp.net-core?
1 answer
ASP.NET Core does not have the same request validation functionality as ASP.NET. Here are the command responses in GH problem :
RequestValidation has always been pretty porous, and in the end we came to the understanding that the validation must be application related, since what one application validates is not valid for another.
and
We have no plans to ever create query validation middleware like the one that existed in System.Web.
Also useful: SO Enable asp.net core request validation . In short, model validation should be used instead.
+4
source to share