public override void Configure(Container container) { _appHostConfig.Init(container, Plugins, Routes, EndpointHost.Config); //Enable Authentication //ConfigureAuth(container); //Set MVC to use the same Funq IOC as ServiceStack ControllerBuilder.Current.SetControllerFactory(new FunqControllerFactory(container)); }
public override void Configure(Container container) { _appHostConfig.Init(container, Plugins, Routes, EndpointHost.Config); }
public override void Configure(Container container) { _appHostCommon.Init(container); this.SetConfig(_appHostCommon.GetConfig()); this.Plugins.AddRange(_appHostCommon.GetPlugins()); }