WCF using Ninject Dispose not triggering in requestscope
问题 Here is my module internal class WebServiceConfiguration : NinjectModule { public override void Load() { Bind<IWebService>().To<WebService>().InRequestScope(); } } Here is the global.asax public class Global : NinjectHttpApplication { protected override IKernel CreateKernel() { return new StandardKernel(new WebServiceConfiguration()); } } I also tried InScope(c => OperationContext.Current) Here is my service with IDisposable in IWebService [ServiceBehavior(InstanceContextMode =