ConfigurationExtensions Class

Summary

Provides extension methods to modify the Microsoft.Web.Administration.Configuration object.
Assembly
Cake.IIS.dll
Namespace
Cake.IIS
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["ConfigurationExtensions"] class Type type-node

Syntax

public static class ConfigurationExtensions

Methods

Name Value Summary
DisableDirectoryBrowsing(Configuration) Configuration
Enables directory browsing
static
EnableDirectoryBrowsing(Configuration) Configuration
Enables directory browsing
static
SetAuthentication(Configuration, string, string, string, AuthenticationSettings, ICakeLog) Configuration
Sets the authentication settings for the site.
static
SetAuthorization(Configuration, string, string, string, AuthorizationSettings) Configuration
Sets the authorization settings.
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