C# 클래스 ServiceStack.AppHostBase

Inherit from this class if you want to host your web services inside an ASP.NET application.
상속: ServiceStackHost
파일 보기 프로젝트 열기: ServiceStack/ServiceStack 1 사용 예제들

공개 메소드들

메소드 설명
Bind ( IApplicationBuilder app ) : void
BindHost ( ServiceStackHost appHost, IApplicationBuilder app ) : void
GetOrCreateRequest ( HttpContext httpContext ) : IRequest
GetOrCreateRequest ( IHttpContextAccessor httpContextAccessor ) : IRequest

Creates an IRequest from IHttpContextAccessor if it's been registered as a singleton

GetWebRootPath ( ) : string

The FilePath used in Virtual File Sources

MapProjectPath ( string relativePath ) : string
OnConfigLoad ( ) : void
ProcessRequest ( HttpContext context, Func next ) : Task
RegisterLicenseFromAppSettings ( IAppSettings appSettings ) : void
TryGetCurrentRequest ( ) : IRequest

보호된 메소드들

메소드 설명
AppHostBase ( string serviceName ) : System

메소드 상세

AppHostBase() 보호된 메소드

protected AppHostBase ( string serviceName ) : System
serviceName string
리턴 System

Bind() 공개 메소드

public Bind ( IApplicationBuilder app ) : void
app IApplicationBuilder
리턴 void

BindHost() 공개 정적인 메소드

public static BindHost ( ServiceStackHost appHost, IApplicationBuilder app ) : void
appHost ServiceStackHost
app IApplicationBuilder
리턴 void

GetOrCreateRequest() 공개 정적인 메소드

public static GetOrCreateRequest ( HttpContext httpContext ) : IRequest
httpContext System.Web.HttpContext
리턴 IRequest

GetOrCreateRequest() 공개 정적인 메소드

Creates an IRequest from IHttpContextAccessor if it's been registered as a singleton
public static GetOrCreateRequest ( IHttpContextAccessor httpContextAccessor ) : IRequest
httpContextAccessor IHttpContextAccessor
리턴 IRequest

GetWebRootPath() 공개 메소드

The FilePath used in Virtual File Sources
public GetWebRootPath ( ) : string
리턴 string

MapProjectPath() 공개 메소드

public MapProjectPath ( string relativePath ) : string
relativePath string
리턴 string

OnConfigLoad() 공개 메소드

public OnConfigLoad ( ) : void
리턴 void

ProcessRequest() 공개 메소드

public ProcessRequest ( HttpContext context, Func next ) : Task
context System.Web.HttpContext
next Func
리턴 Task

RegisterLicenseFromAppSettings() 공개 정적인 메소드

public static RegisterLicenseFromAppSettings ( IAppSettings appSettings ) : void
appSettings IAppSettings
리턴 void

TryGetCurrentRequest() 공개 메소드

public TryGetCurrentRequest ( ) : IRequest
리턴 IRequest