Skip to content
Docs Try Aspire

EndpointProperty

Enum net8.0
📦 Aspire.Hosting v13.2.0
Represents the properties of an endpoint that can be referenced.
namespace Aspire.Hosting.ApplicationModel;
public enum EndpointProperty
Url = 0
The entire URL of the endpoint.
Host = 1
The host of the endpoint.
IPV4Host = 2
The IPv4 address of the endpoint.
Port = 3
The port of the endpoint.
Scheme = 4
The scheme of the endpoint.
TargetPort = 5
The target port of the endpoint.
HostAndPort = 6
The host and port of the endpoint in the format `{Host}:{Port}`.
TlsEnabled = 7
Whether TLS is enabled on the endpoint. Returns TrueString or FalseString.