WAS Non-HTTP activation - hooking application startup

Posted by Mike Tours on Stack Overflow See other posts from Stack Overflow or by Mike Tours
Published on 2010-03-15T11:18:54Z Indexed on 2010/03/15 11:39 UTC
Read the original article Hit count: 182

Filed under:
|
|

I'm trying to integrate a netTcpBinding based application that is hosted inside WAS with an IoC container (autofac/spring). Unfortunately, when it starts inside WAS and due to the fact that it is not an Http based application, no events are fired inside the Global application class.

I need to catch the application domain startup so that I can configure the IoC container. Is there any way to do this when hosting in WAS?

I've seen horrible things involving using static classes inside App_Code folders, but I'd like something somewhat more testable and not quite as dirty.

© Stack Overflow or respective owner

Related posts about was

    Related posts about nettcpbinding