开发者

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

开发者 https://www.devze.com 2023-01-14 20:29 出处:网络
I was reading a开发者_StackOverflown exellent article about how to use dependency injection with WCF Services.

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

精彩评论

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

关注公众号