Where is Request.Unvalidated on asp.net-core?

I noticed that in classic ASP.NET MVC there is a property Unvalidated

on Request

that allows Access to the raw values ​​provided by the current request.

I cannot identify this property in ASP.NET MVC Core . Is there a way to access this information?

+3


source to share


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







All Articles