remogloor / Ninject.Web.WebApi

Adds support for web API to Ninject
Other
16 stars 48 forks source link

Conflict when using WebAPI AND WCF Selfhost #14

Open Bidou44 opened 10 years ago

Bidou44 commented 10 years ago

Hi, I have a conflict using WebAPI and WCF Ninject SelfHost that I described on stackoverflow: http://stackoverflow.com/questions/25594480/ninject-with-webapi-and-wcf

Not sure if this is a configuration problem on my side or if this a bug in the library. Any help greatly appreciated !

scott-xu commented 9 years ago

Please use NinjectSelfHostBootstrapper to start your WCF service and WebApi. Don't use new NinjectWebApiSelfHost(config).Start();