Need complete DI sample for WCF

无人久伴 提交于 2019-12-06 11:02:32
Mark Seemann

The code download for my book Dependency Injection in .NET contains a full, working example.

However, most of what you'll need to know is explained in this answer: Injecting data to a WCF service

I recommend this one. I have already used it and it is fully working.

This one is the most straightforward one I've found.

There is a fully working downloadable sample here on Codeplex. It uses the Unity.WCF NuGet package, so it's really the kind of slam dunk example you are looking for.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!