Пример #1
0
        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));
        }
Пример #2
0
 public override void Configure(Container container)
 {
     _appHostConfig.Init(container, Plugins, Routes, EndpointHost.Config);
 }
Пример #3
0
 public override void Configure(Container container)
 {
     _appHostCommon.Init(container);
     this.SetConfig(_appHostCommon.GetConfig());
     this.Plugins.AddRange(_appHostCommon.GetPlugins());
 }