User1109032460 posted
When you get the "missing an assembly" error, did you have a reference to the System.Web assembly in your class library project?
Whether you put it in its own library or in a .cs file in the web project, you'll need to specify the full type name including its namespace. What is the root namespace for your project?