32 instantiations of LaunchProfile
Aspire.Hosting.Azure.Tests (10)
AzureContainerAppsTests.cs (1)
1862["funcapp"] = new()
AzureDeployerTests.cs (1)
1386["funcapp"] = new()
AzureFunctionsTests.cs (7)
468["funcapp"] = new() 485["funcapp"] = new() 502["funcapp"] = new() 519["funcapp"] = new() 535["funcapp"] = new() 552["funcapp"] = new() 569["funcapp"] = new()
PublicApiTests\FunctionsPublicApiTests.cs (1)
104["funcapp"] = new()
Aspire.Hosting.Docker.Tests (2)
DockerComposePublisherTests.cs (2)
1049["https"] = new() 1059["http"] = new()
Aspire.Hosting.Kubernetes.Tests (2)
KubernetesPublisherTests.cs (2)
648["https"] = new() 658["http"] = new()
Aspire.Hosting.Tests (18)
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" };
KestrelConfigTests.cs (1)
381["OnlyHttp"] = new()
ProjectResourceTests.cs (9)
978["http"] = new() 999["https"] = new() 1020["https"] = new() 1041["IIS Express"] = new() 1047["ProjectProfile"] = new() 1062["IIS Express"] = new() 1068["Docker"] = new() 1083["IIS Express"] = new() 1089["Executable"] = new()
PublishAsDockerfileTests.cs (1)
472["https"] = new LaunchProfile
WithUrlsTests.cs (2)
1016["http"] = new() 1022["custom"] = new()
28 references to LaunchProfile
Aspire.Hosting (8)
Dcp\DcpExecutor.cs (1)
1955private static List<string> GetLaunchProfileArgs(LaunchProfile? launchProfile)
LaunchSettings.cs (1)
17public Dictionary<string, LaunchProfile> Profiles { get; set; } = [];
ProjectResourceBuilderExtensions.cs (1)
496var launchProfile = effectiveLaunchProfile?.LaunchProfile;
src\Shared\LaunchProfiles\LaunchProfileExtensions.cs (5)
42var launchProfile = projectResource.GetLaunchProfile(launchProfileName, throwIfNotFound); 51internal static LaunchProfile? GetLaunchProfile(this ProjectResource projectResource, string launchProfileName, bool throwIfNotFound = false) 59var found = profiles.TryGetValue(launchProfileName, out var launchProfile); 174if (!launchSettings.Profiles.TryGetValue(appHostDefaultLaunchProfileName, out var launchProfile) || launchProfile is null) 218internal sealed record class NamedLaunchProfile(string Name, LaunchProfile LaunchProfile);
Aspire.Hosting.Azure.Functions (5)
src\Shared\LaunchProfiles\LaunchProfileExtensions.cs (5)
42var launchProfile = projectResource.GetLaunchProfile(launchProfileName, throwIfNotFound); 51internal static LaunchProfile? GetLaunchProfile(this ProjectResource projectResource, string launchProfileName, bool throwIfNotFound = false) 59var found = profiles.TryGetValue(launchProfileName, out var launchProfile); 174if (!launchSettings.Profiles.TryGetValue(appHostDefaultLaunchProfileName, out var launchProfile) || launchProfile is null) 218internal sealed record class NamedLaunchProfile(string Name, LaunchProfile LaunchProfile);
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)
1043public Dictionary<string, LaunchProfile>? Profiles { get; set; } = [];
Aspire.Hosting.Kubernetes.Tests (1)
KubernetesPublisherTests.cs (1)
642public Dictionary<string, LaunchProfile>? Profiles { get; set; } = [];
Aspire.Hosting.Testing (1)
DistributedApplicationFactory.cs (1)
277LaunchProfile? launchProfile;
Aspire.Hosting.Tests (2)
ProjectResourceTests.cs (1)
962protected Dictionary<string, LaunchProfile>? Profiles { get; set; } = new();
WithUrlsTests.cs (1)
1014Profiles = new Dictionary<string, LaunchProfile>