title: How to integrate Ninject into ASP.NET Core 2.0 Web applications?
body: <p>I have found out that Ninject has recently <a href="https://www.nuget.org/packages/Ninject/3.3.0" rel="noreferrer">introduced support for .NET Standard 2.0 / .NET Core 2.0</a>.</p>
  
  <p>However, I cannot find any extension to actually integrate it in the Web application (e.g similar to <a href="https://www.nuget.org/packages/Ninject.Web.Common/" rel="noreferrer">Ninject.Web.Common</a>)</p>
  
  <p>Looking on the code from an old ASP.NET MVC solution, I realized that the whole mechanism is different as the classic one relied on <code>WebActivatorEx.PreApplicationStartMethod</code> and <code>WebActivatorEx.ApplicationShutdownMethodAttribute</code> which are no longer available in ASP.NET Core.</p>
  
  <p>Also, the old <code>Ninject.Web.Common</code> assembly provided several useful classes used for initialization - Bootstrapper, OnePerRequestHttpModule, NinjectHttpModule:</p>
  
  <pre><code>public static void Start()
  {
      DynamicModuleUtility.RegisterModule(typeof(OnePerRequestHttpModule));
      DynamicModuleUtility.RegisterModule(typeof(NinjectHttpModule));
      Bootstrapper.Initialize(CreateKernel);
  }
  </code></pre>
  
  <p><strong>Question:</strong> is there any example of how to integrate Ninject into an ASP.NET Core 2.0 Web application?</p>