diff --git a/ASPNETIdentityWithOnion.Bootstrapper/App_Start/IocConfig.cs b/ASPNETIdentityWithOnion.Bootstrapper/App_Start/IocConfig.cs index cb1cfe7..c572767 100644 --- a/ASPNETIdentityWithOnion.Bootstrapper/App_Start/IocConfig.cs +++ b/ASPNETIdentityWithOnion.Bootstrapper/App_Start/IocConfig.cs @@ -10,7 +10,7 @@ using Autofac; using Autofac.Integration.Mvc; -[assembly: WebActivatorEx.PreApplicationStartMethod(typeof(IocConfig), "RegisterDependencies")] +[assembly: WebActivatorEx.PostApplicationStartMethod(typeof(IocConfig), "RegisterDependencies")] namespace ASPNETIdentityWithOnion.Bootstrapper {