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. However, the ASP.NET (not Core) example is Windows-specific: it uses 'runs-on: windows-latest', relies on Windows-only tools (NuGet, MSBuild), and uses Windows path syntax. This is the only example that is Windows-exclusive; all other stacks (ASP.NET Core, Java, Tomcat, Node.js, Python) use 'runs-on: ubuntu-latest' and cross-platform tooling. The ASP.NET section appears first among .NET examples, potentially reinforcing a Windows-first impression for .NET users.
Recommendations:
  • Add a Linux-based example for ASP.NET (if possible, e.g., using Mono or .NET Core for legacy apps), or clarify that ASP.NET (not Core) is Windows-only and explain why.
  • Reorder sections so that cross-platform or Linux-first examples (such as ASP.NET Core) appear before Windows-only examples.
  • Explicitly state in the ASP.NET section that it is Windows-only, and provide guidance for users who want to target Linux.
  • Where Windows-specific tools are used (NuGet, MSBuild), mention Linux alternatives or note their absence.
  • Ensure parity in detail and clarity between Windows and Linux examples across all stacks.
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
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