Skip to content
DocsTry Aspire
DocsTry

KnownNetworkIdentifiers Fields

ClassFields3 members
Provides known network identifiers for use within the Aspire application model API.
DefaultAspireContainerNetworkSection titled DefaultAspireContainerNetworkstaticreadonlyNetworkIdentifier
Represents Aspire default, auto-created container network resource (not actual Docker/Podman network).
public static readonly NetworkIdentifier DefaultAspireContainerNetwork
The network associated with the IP loopback interface (localhost).
public static readonly NetworkIdentifier LocalhostNetwork
Represents public Internet (globally routable).
public static readonly NetworkIdentifier PublicInternet