21 writes to Channel
aspire (12)
Configuration\AspireConfigFile.cs (1)
416config.Channel = settings.Channel;
Program.cs (1)
186config.Channel = null;
Projects\GuestAppHostProject.cs (2)
1531config.Channel = explicitChannelName; 1569config.Channel = explicitChannelName;
Projects\ProjectUpdater.cs (1)
288configToSave.Channel = channel.Name;
Scaffolding\ScaffoldingService.cs (1)
114config.Channel = context.Channel;
Templating\CliTemplateFactory.EmptyTemplate.cs (1)
80config.Channel = inputs.Channel;
Templating\CliTemplateFactory.GoStarterTemplate.cs (1)
72config.Channel = inputs.Channel;
Templating\CliTemplateFactory.JavaStarterTemplate.cs (1)
73config.Channel = inputs.Channel;
Templating\CliTemplateFactory.PythonStarterTemplate.cs (1)
86config.Channel = inputs.Channel;
Templating\CliTemplateFactory.TypeScriptStarterTemplate.cs (1)
71config.Channel = inputs.Channel;
Templating\DotNetTemplateFactory.cs (1)
548config.Channel = selectedTemplateDetails.Channel.Name;
Aspire.Cli.Tests (9)
Configuration\AspireConfigFileTests.cs (1)
181Channel = "daily"
Configuration\DotNetBasedAppHostServerChannelResolutionTests.cs (2)
49config.Channel = "staging"; 94config.Channel = "staging";
Configuration\PrebuiltAppHostServerChannelResolutionTests.cs (2)
40config.Channel = "staging"; 84config.Channel = "staging";
Packaging\PackageChannelTests.cs (3)
435config.Channel = PackageChannelNames.Local; 750config.Channel = PackageChannelNames.Local; 781config.Channel = PackageChannelNames.Local;
Projects\PrebuiltAppHostServerTests.cs (1)
2298config.Channel = PackageChannelNames.Staging;
26 references to Channel
aspire (9)
Commands\InitCommand.cs (1)
718return AspireConfigFile.Load(directory.FullName)?.Channel;
Commands\IntegrationPackageSearchService.cs (1)
161return (AspireConfigFile.Load(appHostDirectory)?.Channel
Projects\DotNetBasedAppHostServerProject.cs (1)
329?? AspireConfigFile.Load(_appPath)?.Channel
Projects\GuestAppHostProject.cs (4)
310var (buildSuccess, buildOutput, _, _) = await PrepareAppHostServerAsync(appHostServerProject, sdkVersion, integrations, config.Channel, packageSourceOverride, cancellationToken); 437var (prepareSuccess, prepareOutput, channelName, needsCodeGen) = await PrepareAppHostServerAsync(appHostServerProject, sdkVersion, integrations, config.Channel, cancellationToken: cancellationToken); 1084var (prepareSuccess, prepareOutput, _, needsCodeGen) = await PrepareAppHostServerAsync(appHostServerProject, sdkVersion, integrations, config.Channel, cancellationToken: cancellationToken); 1525var explicitChannelChanged = explicitChannelName is not null && !string.Equals(config.Channel, explicitChannelName, StringComparisons.CliInputOrOutput);
Projects\PrebuiltAppHostServer.cs (1)
973var channelName = AspireConfigFile.Load(_appDirectoryPath)?.Channel
Utils\EnvironmentChecker\AspireVersionCheck.cs (1)
358var channel = config?.Channel;
Aspire.Cli.Tests (17)
Commands\NewCommandTemplateConfigPersistenceTests.cs (4)
309Assert.Equal(PrChannelName, csharpConfig.Channel); 320Assert.Equal(PrChannelName, config.Channel); 332Assert.Equal(PrChannelName, dotNetConfig.Channel); 405return config?.Channel;
Commands\NewCommandTests.cs (3)
157Assert.Equal(PackageChannelNames.Staging, config.Channel); 555Assert.Equal("pr-12345", config.Channel); 1993channelSeenByProject = config?.Channel;
Configuration\AspireConfigFileTests.cs (3)
38Assert.Equal("daily", result.Channel); 109Assert.Equal("stable", result.Channel); 170Assert.Null(result.Channel);
Configuration\ConfigurationServiceTests.cs (1)
341Assert.Equal("true", config.Channel);
Projects\GuestAppHostProjectTests.cs (5)
775Assert.Null(reloaded.Channel); 894Assert.Equal(PackageChannelNames.Staging, reloaded.Channel); 949Assert.Null(reloaded.Channel); 1000Assert.Equal(PackageChannelNames.Staging, reloaded.Channel); 1073Assert.Equal(seededChannel, reloaded.Channel);
Scaffolding\ChannelReseedTests.cs (1)
69Assert.Equal(expectedPersistedChannel, reloaded.Channel);