net11.0
namespace Aspire.Hosting.Testing
{
    public static class DistributedApplicationHostingTestingExtensions
    {
        [AspireExportIgnore(Reason = "Use the ATS-friendly overload that accepts a network identifier string.")]
        public static Uri! GetEndpointForNetwork(this DistributedApplication! app, string! resourceName, NetworkIdentifier? networkIdentifier, string? endpointName = null);
    }
}
.NET
8.09.010.011.0
Information specific to net11.0
Assemblies

Aspire.Hosting.Testing , Version=13.3.0.0, PublicKeyToken=cc7b13ffcd2ddd51

Aspire.Hosting.Testing , Version=13.2.0.0, PublicKeyToken=cc7b13ffcd2ddd51

Referencing

Your project needs a package reference to Aspire.Hosting.Testing.

Package Aspire.Hosting.Testing (13.3.0-preview.1.26179.1) net10.0
Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API