Partilhar via


HostUrl Constructors

Definition

Overloads

HostUrl(HostUrl)
HostUrl(String)

Represents a URL on the host machine. When referenced in a container resource, localhost will be replaced with the configured container host name.

HostUrl(HostUrl)

Source:
HostUrl.cs
Source:
HostUrl.cs
protected HostUrl (Aspire.Hosting.ApplicationModel.HostUrl original);
Protected Sub New (original As HostUrl)

Parameters

original
HostUrl

Applies to

HostUrl(String)

Source:
HostUrl.cs
Source:
HostUrl.cs

Represents a URL on the host machine. When referenced in a container resource, localhost will be replaced with the configured container host name.

public HostUrl (string Url);
new Aspire.Hosting.ApplicationModel.HostUrl : string -> Aspire.Hosting.ApplicationModel.HostUrl
Public Sub New (Url As String)

Parameters

Url
String

Applies to