示例#1
0
 public SelfAppHost(IAppHostConfig appHostConfig)
     : base("SelfHostedApi", typeof(SelfAppHost).Assembly)
 {
     _appHostConfig = appHostConfig;
 }
示例#2
0
 public SelfHelloAppHost(IAppHostConfig appHostCommon)
     : base("Hello WS", typeof(HelloService).Assembly)
 {
     _appHostCommon = appHostCommon;
 }
示例#3
0
 public AppHost(IAppHostConfig appHostConfig) //Tell ServiceStack the name and where to find your web services
     : base("DiffStack MVC/ServiceStack host", typeof(ServiceInterfaces.BaseService).Assembly)
 {
     _appHostConfig = appHostConfig;
 }
示例#4
0
 public SelfAppHost(IAppHostConfig appHostConfig)
     : base("SelfHostedApi", typeof(SelfAppHost).Assembly)
 {
     _appHostConfig = appHostConfig;
 }
示例#5
0
 //Tell ServiceStack the name and where to find your web services
 public AppHost(IAppHostConfig appHostConfig)
     : base("DiffStack MVC/ServiceStack host", typeof(ServiceInterfaces.BaseService).Assembly)
 {
     _appHostConfig = appHostConfig;
 }