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
·
2 revisions
First you have to create a new class NinjectFileLessServiceHostFactory that creates and initializes the kernel:
```text
public class NinjectFileLessServiceHostFactory : NinjectServiceHostFactory
{
public NinjectFileLessServiceHostFactory()
{
var kernel = new StandardKernel(new ServiceModule());
kernel.Bind().To();
SetKernel(kernel);
}
}
```
Then extend the App.Config by adding the following configuration to the system.serviceModel configuration: