37 instantiations of LaunchProfile
Aspire.Hosting.Azure.Tests (11)
AzureContainerAppsTests.cs (1)
2506["funcapp"] = new()
AzureDeployerTests.cs (1)
1875["funcapp"] = new()
AzureFunctionsTests.cs (7)
791["funcapp"] = new() 808["funcapp"] = new() 825["funcapp"] = new() 842["funcapp"] = new() 858["funcapp"] = new() 875["funcapp"] = new() 892["funcapp"] = new()
AzureSandboxesTests.cs (1)
3404["http"] = new()
PublicApiTests\FunctionsPublicApiTests.cs (1)
273["funcapp"] = new()
Aspire.Hosting.Docker.Tests (2)
DockerComposePublisherTests.cs (2)
1349["https"] = new() 1359["http"] = new()
Aspire.Hosting.Kubernetes.Tests (2)
KubernetesPublisherTests.cs (2)
2425["https"] = new() 2435["http"] = new()
Aspire.Hosting.Tests (22)
Dcp\DcpExecutorTests.cs (7)
11694settings.Profiles["Foo"] = new LaunchProfile 11704settings.Profiles["http"] = new LaunchProfile 11726settings.Profiles["http"] = new LaunchProfile 11751settings.Profiles["Zed"] = new LaunchProfile { CommandName = "Project", ApplicationUrl = "http://localhost:6001" }; 11752settings.Profiles["Alpha"] = new LaunchProfile { CommandName = "Project", ApplicationUrl = "http://localhost:6002" }; 11753settings.Profiles["Beta"] = new LaunchProfile { CommandName = "Project", ApplicationUrl = "http://localhost:6003" }; 11771settings.Profiles["Aspire_TestFunction"] = new LaunchProfile
Dcp\ResourceSnapshotBuilderTests.cs (2)
339["https"] = new LaunchProfile 357["http"] = new LaunchProfile
KestrelConfigTests.cs (1)
381["OnlyHttp"] = new()
ProjectResourceTests.cs (9)
1171["http"] = new() 1192["https"] = new() 1213["https"] = new() 1234["IIS Express"] = new() 1240["ProjectProfile"] = new() 1255["IIS Express"] = new() 1261["Docker"] = new() 1276["IIS Express"] = new() 1282["Executable"] = new()
PublishAsDockerfileTests.cs (1)
531["https"] = new LaunchProfile
WithUrlsTests.cs (2)
1184["http"] = new() 1190["custom"] = new()
34 references to LaunchProfile
Aspire.Hosting (8)
ApplicationModel\ExecutableLaunchRecipe.cs (1)
914private static List<string> GetLaunchProfileArguments(LaunchProfile? launchProfile) =>
LaunchSettings.cs (1)
17public Dictionary<string, LaunchProfile> Profiles { get; set; } = [];
ProjectResourceBuilderExtensions.cs (1)
671var launchProfile = effectiveLaunchProfile?.LaunchProfile;
src\Shared\LaunchProfiles\LaunchProfileExtensions.cs (5)
41var launchProfile = projectResource.GetLaunchProfile(launchProfileName, throwIfNotFound); 50internal static LaunchProfile? GetLaunchProfile(this IResource projectResource, string launchProfileName, bool throwIfNotFound = false) 58var found = profiles.TryGetValue(launchProfileName, out var launchProfile); 161if (!launchSettings.Profiles.TryGetValue(appHostDefaultLaunchProfileName, out var launchProfile) || launchProfile is null) 205internal sealed record class NamedLaunchProfile(string Name, LaunchProfile LaunchProfile);
Aspire.Hosting.Azure.Functions (5)
src\Shared\LaunchProfiles\LaunchProfileExtensions.cs (5)
41var launchProfile = projectResource.GetLaunchProfile(launchProfileName, throwIfNotFound); 50internal static LaunchProfile? GetLaunchProfile(this IResource projectResource, string launchProfileName, bool throwIfNotFound = false) 58var found = profiles.TryGetValue(launchProfileName, out var launchProfile); 161if (!launchSettings.Profiles.TryGetValue(appHostDefaultLaunchProfileName, out var launchProfile) || launchProfile is null) 205internal sealed record class NamedLaunchProfile(string Name, LaunchProfile LaunchProfile);
Aspire.Hosting.Azure.Tests (10)
AzureContainerAppsTests.cs (1)
2504Profiles = new Dictionary<string, LaunchProfile>
AzureDeployerTests.cs (1)
1873Profiles = new Dictionary<string, LaunchProfile>
AzureFunctionsTests.cs (7)
789Profiles = new Dictionary<string, LaunchProfile> 806Profiles = new Dictionary<string, LaunchProfile> 823Profiles = new Dictionary<string, LaunchProfile> 840Profiles = new Dictionary<string, LaunchProfile> 856Profiles = new Dictionary<string, LaunchProfile> 873Profiles = new Dictionary<string, LaunchProfile> 890Profiles = new Dictionary<string, LaunchProfile>
PublicApiTests\FunctionsPublicApiTests.cs (1)
271Profiles = new Dictionary<string, LaunchProfile>
Aspire.Hosting.Docker.Tests (1)
DockerComposePublisherTests.cs (1)
1343public Dictionary<string, LaunchProfile>? Profiles { get; set; } = [];
Aspire.Hosting.Dotnet (6)
DotnetProjectHostingExtensions.cs (1)
434var launchProfile = resource.GetEffectiveLaunchProfile()?.LaunchProfile;
src\Shared\LaunchProfiles\LaunchProfileExtensions.cs (5)
41var launchProfile = projectResource.GetLaunchProfile(launchProfileName, throwIfNotFound); 50internal static LaunchProfile? GetLaunchProfile(this IResource projectResource, string launchProfileName, bool throwIfNotFound = false) 58var found = profiles.TryGetValue(launchProfileName, out var launchProfile); 161if (!launchSettings.Profiles.TryGetValue(appHostDefaultLaunchProfileName, out var launchProfile) || launchProfile is null) 205internal sealed record class NamedLaunchProfile(string Name, LaunchProfile LaunchProfile);
Aspire.Hosting.Kubernetes.Tests (1)
KubernetesPublisherTests.cs (1)
2419public Dictionary<string, LaunchProfile>? Profiles { get; set; } = [];
Aspire.Hosting.Testing (1)
DistributedApplicationFactory.cs (1)
282LaunchProfile? launchProfile;
Aspire.Hosting.Tests (2)
ProjectResourceTests.cs (1)
1155protected Dictionary<string, LaunchProfile>? Profiles { get; set; } = new();
WithUrlsTests.cs (1)
1182Profiles = new Dictionary<string, LaunchProfile>