You have no assembly reference. Right-click on your project, add the link and add System.Web. You may also need to switch to targeting the full framework, which is located in the Projetc settings in the Compilation section, in the Advanded dialog box, in the lower dialog box.
source
share