public static void Configuration(IAppBuilder app) { var container = DependencyConfiguration.Configure(app); SignalRConfiguration.Configure(app, container); MvcConfiguration.Configure(app, container); }
protected void Application_Start() { GlobalConfiguration.Configure(WebApiConfig.Register); DependencyConfiguration.Configure(); ModelsMappings.Configuration(); GlobalConfiguration.Configuration.Filters.Add(new NotImplementedExceptionFilterAttribute()); }
protected void Application_Start() { AreaRegistration.RegisterAllAreas(); RegisterGlobalFilters(GlobalFilters.Filters); RegisterRoutes(RouteTable.Routes); DependencyConfiguration.Configure(ConfigurationManager.AppSettings); }
protected void Application_Start() { AreaRegistration.RegisterAllAreas(); RouteConfig.RegisterRoutes(RouteTable.Routes); FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); AutoMapperConfiguration configuration = new AutoMapperConfiguration(); configuration.Config(); DependencyConfiguration.Configure(); }
/// <summary> /// Load your modules or register your services here! /// </summary> /// <param name="kernel">The kernel.</param> private static void RegisterServices(IKernel kernel) { DependencyConfiguration.Configure(kernel); }