C# Class Owin.ServiceStack.AppBuilderExtensions

显示文件 Open project: thedillonb/Owin.ServiceStack

Public Methods

Method 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

Method Details

UseServiceStack() public static method

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
public static UseServiceStack ( this builder, IServiceStackHost host ) : IAppBuilder
builder this The app builder pipeline
host IServiceStackHost The host to use when servicing requests
return IAppBuilder

UseServiceStack() public static method

Adds ServiceStack to the IAppBuilder pipeline using a built-in host
public static UseServiceStack ( this builder, string serviceName ) : IAppBuilder
builder this The app builder pipeline
serviceName string The service's name
return IAppBuilder