开发者

DI with WCF -- Where do I initialize the Windsor Container when using WAS hosting?

I was reading a开发者_StackOverflown exellent article about how to use dependency injection with WCF Services. Unfortunately, it only shows how to instantiate and register the Windsor Container in a global.asax file. I'm looking to use WAS for my hosting so global.asax will not get called. Does anyone know where I should register the container? Do I have to extend the WindsorServiceHostFactory an do it in there?


I'm not 100% up to date with development of WCF Facility so it may be already there, but if it's not take a look at this post and the comments.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜