SiteAliases Class

Summary

Contains aliases for working with IIS sites.
Assembly
Cake.IIS.dll
Namespace
Cake.IIS
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["SiteAliases"] class Type type-node

Syntax

public static class SiteAliases

Attributes

Type Description
CakeAliasCategoryAttribute
CakeNamespaceImportAttribute

Methods

Name Value Summary
DeleteSite(ICakeContext, string, string) bool
Deletes site from remote IIS.
static
DeleteSite(ICakeContext, string) bool
Deletes site from local IIS.
static
RestartSite(ICakeContext, string, string) bool
Restarts site on remote IIS.
static
RestartSite(ICakeContext, string) bool
Restarts site on local IIS.
static
SiteExists(ICakeContext, string, string) bool
Checks if site exists on remote IIS.
static
SiteExists(ICakeContext, string) bool
Checks if site exists on local IIS.
static
StartSite(ICakeContext, string, string) bool
Starts site on remote IIS.
static
StartSite(ICakeContext, string) bool
Starts site on local IIS.
static
StopSite(ICakeContext, string, string) bool
Stops site on remote IIS.
static
StopSite(ICakeContext, string) bool
Stops site on local IIS.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin