32 instantiations of LaunchProfile
Aspire.Hosting.Azure.Tests (10)
AzureContainerAppsTests.cs (1)
1847["funcapp"] = new()
AzureDeployerTests.cs (1)
1368["funcapp"] = new()
AzureFunctionsTests.cs (7)
436["funcapp"] = new() 453["funcapp"] = new() 470["funcapp"] = new() 487["funcapp"] = new() 503["funcapp"] = new() 520["funcapp"] = new() 537["funcapp"] = new()
PublicApiTests\FunctionsPublicApiTests.cs (1)
104["funcapp"] = new()
Aspire.Hosting.Docker.Tests (2)
DockerComposePublisherTests.cs (2)
963["https"] = new() 973["http"] = new()
Aspire.Hosting.Kubernetes.Tests (2)
KubernetesPublisherTests.cs (2)
467["https"] = new() 477["http"] = new()
Aspire.Hosting.Tests (18)
Dcp\DcpExecutorTests.cs (5)
2396settings.Profiles["Foo"] = new LaunchProfile 2406settings.Profiles["http"] = new LaunchProfile 2435settings.Profiles["Zed"] = new LaunchProfile { CommandName = "Project", ApplicationUrl = "http://localhost:6001" }; 2436settings.Profiles["Alpha"] = new LaunchProfile { CommandName = "Project", ApplicationUrl = "http://localhost:6002" }; 2437settings.Profiles["Beta"] = new LaunchProfile { CommandName = "Project", ApplicationUrl = "http://localhost:6003" };
KestrelConfigTests.cs (1)
380["OnlyHttp"] = new()
ProjectResourceTests.cs (9)
977["http"] = new() 998["https"] = new() 1019["https"] = new() 1040["IIS Express"] = new() 1046["ProjectProfile"] = new() 1061["IIS Express"] = new() 1067["Docker"] = new() 1082["IIS Express"] = new() 1088["Executable"] = new()
PublishAsDockerfileTests.cs (1)
471["https"] = new LaunchProfile
WithUrlsTests.cs (2)
1015["http"] = new() 1021["custom"] = new()
28 references to LaunchProfile
Aspire.Hosting (8)
Dcp\DcpExecutor.cs (1)
1898private static List<string> GetLaunchProfileArgs(LaunchProfile? launchProfile)
LaunchSettings.cs (1)
17public Dictionary<string, LaunchProfile> Profiles { get; set; } = [];
ProjectResourceBuilderExtensions.cs (1)
479var 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)
1845Profiles = new Dictionary<string, LaunchProfile>
AzureDeployerTests.cs (1)
1366Profiles = new Dictionary<string, LaunchProfile>
AzureFunctionsTests.cs (7)
434Profiles = new Dictionary<string, LaunchProfile> 451Profiles = new Dictionary<string, LaunchProfile> 468Profiles = new Dictionary<string, LaunchProfile> 485Profiles = new Dictionary<string, LaunchProfile> 501Profiles = new Dictionary<string, LaunchProfile> 518Profiles = new Dictionary<string, LaunchProfile> 535Profiles = new Dictionary<string, LaunchProfile>
PublicApiTests\FunctionsPublicApiTests.cs (1)
102Profiles = new Dictionary<string, LaunchProfile>
Aspire.Hosting.Docker.Tests (1)
DockerComposePublisherTests.cs (1)
957public Dictionary<string, LaunchProfile>? Profiles { get; set; } = [];
Aspire.Hosting.Kubernetes.Tests (1)
KubernetesPublisherTests.cs (1)
461public Dictionary<string, LaunchProfile>? Profiles { get; set; } = [];
Aspire.Hosting.Testing (1)
DistributedApplicationFactory.cs (1)
277LaunchProfile? launchProfile;
Aspire.Hosting.Tests (2)
ProjectResourceTests.cs (1)
961protected Dictionary<string, LaunchProfile>? Profiles { get; set; } = new();
WithUrlsTests.cs (1)
1013Profiles = new Dictionary<string, LaunchProfile>