castle monorails httpHandlers

Posted by bogdanbrudiu on Stack Overflow See other posts from Stack Overflow or by bogdanbrudiu
Published on 2010-06-14T20:16:21Z Indexed on 2010/06/14 20:22 UTC
Read the original article Hit count: 306

Filed under:
|
|

I have a question and I hope you can help me solve it... I have a castle monorails application. In web.config file in httphandlers I have *.aspx maped to monorails (my hosting does not suport other extensions...)

<add verb="*" path="*.aspx" type="Castle.MonoRail.Framework.MonoRailHttpHandlerFactory,Castle.MonoRail.Framework"/>

The problem is that I have some Webforms pages that I want to work with aspx... So I am adding something like this to the web.config file...

<add verb="*" path="connector.aspx*" type="System.Web.UI.PageHandlerFactory"/>
<add verb="*" path="ChatPage.aspx*" type="System.Web.UI.PageHandlerFactory"/>
<add verb="*" path="Logon.aspx*" type="System.Web.UI.PageHandlerFactory"/>

Still it does not work.. What am I doing wrong?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about web.config