I am trying to integrate a netTcpBinding based application hosted inside a WAS with an IoC container (autofac / spring). Unfortunately, when it starts with WAS and because it is not an Http based application, no events are fired in the global application class.
I need to catch the launch of the application so that I can configure the IoC container. Is there a way to do this when hosted in WAS?
I saw terrible things related to using static classes inside App_Code folders, but I would like something somewhat more verifiable and not quite dirty.
source
share