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
missing_linux_example
Summary
The documentation provides platform-specific examples for several languages. For ASP.NET (classic), only a Windows-based workflow is shown, using Windows-specific tools (NuGet, MSBuild) and 'runs-on: windows-latest'. In contrast, all other stacks (ASP.NET Core, Java, Tomcat, Node.js, Python) use 'runs-on: ubuntu-latest' and cross-platform tools. There is no Linux-based example for classic ASP.NET, nor any mention of Mono or cross-platform build alternatives for .NET Framework. Windows tools and patterns (NuGet, MSBuild, Windows paths) are used exclusively for ASP.NET, and the Windows workflow is presented before Linux alternatives (which are missing for ASP.NET).
Recommendations
  • Add a Linux-based example for classic ASP.NET, using Mono or other cross-platform build tools if possible.
  • Mention cross-platform alternatives to NuGet and MSBuild for .NET Framework projects, or clarify their platform limitations.
  • Explicitly state platform requirements and limitations for each workflow, so users know if Windows is required.
  • Consider reordering or grouping examples so that Linux and Windows parity is clear for each language stack.
  • For ASP.NET, provide guidance or links for building and deploying on Linux if supported, or explain why only Windows is shown.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2026-01-12 00:00 #99 completed Clean Clean
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

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