What is the correct method to wire-up your types in Ninject with WCF. I have got the WCF extensions and Ninject itself added to the WCF project via NuGet. But I am stuck with what to do next. I seem to be running into some outdated examples that use a global.asax instead of ServiceHostFactory. Is the ServiceHostFactory method the best one?
Where are the best current examples of Ninject usage with WCF? I’m unsure how to use the objects the Ninject WCF extension offers to do the wiring up.
More info:
I tried walking through – https://github.com/ninject/ninject.extensions.wcf/tree/Maintenance_2.2/src/Examples/WcfTimeService
My project was unable to resolve NinjectWcfApplication in the Global.asax.cs
This is why I thought this was no longer compatible or current with the latest Ninject.
The link you provided is from 2.2 which is outdated. Just switch ob that page to the master branch