/// <summary> /// This method contains all binding configuration on one easy to use file. Add this statement to your applications startup code block (like Global.asax+Application_Start) /// </summary> /// <param name="config">an implementation of IModuleConfiguration that contains all bindings</param> public static void LoadModuleConfiguration(IBlueprint config) { HasExternalIoc = config is IContainerSetup; KernelFactory.LoadContainer(config); LoadKernel(); GetConfigurator().Bind <ILogging>().To(config.LoggingType).SetSingletonScope(); config.Bind(GetConfigurator()); LoggingExtentions.SetLogger(config.LoggingType); }