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 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 ID Status Bias Status
2025-09-16 00:00 #113 completed ❌ Biased
2025-08-16 00:00 #82 in_progress ❌ Biased
2025-08-15 00:01 #81 in_progress ✅ Clean
2025-07-13 21:37 #48 completed ❌ Biased
2025-07-13 20:48 #44 cancelled ✅ 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