BindingSettings Class

Summary

Class to configure any type of IIS binding (secure or not).
Assembly
Cake.IIS.dll
Namespace
Cake.IIS
Base Types
  • Object
Derived Types
graph BT Type-->Base0["Object"] Type["BindingSettings"] class Type type-node Derived0["HostBindingSettings"]-->Type click Derived0 "/api/Cake.IIS.Bindings/HostBindingSettings" Derived1["PortBindingSettings"]-->Type click Derived1 "/api/Cake.IIS.Bindings/PortBindingSettings"

Syntax

public class BindingSettings

Constructors

Name Summary
BindingSettings() Creates new instance of BindingSettings.
BindingSettings(BindingProtocol) Creates new instance of BindingSettings.

Properties

Name Value Summary
BindingInformation string
Gets IIS binding information
BindingProtocol BindingProtocol
Gets IIS binding type.
CertificateHash byte[]
Gets or sets hash for specific certificate.
CertificateStoreName string
Gets or sets the name of Certificate Store
HostName string
Gets or sets Host Name for binding
IpAddress string
Gets or sets IP Address
Port int
Gets or sets IP Port
RequireServerNameIndication bool
Gets or sets whether or not this binding requires Server Name Indication (SNI).

Extension Methods

Name Value Summary
Dump<BindingSettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<BindingSettings>(BindingSettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<BindingSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<BindingSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
RequireServerNameIndication(bool) BindingSettings
Specifies whether or not Server Name Indication (SNI) is required.
Requires the Cake.IIS addin
SetCertificateHash(byte[]) BindingSettings
Specifies the certificate has of the binding.
Requires the Cake.IIS addin
SetCertificateStoreName(string) BindingSettings
Specifies the certificate store name of the binding.
Requires the Cake.IIS addin
SetHostName(string) BindingSettings
Specifies the host name value of the binding.
Requires the Cake.IIS addin
SetIpAddress(string) BindingSettings
Specifies the IP Address value of the binding.
Requires the Cake.IIS addin
SetPort(int) BindingSettings
Specifies the port number of the binding.
Requires the Cake.IIS addin
ThrowIfNull<BindingSettings>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<BindingSettings>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin