What should you do?

Posted by: Pdfprep Category: 70-486 Tags: , ,

You are developing an ASP.NET MVC application. The application must allow users to enter HTML in a feedback text box only. You need to disable request validation.

What should you do?
A . Use the HttpRequest.Form property to read the unvalidated form value.
B . Apply and set the Validatelnput attribute on the controller action to FALS
D . Use the HttpRequest.Unvalidated property to read the unvalidated form value.
E . Apply and set the CausesValidation attribute on the controller action to FALS

Answer: C

Explanation:

The HttpRequest.Unvalidated Property provides access to HTTP request values without triggering request validation.

Leave a Reply

Your email address will not be published.