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_tools
windows_first
missing_linux_example
Summary
The documentation page demonstrates a moderate Windows bias. While the main workflow uses Azure CLI (cross-platform), several sections reference Windows-centric tools (SQL Server Management Studio, Visual Studio, and Integrated Windows authentication) without mentioning Linux alternatives or giving parity to Linux workflows. The publishing instructions and local debugging guidance are focused on Visual Studio and Git Bash, omitting Linux-native editors and deployment methods. There are no explicit Linux or macOS examples for connecting to SQL Database, debugging, or publishing, and Windows tools are mentioned first or exclusively in some cases.
Recommendations
  • Include examples for connecting to Azure SQL Database using Linux-native tools such as Azure Data Studio, sqlcmd on Linux, or other cross-platform clients.
  • Add instructions for publishing code using Linux editors (e.g., VS Code on Linux, JetBrains Rider) and deployment via Azure CLI or Git from Linux/macOS terminals.
  • When referencing SQL Server Management Studio (SSMS), also mention Azure Data Studio as a cross-platform alternative.
  • Provide local debugging guidance for Linux and macOS environments, including how to obtain and use access tokens outside of Windows.
  • Avoid mentioning Windows authentication patterns unless directly relevant, and clarify differences for Linux users.
  • Ensure screenshots and step-by-step instructions are not Windows-specific, or provide Linux/macOS equivalents where appropriate.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2026-01-12 00:00 #99 completed Biased Biased
2026-01-11 06:20 #98 completed Clean Clean
2026-01-11 00:00 #95 cancelled Clean Clean
2026-01-10 00:00 #92 completed Clean Clean
2026-01-09 00:00 #87 cancelled Clean Clean
2026-01-06 22:28 #78 completed Clean Clean
2025-12-29 18:00 #48 cancelled Biased Biased
2025-12-22 00:00 #24 cancelled Clean Clean
2025-12-15 00:00 #7 completed Clean Clean
2025-12-14 05:05 #6 completed Clean Clean

Flagged Code Snippets

   public MyDatabaseContext (DbContextOptions<MyDatabaseContext> options, IHttpContextAccessor accessor)
       : base(options)
   {
       var conn = Database.GetDbConnection() as SqlConnection;
       conn.AccessToken = accessor.HttpContext.Request.Headers["X-MS-TOKEN-AAD-ACCESS-TOKEN"];
   }