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
windows_tools
Summary
The documentation provides deployment examples for multiple platforms and languages. However, for the ASP.NET (classic) tab, the example exclusively uses a Windows runner (runs-on: windows-latest) and Windows-specific tools (NuGet, MSBuild with Windows path syntax), without offering a Linux-based alternative. In contrast, all other language tabs (including ASP.NET Core) use Ubuntu runners and cross-platform tooling. The ASP.NET example is also presented before the Java, Node.js, and Python examples, reinforcing a 'windows_first' bias for .NET technologies.
Recommendations
  • Provide a Linux-based example for ASP.NET (classic) using Mono or .NET Core-compatible tooling if possible, or clarify that Windows is required and explain why.
  • If Windows is required for ASP.NET (classic), explicitly state this in the documentation to avoid confusion.
  • Consider reordering or grouping examples so that Windows-specific instructions do not appear to be the default or primary approach.
  • Where possible, mention cross-platform alternatives to Windows tools (e.g., dotnet CLI instead of MSBuild/NuGet) or explain the platform limitations.
  • Ensure parity in detail and clarity across all language/platform tabs, so Linux users do not feel secondary.
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-12 00:00 #243 cancelled 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-08 00:00 #228 cancelled Clean Clean
2026-01-06 18:15 #225 cancelled Clean Clean
2025-09-16 00:00 #113 completed Biased Biased
2025-08-16 00:00 #82 cancelled Biased Biased
2025-08-15 00:01 #81 cancelled Clean Clean
2025-07-13 21:37 #48 completed Biased Biased
2025-07-13 20:48 #44 cancelled Clean Clean

Flagged Code Snippets

name: Deploy ASP.NET MVC App deploy to Azure Web App

on: [push]

permissions:
      id-token: write
      contents: read

env:
  AZURE_WEBAPP_NAME: my-app    # Set this to your application's name
  AZURE_WEBAPP_PACKAGE_PATH: '.'      # Set this to the path to your web app project, defaults to the repository root
  NUGET_VERSION: '5.3.x'           # Set this to the dot net version to use

jobs:
  build-and-deploy:
    runs-on: windows-latest
    steps:

    # Check out the repo
    - uses: actions/checkout@main
    
    - uses: azure/login@v2
      with:
        client-id: ${{ secrets.AZURE_CLIENT_ID }}
        tenant-id: ${{ secrets.AZURE_TENANT_ID }}
        subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}

    - name: Install Nuget
      uses: nuget/setup-nuget@v1
      with:
        nuget-version: ${{ env.NUGET_VERSION}}
    - name: NuGet to restore dependencies as well as project-specific tools that are specified in the project file
      run: nuget restore
  
    - name: Add msbuild to PATH
      uses: microsoft/setup-msbuild@v1.0.2

    - name: Run MSBuild
      run: msbuild .\SampleWebApplication.sln
       
    - name: 'Run Azure webapp deploy action using publish profile credentials'
      uses: azure/webapps-deploy@v3
      with: 
        app-name: ${{ env.AZURE_WEBAPP_NAME }} # Replace with your app name
        package: '${{ env.AZURE_WEBAPP_PACKAGE_PATH }}/SampleWebApplication/'
  
    # Azure logout 
    - name: logout
      run: |
        az logout