title: After Web Site Inactivity Ninject failes to load resource
body: <p>I have a ASP.Net Web API service (4.5.1) that is using Ninject to resolve components.   When I start the web site in IIS 8 and run it... It works fine.  If I let quite awhile pass before making additional calls, Ninject stops resolving my components and my web service returns null instead of JSON data.</p>
  
  <p>It runs fine for calls separated by as much as 10 minutes,  I have not nailed down when it stops working.</p>
  
  <p>This has to be some sort of configuration thing with Ninject or IIS. Any help would be appreciated. </p>
  
  <pre><code>private static IKernel _current = new StandardKernel();  
  _current.Bind&lt;IRepositoryFactory&gt;(typeof(MyRepositoryFactory));
  </code></pre>
  
  <p>I have complex wrapper code around the objects. The Kernel is created as shown above. Each class that I need resolved implements an IDependencyRegistrar Interface which is searched for by wrapper code during application startup.   When found, I call a method named Register which runs the second line of code shown above.</p>