WCF applications
In this section, we will implement the Northwind customers scenario using Windows Communication Foundation (WCF). WCF is a highly customizable and extensible framework, and it is possible to configure it to use Ninject service host factories to enable hosting of injectable services. Ninject WCF extensions include all the necessary components.
Now, add a new WCF service application to the Northwind solution, and reference Northwind.Core project. We also need to add reference to the
Ninject.Extensions.WCF, Ninject.Web.Common, and Ninject
libraries. We can do it either via NuGet, or we can download the binaries from the Ninject page on GitHub. Adding binary references manually requires some manipulations of the Global.asax file ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access