BindingExtensions Class

Summary

Contains extension methods to configure bindings created by BindingExtensions
Assembly
Cake.IIS.dll
Namespace
Cake.IIS
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["BindingExtensions"] class Type type-node

Syntax

public static class BindingExtensions

Methods

Name Value Summary
RequireServerNameIndication(BindingSettings, bool) BindingSettings
Specifies whether or not Server Name Indication (SNI) is required.
static
SetCertificateHash(BindingSettings, byte[]) BindingSettings
Specifies the certificate has of the binding.
static
SetCertificateStoreName(BindingSettings, string) BindingSettings
Specifies the certificate store name of the binding.
static
SetHostName(BindingSettings, string) BindingSettings
Specifies the host name value of the binding.
static
SetIpAddress(BindingSettings, string) BindingSettings
Specifies the IP Address value of the binding.
static
SetPort(BindingSettings, int) BindingSettings
Specifies the port number of the binding.
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