IISExpress
Contains tasks to host webprojects in IIS Express.
Nested types and modules
Functions and values
| Function or value | Description |
createConfigFile (...)
Signature: (name:'?6116 * siteId:int * templateFileName:string * path:string * hostName:string * port:int) -> string
Type parameters: '?6116
|
Create a IISExpress config file from a given template
|
HostWebsite (...)
Signature: setParams:(IISExpressOptions -> IISExpressOptions) -> configFileName:string -> siteId:int -> Process
|
This task starts the given site in IISExpress with the given ConfigFile.
Parameters
setParams - Function used to overwrite the default parameters.
configFileName - The file name of the IISExpress configfile.
siteId - The id (in the config file) of the website to run.
Sample
HostWebsite (fun p -> { p with ToolPath = "iisexpress.exe" }) "configfile.config" 1
|
IISExpressDefaults
Signature: IISExpressOptions
|
IISExpress default parameters - tries to locate the iisexpress.exe
|
OpenUrlInBrowser url
Signature: url:string -> unit
|
Opens the given url in the browser
|
OpenWebsiteInBrowser hostName port
Signature: hostName:string -> port:int -> unit
|
Opens the given website in the browser
|