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
protected HostUrl (Aspire.Hosting.ApplicationModel.HostUrl original);
Protected Sub New (original As HostUrl)
Parameters
- original
- HostUrl
Applies to
HostUrl(String)
- 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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for