Click here to Skip to main content
15,884,425 members
Please Sign up or sign in to vote.
4.50/5 (2 votes)
See more:
Hello!
I want to know opinion developers who have had work with WCF. Saying IoC I mean something like Unity, Spring.Net or another one.

1. It's good or not to use(IoC and DI) to create service instance?
When it's really need?

2. Wouldn't be better implements IInstanceProvider then IoC?
If would when and why?

In my case I want to use Repository pattern and inject it to my service,
how better to do it?
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900