title: How to debug a dependency injection failure in published website
body: <p>Recently I faced this problem where an ASP.Net MVC website with Autofac as DI was working fine in my local IIS but when I published it in Azure, it was not getting redirected to the default controller, instead it was showing me the welcome page.
  I did a lot of things to finally know what was the problem like checking the web.config file line by line.
  Is there any easy mechanism to catch DI failures in production / published environment?</p>