I needed to add the page class that's generated and contained in the DLL as an httphandler for MyPageName.aspx in the web.config.