コード例 #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());
 }