RewriteAliases Class

Summary

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

Syntax

public static class RewriteAliases

Attributes

Type Description
CakeAliasCategoryAttribute
CakeNamespaceImportAttribute

Methods

Name Value Summary
CreateRewriteRule(ICakeContext, RewriteRuleSettings) void
Creates a rewrite rule on local IIS.
static
CreateRewriteRule(ICakeContext, string, RewriteRuleSettings) void
Creates a rewrite rule on remote IIS.
static
DeleteRewriteRule(ICakeContext, string, string) bool
Deletes a rewrite rule from remote IIS.
static
DeleteRewriteRule(ICakeContext, string) bool
Deletes a rewrite rule from local IIS.
static
RuleExists(ICakeContext, string, string) bool
Checks if rule exists on remote IIS.
static
RuleExists(ICakeContext, string) bool
Checks if rule exists on local IIS.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin