C# Class TeamCitySiteValidator.IisConfiguration

Creates an IIS Express config file that hosts two websites (Witness and website under test). Can start the website processes. Deletes the file when disposed.
Inheritance: IDisposable
Afficher le fichier Open project: nhsevidence/teamcitysitevalidator Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void
FreeTcpPort ( ) : int
IisConfiguration ( string websitePath, Microsoft.Build.Utilities.TaskLoggingHelper log ) : System
StartWebsites ( ) : System.Diagnostics.Process[]

Private Methods

Méthode Description
CreateConfigFile ( string websitePath, int websitePort ) : void
GetIISExpressExePath ( ) : string
LoadTemplateConfigXml ( ) : System.Xml.Linq.XDocument
SiteElement ( int id, string name, string physicalPath, int port ) : System.Xml.Linq.XElement
UniqueConfigFilename ( string witnessRootDirectory ) : string

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

FreeTcpPort() public static méthode

public static FreeTcpPort ( ) : int
Résultat int

IisConfiguration() public méthode

public IisConfiguration ( string websitePath, Microsoft.Build.Utilities.TaskLoggingHelper log ) : System
websitePath string
log Microsoft.Build.Utilities.TaskLoggingHelper
Résultat System

StartWebsites() public méthode

public StartWebsites ( ) : System.Diagnostics.Process[]
Résultat System.Diagnostics.Process[]