-
Notifications
You must be signed in to change notification settings - Fork 16
Home
Joe Reynolds edited this page Sep 22, 2016
·
7 revisions
At the most basic, Injection in a WebForm app can be done within the App_Start folder in the NinjectWebCommon.RegisterServices
method. It should look something like this:
private static void RegisterServices(IKernel kernel)
{
kernel.Bind<ISomeService>().To<SomeService>().InRequestScope();
}