C# Class RootPath45.AppHost

Create your ServiceStack web service application with a singleton AppHost.
Inheritance: ServiceStack.AppHostBase
显示文件 Open project: ServiceStack/ServiceStack.Examples

Public Methods

Method Description
AppHost ( ) : System

Initializes a new instance of your ServiceStack application, with the specified name and assembly containing the services.

Configure ( Funq.Container container ) : void

Configure the container with the necessary routes for your ServiceStack application.

Method Details

AppHost() public method

Initializes a new instance of your ServiceStack application, with the specified name and assembly containing the services.
public AppHost ( ) : System
return System

Configure() public method

Configure the container with the necessary routes for your ServiceStack application.
public Configure ( Funq.Container container ) : void
container Funq.Container The built-in IoC used with ServiceStack.
return void