Question:You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5.
You plan to submit text that contains HTML code to a page in the application.
You need to ensure that the HTML code can be submitted successfully without affecting other applications that run on
the Web server.
What should you do?
A Add the following attribute to the @Page directive:
EnableEventValidation="true"
B Add the following attribute to the @Page directive:
ValidateRequest="true"
C Set the following value in the Web.config file:
<system.web>
<pages validateRequest="false"/>
</system.web>
D Set the following value in the Machine.config file:
<system.web>
<pages validateRequest="false"/>
</system.web>