public void Configuration(IAppBuilder appBuilder) { var httpConfiguration = new HttpConfiguration(); WebApiConfig.Register(httpConfiguration); appBuilder.UseWebApi(httpConfiguration); SimpleInjectorConfig.Initialize(httpConfiguration); SwaggerConfig.Register(httpConfiguration); }