37 instantiations of LaunchProfile
Aspire.Hosting.Azure.Tests (11)
AzureContainerAppsTests.cs (1)
2443["funcapp"] = new()
AzureDeployerTests.cs (1)
1630["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()
AzureSandboxesTests.cs (1)
3331["http"] = new()
PublicApiTests\FunctionsPublicApiTests.cs (1)
104["funcapp"] = new()
Aspire.Hosting.Docker.Tests (2)
DockerComposePublisherTests.cs (2)
1286["https"] = new() 1296["http"] = new()
Aspire.Hosting.Kubernetes.Tests (2)
KubernetesPublisherTests.cs (2)
2143["https"] = new() 2153["http"] = new()
Aspire.Hosting.Tests (22)
Dcp\DcpExecutorTests.cs (7)
10468settings.Profiles["Foo"] = new LaunchProfile 10478settings.Profiles["http"] = new LaunchProfile 10500settings.Profiles["http"] = new LaunchProfile 10525settings.Profiles["Zed"] = new LaunchProfile { CommandName = "Project", ApplicationUrl = "http://localhost:6001" }; 10526settings.Profiles["Alpha"] = new LaunchProfile { CommandName = "Project", ApplicationUrl = "http://localhost:6002" }; 10527settings.Profiles["Beta"] = new LaunchProfile { CommandName = "Project", ApplicationUrl = "http://localhost:6003" }; 10545settings.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)
1084["http"] = new() 1105["https"] = new() 1126["https"] = new() 1147["IIS Express"] = new() 1153["ProjectProfile"] = new() 1168["IIS Express"] = new() 1174["Docker"] = new() 1189["IIS Express"] = new() 1195["Executable"] = new()
PublishAsDockerfileTests.cs (1)
533["https"] = new LaunchProfile
WithUrlsTests.cs (2)
1077["http"] = new() 1083["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)
639var 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)
2441Profiles = new Dictionary<string, LaunchProfile>
AzureDeployerTests.cs (1)
1628Profiles = 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)
1280public Dictionary<string, LaunchProfile>? Profiles { get; set; } = [];
Aspire.Hosting.Dotnet (6)
DotnetProjectHostingExtensions.cs (1)
385var 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)
2137public Dictionary<string, LaunchProfile>? Profiles { get; set; } = [];
Aspire.Hosting.Testing (1)
DistributedApplicationFactory.cs (1)
282LaunchProfile? launchProfile;
Aspire.Hosting.Tests (2)
ProjectResourceTests.cs (1)
1068protected Dictionary<string, LaunchProfile>? Profiles { get; set; } = new();
WithUrlsTests.cs (1)
1075Profiles = new Dictionary<string, LaunchProfile>