You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
remogloor edited this page Mar 6, 2013
·
8 revisions
The only thing that has to be done in this scenario is to specify the factory that shall be used for the service in the svc file.
Therefore open the svc file and add a Factory attribute to the ServiceHost configuration. The value of this attribute specifies the factory that shall be used to create the service host of the service. There are three options:
Ninject.Extensions.Wcf.NinjectServiceHostFactory is used for ordinary services
Ninject.Extensions.Wcf.NinjectWebServiceHostFactory is used for REST services
Ninject.Extensions.Wcf.NinjectDataServiceHostFactory is used for data services