PortBindingSettings Class

Summary

Class to configure net.tcp binding.
Assembly
Cake.IIS.dll
Namespace
Cake.IIS.Bindings
Base Types
graph BT Type-->Base0["BindingSettings"] click Base0 "/api/Cake.IIS/BindingSettings" Base0-->Base1["Object"] Type["PortBindingSettings"] class Type type-node

Syntax

public class PortBindingSettings : BindingSettings

Constructors

Name Summary
PortBindingSettings(BindingProtocol) Creates new predefined instance of PortBindingSettings.

Properties

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

Extension Methods

Name Value Summary
Dump<PortBindingSettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<PortBindingSettings>(PortBindingSettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<PortBindingSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<PortBindingSettings>(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<PortBindingSettings>(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<PortBindingSettings>(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