Fog Creek Software
Discussion Board




Welcome! and rules

Joel on Software

ASP.NET: Page.ProcessRequest

Hi there,

I have added an aspx-Page "home.aspx" with the corresponding code-behind class "home.cs".

I also have a HttpHandler class that implements IHttpHandler. Do you know why the following code is not rendering my "home" page at all (only empty, default HTML scaffolding code is "generated"), and what I am missing here?

void IHttpHandler.ProcessRequest (HttpContext context) {
    using (Page page = new home ())
        ((IHttpHandler) page).ProcessRequest (context);
}

Many thanks,
Phil

Phil
Friday, June 03, 2005

Solved: The System.Web.UI.PageParser was my friend...  =)

Phil
Saturday, June 04, 2005

*  Recent Topics

*  Fog Creek Home