Simon Fell > Its just code > HttpNotFoundHandler

Saturday, March 29, 2003

HttpNotFoundHandler That's anoying, why isn't it public ?
More - I was trying to use HttpNotFoundHandler to get ASP.NET's 404 page, its not public so you can't, so I wrote a handler that throws new HttpException ( 404, "foo") ; expecting to get a 404 response with the text "foo", but in fact I get ASP.NET's 404 page after all !
< 12:12 PM PDT # > [playing Jean-Michel Jarre - Give Me a Sign (from Metamorphoses)]

You can't post a Comment

Sorry i got sick of comment spam, have something to say about one of my posts, post it to your own weblog.