BindingExtensions.

SetHostName(BindingSettings, string) Method

Summary

Specifies the host name value of the binding.
Assembly
Cake.IIS.dll
Namespace
Cake.IIS
Containing Type
BindingExtensions

Syntax

public static BindingSettings SetHostName(this BindingSettings binding, string hostName)

Parameters

Name Type Description
binding BindingSettings The binding.
hostName string The Host Name.

Return Value

Type Description
BindingSettings The same BindingSettings instance so that multiple calls can be chained.