[Mono-dev] Problems with IHttpHandler
rook at roo.k.pl
Fri Feb 22 09:52:17 EST 2008
I assume you precompile the assambly and put it in bin.
In this case you sould put the name of the assembly in httpHandlers
section in web.config
Let's say the assembly is named "fooAssembly.dll". In that case add:
<add verb="POST" path="Execute" type="NamespaceMyType, fooAssembly"/>
If that doesn't help, please, post some code and the contents of web.config.
Nik Radford pisze:
> Hello all,
> I was wondering if someone could help me with this.
> I've written an ASP.NET website using visual studio 2005, and have written
> my own custom IHttpHandler. All works well, except when I move it over to
> my linux server and run it under mono.
> I get the error "(my http handler type) does not implement IHttpHandler or
> I then wrote a little program which I compiled under mono, to load the
> assembly my IHttpHandler type is in, and make sure that IHttpHandler could
> indeed be assigned from my type.
> returned true.
> So I'm a little lost as to what is happening here.
> thanks in advance.
> E-Mail: Nik at Terminaldischarge.net
> (We)Blog: http://blog.terminaldischarge.net
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
More information about the Mono-devel-list