C# Класс Castle.MonoRail.TestSupport.WebServer

Manages a Cassini.Server instance. This is useful to start/stop a lightweight webserver to run acceptance tests.
Показать файл Открыть проект

Открытые методы

Метод Описание
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