Sad Tux - Windows bias detected
This page contains Windows bias

About This Page

This page is part of the Azure documentation. It contains code examples and configuration instructions for working with Azure services.

Bias Analysis

Detected Bias Types
windows_first
missing_linux_example
Summary
The documentation page exhibits a subtle Windows bias, particularly in its use of Windows-style file paths (e.g., 'C:/path/to/directory') in code examples and the absence of explicit Linux/macOS examples or notes. While the Data Movement library is cross-platform and the .NET SDK is available for multiple operating systems, the documentation does not provide Linux or macOS-specific guidance, examples, or file path conventions. There is also no mention of platform-specific considerations or differences, which may leave Linux users without clear guidance.
Recommendations
  • Provide code examples that use Linux/macOS-style file paths (e.g., '/home/user/path/to/directory') alongside or instead of Windows paths.
  • Explicitly state that the Data Movement library and examples work on Linux and macOS, and mention any platform-specific considerations if applicable.
  • Add a note or section in 'Set up your environment' clarifying cross-platform compatibility and how to adapt file paths for different operating systems.
  • Wherever file paths are shown, use a variable or placeholder (e.g., '<local-directory-path>') and provide both Windows and Linux/macOS examples.
  • If there are any known issues or differences in behavior on Linux/macOS, document them or link to relevant resources.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2026-01-14 00:00 #250 in_progress Clean Clean
2026-01-13 00:00 #246 completed Clean Clean
2026-01-11 00:00 #240 completed Clean Clean
2026-01-10 00:00 #237 completed Clean Clean
2026-01-09 00:34 #234 completed Clean Clean
2026-01-08 00:53 #231 completed Clean Clean
2026-01-06 18:15 #225 cancelled Clean Clean
2025-09-10 00:00 #107 completed Clean Clean
2025-09-09 00:00 #106 completed Clean Clean
2025-09-08 00:00 #105 completed Clean Clean
2025-09-07 00:00 #104 completed Clean Clean
2025-09-06 00:00 #103 completed Clean Clean
2025-09-05 00:00 #102 completed Clean Clean
2025-09-04 00:00 #101 completed Clean Clean
2025-09-03 00:00 #100 completed Clean Clean
2025-08-29 00:01 #95 completed Clean Clean
2025-08-22 00:01 #88 completed Clean Clean
2025-08-20 00:01 #86 completed Clean Clean
2025-08-19 00:01 #85 completed Clean Clean
2025-08-11 00:00 #77 completed Clean Clean
2025-08-10 00:00 #76 completed Clean Clean
2025-08-09 00:00 #75 completed Clean Clean
2025-08-08 00:00 #74 completed Clean Clean
2025-08-07 00:00 #73 completed Clean Clean
2025-08-06 00:00 #72 completed Clean Clean
2025-08-05 00:00 #71 completed Clean Clean
2025-08-03 00:00 #69 completed Clean Clean
2025-08-01 00:00 #67 completed Clean Clean
2025-07-31 00:00 #66 completed Clean Clean
2025-07-30 00:00 #65 completed Clean Clean
2025-07-29 00:01 #64 completed Clean Clean
2025-07-28 00:00 #63 completed Clean Clean
2025-07-27 00:00 #62 completed Clean Clean
2025-07-26 00:01 #61 completed Clean Clean
2025-07-25 00:00 #60 completed Clean Clean
2025-07-13 21:37 #48 completed Biased Biased
2025-07-12 23:44 #41 cancelled Biased Biased

Flagged Code Snippets

// Create a token credential
TokenCredential tokenCredential = new DefaultAzureCredential();

TransferManager transferManager = new(new TransferManagerOptions());

BlobsStorageResourceProvider blobsProvider = new(tokenCredential);

string localDirectoryPath = "C:/path/to/directory";
Uri blobContainerUri = new Uri("https://<storage-account-name>.blob.core.windows.net/sample-container");

TransferOperation transferOperation = await transferManager.StartTransferAsync(
    sourceResource: LocalFilesStorageResourceProvider.FromDirectory(localDirectoryPath),
    destinationResource: await blobsProvider.FromContainerAsync(blobContainerUri));
await transferOperation.WaitForCompletionAsync();