C# 클래스 Castle.MonoRail.TestSupport.WebServer

Manages a Cassini.Server instance. This is useful to start/stop a lightweight webserver to run acceptance tests.
파일 보기 프로젝트 열기: nats/castle-1.0.3-mono

공개 메소드들

메소드 설명
StartWebServer ( ) : void

Starts the web server. The web project folder is going to be extracted from the appSettings.webapp entry (from the configuration file)

If the path is relative, it is going to be converted to an absolute path.

StartWebServer ( string webApplicationAbsolutePath ) : void

Starts the web server using the specified web project path. Note that the path must be absolute.

StopWebServer ( ) : void

Stops the web server.

메소드 상세

StartWebServer() 공개 정적인 메소드

Starts the web server. The web project folder is going to be extracted from the appSettings.webapp entry (from the configuration file)

If the path is relative, it is going to be converted to an absolute path.

public static StartWebServer ( ) : void
리턴 void

StartWebServer() 공개 정적인 메소드

Starts the web server using the specified web project path. Note that the path must be absolute.
public static StartWebServer ( string webApplicationAbsolutePath ) : void
webApplicationAbsolutePath string The web application absolute path.
리턴 void

StopWebServer() 공개 정적인 메소드

Stops the web server.
public static StopWebServer ( ) : void
리턴 void