23 instantiations of LaunchProfile
Aspire.Hosting.Azure.Tests (10)
AzureContainerAppsTests.cs (1)
1715["funcapp"] = new()
AzureDeployerTests.cs (1)
710["funcapp"] = new()
AzureFunctionsTests.cs (7)
429["funcapp"] = new() 446["funcapp"] = new() 463["funcapp"] = new() 480["funcapp"] = new() 496["funcapp"] = new() 513["funcapp"] = new() 530["funcapp"] = new()
PublicApiTests\FunctionsPublicApiTests.cs (1)
104["funcapp"] = new()
Aspire.Hosting.Docker.Tests (2)
DockerComposePublisherTests.cs (2)
524["https"] = new() 534["http"] = new()
Aspire.Hosting.Tests (11)
Dcp\DcpExecutorTests.cs (5)
1745settings.Profiles["Foo"] = new LaunchProfile 1755settings.Profiles["http"] = new LaunchProfile 1784settings.Profiles["Zed"] = new LaunchProfile { CommandName = "Project", ApplicationUrl = "http://localhost:6001" }; 1785settings.Profiles["Alpha"] = new LaunchProfile { CommandName = "Project", ApplicationUrl = "http://localhost:6002" }; 1786settings.Profiles["Beta"] = new LaunchProfile { CommandName = "Project", ApplicationUrl = "http://localhost:6003" };
KestrelConfigTests.cs (1)
386["OnlyHttp"] = new()
ProjectResourceTests.cs (3)
702["http"] = new() 723["https"] = new() 744["https"] = new()
WithUrlsTests.cs (2)
866["http"] = new() 872["custom"] = new()
27 references to LaunchProfile
Aspire.Hosting (8)
Dcp\DcpExecutor.cs (1)
1310private static List<string> GetLaunchProfileArgs(LaunchProfile? launchProfile)
LaunchSettings.cs (1)
17public Dictionary<string, LaunchProfile> Profiles { get; set; } = [];
ProjectResourceBuilderExtensions.cs (1)
344var launchProfile = effectiveLaunchProfile?.LaunchProfile;
src\Shared\LaunchProfiles\LaunchProfileExtensions.cs (5)
39var launchProfile = projectResource.GetLaunchProfile(launchProfileName, throwIfNotFound); 48internal static LaunchProfile? GetLaunchProfile(this ProjectResource projectResource, string launchProfileName, bool throwIfNotFound = false) 56var found = profiles.TryGetValue(launchProfileName, out var launchProfile); 145if (!launchSettings.Profiles.TryGetValue(appHostDefaultLaunchProfileName, out var launchProfile) || launchProfile is null) 189internal sealed record class NamedLaunchProfile(string Name, LaunchProfile LaunchProfile);
Aspire.Hosting.Azure.Functions (5)
src\Shared\LaunchProfiles\LaunchProfileExtensions.cs (5)
39var launchProfile = projectResource.GetLaunchProfile(launchProfileName, throwIfNotFound); 48internal static LaunchProfile? GetLaunchProfile(this ProjectResource projectResource, string launchProfileName, bool throwIfNotFound = false) 56var found = profiles.TryGetValue(launchProfileName, out var launchProfile); 145if (!launchSettings.Profiles.TryGetValue(appHostDefaultLaunchProfileName, out var launchProfile) || launchProfile is null) 189internal sealed record class NamedLaunchProfile(string Name, LaunchProfile LaunchProfile);
Aspire.Hosting.Azure.Tests (10)
AzureContainerAppsTests.cs (1)
1713Profiles = new Dictionary<string, LaunchProfile>
AzureDeployerTests.cs (1)
708Profiles = new Dictionary<string, LaunchProfile>
AzureFunctionsTests.cs (7)
427Profiles = new Dictionary<string, LaunchProfile> 444Profiles = new Dictionary<string, LaunchProfile> 461Profiles = new Dictionary<string, LaunchProfile> 478Profiles = new Dictionary<string, LaunchProfile> 494Profiles = new Dictionary<string, LaunchProfile> 511Profiles = new Dictionary<string, LaunchProfile> 528Profiles = new Dictionary<string, LaunchProfile>
PublicApiTests\FunctionsPublicApiTests.cs (1)
102Profiles = new Dictionary<string, LaunchProfile>
Aspire.Hosting.Docker.Tests (1)
DockerComposePublisherTests.cs (1)
518public Dictionary<string, LaunchProfile>? Profiles { get; set; } = [];
Aspire.Hosting.Testing (1)
DistributedApplicationFactory.cs (1)
277LaunchProfile? launchProfile;
Aspire.Hosting.Tests (2)
ProjectResourceTests.cs (1)
686protected Dictionary<string, LaunchProfile>? Profiles { get; set; } = new();
WithUrlsTests.cs (1)
864Profiles = new Dictionary<string, LaunchProfile>