title: HttpHandler, Unity, Dependency Injection (DI), web.config is it even possible?
body: <pre><code> public class MyHttpHandler : IHttpHandler
   {
        public MyHttpHandler() { ... }
  
        public IUnityContainer Container { get; set; }
   }
  </code></pre>
  
  <p>Is there a way to somehow get Container magically be set to a container I setup in global.asax?</p>
  
  <p>Right now I can't find a way of doing it other than using AppDomain.CurrentDomain.GetData("container") as IUnityContainer.</p>
  
  <p>Please let me know if there is a cleaner way of doing this.</p>