IOCAutofac inversion of control (IoC) with Autofac in a asp.net web api project you can read the post here