Skip to content

Instantly share code, notes, and snippets.

@rkusa
Created October 7, 2010 07:40
Show Gist options
  • Save rkusa/614734 to your computer and use it in GitHub Desktop.
Save rkusa/614734 to your computer and use it in GitHub Desktop.
protected void Application_Start()
{
IKernel kernel = new StandardKernel(new YourNinjectModule());
DependencyResolver.SetResolver(new NinjectDependencyResolver(kernel));
// register global filters, routes, ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment