15 references to WriteAllBytesAsync
aspire (1)
src\Shared\IntegrationPackageProbeManifest.cs (1)
173return File.WriteAllBytesAsync(path, stream.ToArray(), cancellationToken);
aspire-managed (1)
src\Shared\IntegrationPackageProbeManifest.cs (1)
173return File.WriteAllBytesAsync(path, stream.ToArray(), cancellationToken);
Aspire.Cli.Tests (10)
Agents\AspireSkillsInstallerTests.cs (3)
1479await File.WriteAllBytesAsync(archivePath, archiveBytes); 1508await File.WriteAllBytesAsync(archivePath, archiveBytes); 2286await File.WriteAllBytesAsync(archivePath, ArchiveBytes, cancellationToken);
Agents\PlaywrightCliInstallerTests.cs (5)
196await File.WriteAllBytesAsync(tarballPath, content); 242await File.WriteAllBytesAsync(tarballPath, content); 287await File.WriteAllBytesAsync(tarballPath, content); 331await File.WriteAllBytesAsync(tarballPath, content); 471await File.WriteAllBytesAsync(tarballPath, [10, 20, 30]);
Backchannel\AppHostCliBackchannelTests.cs (2)
35await File.WriteAllBytesAsync(tempFile, new byte[2048]); // 2 KB exceeds the 1 KB limit 70await File.WriteAllBytesAsync(tempFile, new byte[1024]); // 1 KB, below the 4 KB limit
Aspire.Hosting.RemoteHost (1)
src\Shared\IntegrationPackageProbeManifest.cs (1)
173return File.WriteAllBytesAsync(path, stream.ToArray(), cancellationToken);
Microsoft.Extensions.AI.Evaluation.Console (1)
Telemetry\TelemetryConstants.cs (1)
167await File.WriteAllBytesAsync(_firstUseSentinelFilePath, []).ConfigureAwait(false);
Microsoft.Extensions.AI.Evaluation.Reporting (1)
Storage\DiskBasedResponseCache.cs (1)
218await File.WriteAllBytesAsync(contentsFilePath, value, cancellationToken).ConfigureAwait(false);