Resolved #568 - The AutofacDependencyResolver is no longer registered on-the-fly. If the current IDependencyResolver cannot be cast to AutofacDependencyResolver it then attempts to unwrap it from a DynamicProxy.