Skip to content
Docs Try Aspire

KnownNetworkIdentifiers Fields

Class Fields 3 members
Provides known network identifiers for use within the Aspire application model API.
DefaultAspireContainerNetwork Section titled DefaultAspireContainerNetwork staticreadonly NetworkIdentifier
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