Ninject WCF Extensions for RESTful Services
SOURCE: DZONE • 2012-05-03
TOPICS:
Software Engineering • Software Architecture • Dependency Injection • Representational State Transfer • Coupling • Constructor • Technology_internet
A while ago I blogged about using Ninject for dependency injection with WCF Services. The advantage of using DI is that it allows you to achieve loose coupling in your application architecture, so that youre not tightly bound to a particular infrastructure implementation, such as data access or logging. The problem with WCF services is that by default they are required to have a parameterless constructor, which does not play nice with DI containers, such as Ninject, which support injection of...
read more »