[Mono-devel-list] HttpHandler

Gonzalo Paniagua Javier gonzalo at ximian.com
Tue Sep 30 22:00:49 EDT 2003

El mar, 30-09-2003 a las 21:51, Cezar Nasui escribió:
> Does the handler works in XSP as is suppose to or am I doing something
> wrong ?
> I tried a simple handler example :
> - create a SimpleHandler which implements IHttpHandler, compile it to
> dll and place it under /bin
> - create a web.config file
> Under xsp/server I created a directory for my application /Test2/ and
> I installed /bin under it.

I did this:

        -Create my IHttpHandler in myhandler.cs. The class is in
        namespace A and its name is B.
        -Compiled it to myhandler.dll
        -Put the dll in xsp/server/test/bin
        -Add a couple of <httpHandler> to web.config:
            	<add verb="*" path="*.hola" type="A.B,myhandler" />
            	<add verb="*" path="hola.aspx" type="A.B,myhandler" />
And it worked fine for "*.hola" pages, but not for "hola.aspx". I've
just fixed the case for "hola.aspx" in CVS.

Is SimpleHandler.dll (with that exact typing) the name of your dll?



More information about the Mono-devel-list mailing list