25 instantiations of GatewayAppRegistration
Aspire.Hosting.Blazor (1)
BlazorGatewayExtensions.cs (1)
314var registration = new GatewayAppRegistration(wasmApp, pathPrefix, services, apiPrefix, otlpPrefix, proxyTelemetry);
Aspire.Hosting.Blazor.Tests (24)
EndpointsManifestTransformerTests.cs (4)
186new(new GatewayAppRegistration(storeApp, "store", Array.Empty<GatewayAppService>()), app1Path, app1Path), 187new(new GatewayAppRegistration(adminApp, "admin", Array.Empty<GatewayAppService>()), app2Path, app2Path) 250new(new GatewayAppRegistration(storeApp, "store", Array.Empty<GatewayAppService>()), app1Path, app1Path), 251new(new GatewayAppRegistration(adminApp, "admin", Array.Empty<GatewayAppService>()), app2Path, app2Path)
GatewayConfigurationBuilderTests.cs (20)
21var registration = new GatewayAppRegistration(wasmApp, "store", Svc("weatherapi")); 44var registration = new GatewayAppRegistration(wasmApp, "store", Svc("weatherapi")); 66var registration = new GatewayAppRegistration(wasmApp, "store", [svc]); 93var registration = new GatewayAppRegistration(wasmApp, "store", [svc]); 119var registration = new GatewayAppRegistration(wasmApp, "store", Svc("weatherapi")); 139var registration = new GatewayAppRegistration(wasmApp, "store", Svc()); 164new(storeApp, "store", Svc("weatherapi")), 165new(adminApp, "admin", Svc("weatherapi")) 190var registration = new GatewayAppRegistration(wasmApp, "store", Svc("weatherapi", "catalogapi")); 213var registration = new GatewayAppRegistration(wasmApp, "store", Svc()); 245var registration = new GatewayAppRegistration(wasmApp, "store", Svc()); 266var registration = new GatewayAppRegistration(wasmApp, "store", Svc("weatherapi")); 292var registration = new GatewayAppRegistration(wasmApp, "store", Svc("weatherapi")); 316var registration = new GatewayAppRegistration(wasmApp, "store", Svc(), ProxyBlazorTelemetry: false); 339var registration = new GatewayAppRegistration(wasmApp, "store", Svc("weatherapi")); 364var registration = new GatewayAppRegistration(wasmApp, "store", Svc("weatherapi"), ApiPrefix: "myapi", OtlpPrefix: "myotlp"); 394new(storeApp, "store", Svc("weatherapi", "catalogapi")), 395new(adminApp, "admin", Svc("weatherapi", "usersapi")) 454var registration = new GatewayAppRegistration(wasmApp, "store", Svc("weatherapi")); 483var registration = new GatewayAppRegistration(wasmApp, "store", Svc());
50 references to GatewayAppRegistration
Aspire.Hosting.Blazor (14)
BlazorGatewayExtensions.cs (8)
314var registration = new GatewayAppRegistration(wasmApp, pathPrefix, services, apiPrefix, otlpPrefix, proxyTelemetry); 436foreach (var reg in registeredApps) 455List<GatewayAppRegistration> apps, 459foreach (var reg in apps) 471List<GatewayAppRegistration> apps, ILogger logger, CancellationToken ct) 475foreach (var reg in apps) 504var reg = manifest.Registration; 699private static List<GatewayAppRegistration> GetRegisteredApps(IResource resource)
GatewayConfigurationBuilder.cs (2)
23List<GatewayAppRegistration> apps, 32foreach (var reg in apps)
Manifests\AppManifestPaths.cs (2)
6internal readonly struct AppManifestPaths(GatewayAppRegistration registration, string endpointsManifest, string runtimeManifest) 8public GatewayAppRegistration Registration { get; } = registration;
Manifests\EndpointsManifestTransformer.cs (1)
84var reg = manifest.Registration;
Resources\GatewayAppsAnnotation.cs (1)
14public List<GatewayAppRegistration> Apps { get; } = [];
Aspire.Hosting.Blazor.Tests (36)
GatewayConfigurationBuilderTests.cs (34)
21var registration = new GatewayAppRegistration(wasmApp, "store", Svc("weatherapi")); 22var apps = new List<GatewayAppRegistration> { registration }; 44var registration = new GatewayAppRegistration(wasmApp, "store", Svc("weatherapi")); 45var apps = new List<GatewayAppRegistration> { registration }; 66var registration = new GatewayAppRegistration(wasmApp, "store", [svc]); 67var apps = new List<GatewayAppRegistration> { registration }; 93var registration = new GatewayAppRegistration(wasmApp, "store", [svc]); 94var apps = new List<GatewayAppRegistration> { registration }; 119var registration = new GatewayAppRegistration(wasmApp, "store", Svc("weatherapi")); 120var apps = new List<GatewayAppRegistration> { registration }; 139var registration = new GatewayAppRegistration(wasmApp, "store", Svc()); 140var apps = new List<GatewayAppRegistration> { registration }; 162var apps = new List<GatewayAppRegistration> 190var registration = new GatewayAppRegistration(wasmApp, "store", Svc("weatherapi", "catalogapi")); 191var apps = new List<GatewayAppRegistration> { registration }; 213var registration = new GatewayAppRegistration(wasmApp, "store", Svc()); 214var apps = new List<GatewayAppRegistration> { registration }; 245var registration = new GatewayAppRegistration(wasmApp, "store", Svc()); 246var apps = new List<GatewayAppRegistration> { registration }; 266var registration = new GatewayAppRegistration(wasmApp, "store", Svc("weatherapi")); 267var apps = new List<GatewayAppRegistration> { registration }; 292var registration = new GatewayAppRegistration(wasmApp, "store", Svc("weatherapi")); 293var apps = new List<GatewayAppRegistration> { registration }; 316var registration = new GatewayAppRegistration(wasmApp, "store", Svc(), ProxyBlazorTelemetry: false); 317var apps = new List<GatewayAppRegistration> { registration }; 339var registration = new GatewayAppRegistration(wasmApp, "store", Svc("weatherapi")); 340var apps = new List<GatewayAppRegistration> { registration }; 364var registration = new GatewayAppRegistration(wasmApp, "store", Svc("weatherapi"), ApiPrefix: "myapi", OtlpPrefix: "myotlp"); 365var apps = new List<GatewayAppRegistration> { registration }; 392var apps = new List<GatewayAppRegistration> 454var registration = new GatewayAppRegistration(wasmApp, "store", Svc("weatherapi")); 455var apps = new List<GatewayAppRegistration> { registration }; 483var registration = new GatewayAppRegistration(wasmApp, "store", Svc()); 484var apps = new List<GatewayAppRegistration> { registration };
WithBlazorAppTests.cs (2)
438var registration = Assert.Single(annotation.Apps); 479var registration = Assert.Single(annotation.Apps);