Skip to content
Docs Try Aspire

EndpointProperty

Enum net10.0
📦 Aspire.Hosting v13.1.2
Represents the properties of an endpoint that can be referenced.
namespace Aspire.Hosting.ApplicationModel;
public sealed 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}`.