15 writes to Profiles
Aspire.Hosting.Azure.Tests (10)
AzureContainerAppsTests.cs (1)
1860Profiles = new Dictionary<string, LaunchProfile>
AzureDeployerTests.cs (1)
1384Profiles = new Dictionary<string, LaunchProfile>
AzureFunctionsTests.cs (7)
466Profiles = new Dictionary<string, LaunchProfile> 483Profiles = new Dictionary<string, LaunchProfile> 500Profiles = new Dictionary<string, LaunchProfile> 517Profiles = new Dictionary<string, LaunchProfile> 533Profiles = new Dictionary<string, LaunchProfile> 550Profiles = new Dictionary<string, LaunchProfile> 567Profiles = new Dictionary<string, LaunchProfile>
PublicApiTests\FunctionsPublicApiTests.cs (1)
102Profiles = new Dictionary<string, LaunchProfile>
Aspire.Hosting.Docker.Tests (1)
DockerComposePublisherTests.cs (1)
1045public LaunchSettings? LaunchSettings => new() { Profiles = Profiles! };
Aspire.Hosting.Kubernetes.Tests (1)
KubernetesPublisherTests.cs (1)
644public LaunchSettings? LaunchSettings => new() { Profiles = Profiles! };
Aspire.Hosting.Tests (3)
ProjectResourceTests.cs (1)
966public LaunchSettings? LaunchSettings => new LaunchSettings { Profiles = Profiles! };
PublishAsDockerfileTests.cs (1)
470Profiles = new()
WithUrlsTests.cs (1)
1014Profiles = new Dictionary<string, LaunchProfile>
14 references to Profiles
Aspire.Hosting (4)
src\Shared\LaunchProfiles\LaunchProfileExtensions.cs (4)
53var profiles = projectResource.GetLaunchSettings()?.Profiles; 138if (launchSettings == null || launchSettings.Profiles.Count == 0) 145foreach (var (profileName, profile) in launchSettings.Profiles) 174if (!launchSettings.Profiles.TryGetValue(appHostDefaultLaunchProfileName, out var launchProfile) || launchProfile is null)
Aspire.Hosting.Azure.Functions (4)
src\Shared\LaunchProfiles\LaunchProfileExtensions.cs (4)
53var profiles = projectResource.GetLaunchSettings()?.Profiles; 138if (launchSettings == null || launchSettings.Profiles.Count == 0) 145foreach (var (profileName, profile) in launchSettings.Profiles) 174if (!launchSettings.Profiles.TryGetValue(appHostDefaultLaunchProfileName, out var launchProfile) || launchProfile is null)
Aspire.Hosting.Testing (1)
DistributedApplicationFactory.cs (1)
276var launchProfiles = appHostLaunchSettings.Profiles;
Aspire.Hosting.Tests (5)
Dcp\DcpExecutorTests.cs (5)
2636settings.Profiles["Foo"] = new LaunchProfile 2646settings.Profiles["http"] = new LaunchProfile 2675settings.Profiles["Zed"] = new LaunchProfile { CommandName = "Project", ApplicationUrl = "http://localhost:6001" }; 2676settings.Profiles["Alpha"] = new LaunchProfile { CommandName = "Project", ApplicationUrl = "http://localhost:6002" }; 2677settings.Profiles["Beta"] = new LaunchProfile { CommandName = "Project", ApplicationUrl = "http://localhost:6003" };