According to the docs, you go to 'Tools- If you don't want to validate, you can set your project to "No Build" or "Build Page" before running startup page. NET that examines HTTP requests and determines whether they contain potentially dangerous content.This check adds protection from markup or code in the URL query string, cookies, or posted form values that might have been added for malicious purposes.
In these scenarios you should disable request validation for the smallest surface possible. NET Web Forms applications prior to v4.5, you will need to disable request validation at the page level.
He is a Microsoft Certified Application Developer (MCAD), Microsoft Certified Solution Developer (MCSD) and a Microsoft Certified Trainer (MCT) who has been developing Microsoft Windows and Web-based solutions as well as training for over 12 years. Shannon lives in Glendale, AZ, and is married with two daughters and a son. Validating the information entered by users is an essential part of developing a professional Web-based user interface.
He has been a featured speaker at many industry events including Microsoft Dev Days and the ASP. Shannon speaks and trains for companies such as App Dev ( and Learn It ( and has been a featured speaker in training videos with Learn Key. Data validation over the Web is performed in one of two locations: on the user's computer, or on the Web server.
Request validation helps to prevent this kind of attack by throwing a "potentially dangerous value was detected" error and halting page processing if it detects input that may be malicious, such as markup or code in the request.
Request validation is generally desirable and should be left enabled for defense in depth. NET, data validation was performed through scripts using either Java Script or VBScript.