It goes in the Page directive at the top of the aspx file. Should look
something like this:
<%@ Page language="c#" Codebehind="Test.aspx.cs" AutoEventWireup="false"
Inherits="Test" ValidateRequest="false" %>
Of course you'll have to change the name of the Codebehind file and the
Inherits tag to match your page and code.
Also, note that this page directive is a feature that was introduced with
..NET Framework version 1.1.