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 platform-specific examples for multiple stacks. However, for the ASP.NET (classic) tab, only a Windows-based workflow is provided, using Windows-specific tools (NuGet, MSBuild) and the 'windows-latest' runner. There is no Linux alternative or guidance for building and deploying ASP.NET (classic) apps from Linux. All other stacks (ASP.NET Core, Java, Tomcat, Node.js, Python) use 'ubuntu-latest' runners and cross-platform tools, but the ASP.NET (classic) section is Windows-only and Windows-first.
Recommendations
  • Add a Linux-based example for ASP.NET (classic) if possible, or explicitly state that only Windows runners are supported for this stack.
  • If ASP.NET (classic) cannot be built on Linux, clarify this limitation in the documentation.
  • Wherever possible, provide both Windows and Linux examples side by side for parity.
  • Consider mentioning cross-platform alternatives to Windows tools (e.g., Mono for MSBuild, if feasible) or explain why they are not recommended.
  • Ensure that the order of presentation does not always favor Windows-first; alternate or group by cross-platform compatibility.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2025-07-12 23:44 #41 cancelled Biased Biased
2025-07-12 00:58 #8 cancelled Clean Clean
2025-07-10 05:06 #7 processing Clean Clean
2025-07-09 23:22 #6 cancelled Clean Clean

Flagged Code Snippets

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

on: [push]

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:
        creds: ${{ secrets.AZURE_CREDENTIALS }}

    - 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 Azure 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