Skip to content
DocsTry Aspire
DocsTry

EndpointBindingMode

Enumnet8.0
📦 Aspire.Hosting v13.4.0
Specifies how an endpoint is bound to network addresses.
namespace Aspire.Hosting.ApplicationModel;
public enum EndpointBindingMode
SingleAddress= 0
The endpoint is bound to a specific address.
DualStackAnyAddresses= 1
The endpoint is bound to all addresses.
IPv4AnyAddresses= 2
The endpoint is bound to all IPv4 addresses.
IPv6AnyAddresses= 3
The endpoint is bound to all IPv6 addresses.