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

Bias Types:
⚠️ windows_first
⚠️ windows_tools
Summary:
The documentation provides deployment examples for multiple platforms, with most using Ubuntu runners and Linux-native tooling. However, the ASP.NET (not Core) example is Windows-specific, using 'windows-latest' runners and Windows-only tools such as NuGet and MSBuild. This is the only example that is Windows-specific, and it appears before the Java, Node.js, and Python examples, which use Linux runners. There is no Linux/Mono alternative provided for ASP.NET, and Windows tools are required for that workflow.
Recommendations:
  • Add a Linux/Mono-based example for ASP.NET if feasible, or clarify that classic ASP.NET requires Windows runners due to tooling constraints.
  • Explicitly state in the ASP.NET section why a Windows runner is required, to help users understand the platform limitation.
  • Consider reordering the sections so that Linux-first or cross-platform frameworks (e.g., .NET Core, Java, Node.js, Python) appear before Windows-only frameworks, to avoid the impression of Windows preference.
  • Where possible, mention Linux equivalents or alternatives for Windows tools, or provide guidance for users on non-Windows platforms.
GitHub Create pull request

Scan History

Date Scan ID Status Bias Status
2025-09-15 00:00 #112 completed ❌ Biased
2025-08-15 00:01 #81 in_progress ❌ Biased
2025-07-13 21:37 #48 completed ❌ Biased
2025-07-13 20:48 #44 cancelled ❌ Biased

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