Dealing with dependencies between WCF services when using Castle Windsor

Posted by Georgia Brown on Stack Overflow See other posts from Stack Overflow or by Georgia Brown
Published on 2010-04-28T15:10:30Z Indexed on 2010/04/28 15:13 UTC
Read the original article Hit count: 277

I have several WCF services which use castle windsor to resolve their dependencies. Now I need some of these services to talk to each other.

The typical structure is service --> Business Logic --> DAL

The calls to the other services need to occur at Business Logic level.

What is the best approach for implementing this?

Should I simply inject a service proxy into the business logic?

Is this wasteful if for example, only one of two method from my service need to use this proxy?

What if the services need to talk to each other? - Will castle windsor get stuck in a loop trying to resolve each services dependencies?

© Stack Overflow or respective owner

Related posts about castle-windsor

Related posts about dependency-injection