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
missing_linux_example
windows_tools
Summary
The documentation provides cross-platform deployment examples for most stacks, but the ASP.NET (classic) section exclusively uses a Windows runner and Windows-specific tools (NuGet, MSBuild) without offering Linux alternatives or parity. All other stacks (ASP.NET Core, Java, Tomcat, Node.js, Python) use Ubuntu runners and standard, cross-platform tooling. The ASP.NET section is both Windows-first and Windows-only, lacking Linux-based workflow examples.
Recommendations
  • Add a Linux-based (ubuntu-latest) workflow example for ASP.NET (classic), using Mono and cross-platform equivalents of NuGet and MSBuild where possible.
  • Explicitly state in the ASP.NET section why a Windows runner is required (if so), or provide guidance for Linux users.
  • Reorder or clearly label sections to avoid implying Windows is the default or only supported environment for .NET workloads.
  • Where Windows-specific tools are used, mention if cross-platform alternatives exist or provide links to relevant documentation.
  • Ensure parity in example depth and clarity between Windows and Linux workflows for all stacks.
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-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]

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:

    - uses: actions/checkout@main  
    
    - 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
        publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE  }} # Define secret variable in repository settings as per action documentation
        package: '${{ env.AZURE_WEBAPP_PACKAGE_PATH }}/SampleWebApplication/'