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

Bias Types:
⚠️ windows_tools
⚠️ windows_first
⚠️ missing_linux_example
Summary:
The documentation page exhibits a Windows bias primarily through the exclusive use of Windows-style file paths (e.g., c:\data\import) in configuration examples, references to Windows-specific .NET APIs (such as WinHttpHandler and ServicePointManager), and the absence of explicit Linux or cross-platform command-line or file path examples. There are no mentions of Linux-specific tools, shell commands, or file system conventions, and all examples assume a Windows environment by default.
Recommendations:
  • Provide Linux and macOS equivalents for all file path examples (e.g., use /home/user/data/import alongside c:\data\import).
  • When referencing .NET APIs that have platform-specific behavior (like WinHttpHandler or ServicePointManager), clarify their cross-platform compatibility or provide alternatives for Linux environments.
  • Include notes or examples for setting environment variables and configuration files using Linux/macOS shell syntax (e.g., export VAR=value, or editing ~/.bashrc).
  • Explicitly state that the SDK and its configuration are cross-platform, and provide guidance for running and debugging WebJobs on Linux/macOS.
  • Where relevant, mention any differences in behavior or limitations when running on non-Windows platforms.
GitHub Create pull request

Scan History

Date Scan ID Status Bias Status
2025-09-10 00:00 #107 completed ✅ Clean
2025-08-17 00:01 #83 in_progress ✅ Clean
2025-07-13 21:37 #48 completed ❌ Biased
2025-07-09 13:09 #3 cancelled ✅ Clean
2025-07-08 04:23 #2 cancelled ✅ Clean

Flagged Code Snippets

{ "AzureWebJobsStorage": { "blobServiceUri": "https://<storage_account_name>.blob.core.windows.net", "queueServiceUri": "https://<storage_account_name>.queue.core.windows.net" } }
static void Main() { config = new JobHostConfiguration(); var filesConfig = new FilesConfiguration { RootPath = @"c:\data\import" }; config.UseFiles(filesConfig); var host = new JobHost(config); host.RunAndBlock(); }