Méthode | Description | |
---|---|---|
UseServiceStack ( this builder, IServiceStackHost host ) : IAppBuilder |
Adds ServiceStack to the IAppBuilder pipeline using a specific IServiceStackHost as a host This will automatically call IServiceStackHost.Init which will configure the IoC container and call the ServiceStackHost.Configure(Funq.Container) method |
|
UseServiceStack ( this builder, string serviceName ) : IAppBuilder |
Adds ServiceStack to the IAppBuilder pipeline using a built-in host
|
public static UseServiceStack ( this builder, IServiceStackHost host ) : IAppBuilder | ||
builder | this | The app builder pipeline |
host | IServiceStackHost | The host to use when servicing requests |
Résultat | IAppBuilder |
public static UseServiceStack ( this builder, string serviceName ) : IAppBuilder | ||
builder | this | The app builder pipeline |
serviceName | string | The service's name |
Résultat | IAppBuilder |