HostUrl Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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