This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.IIS.
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 |
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
|
Require |
bool |
Gets or sets whether or not this binding requires Server Name Indication (SNI).
|
Extension Methods
Name | Value | Summary |
---|---|---|
Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
Require |
BindingSettings |
Specifies whether or not Server Name Indication (SNI) is required.
From BindingExtensions
Requires the Cake.IIS addin
|
SetCertificateHash |
BindingSettings |
Specifies the certificate has of the binding.
From BindingExtensions
Requires the Cake.IIS addin
|
Set |
BindingSettings |
Specifies the certificate store name of the binding.
From BindingExtensions
Requires the Cake.IIS addin
|
SetHostName |
BindingSettings |
Specifies the host name value of the binding.
From BindingExtensions
Requires the Cake.IIS addin
|
SetIpAddress |
BindingSettings |
Specifies the IP Address value of the binding.
From BindingExtensions
Requires the Cake.IIS addin
|
SetPort |
BindingSettings |
Specifies the port number of the binding.
From BindingExtensions
Requires the Cake.IIS addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
Returns the string value or a
Not set > markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|