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 platform-specific examples for multiple languages. However, in the ASP.NET section, the only example given runs on Windows ('runs-on: windows-latest') and uses Windows-specific tools such as MSBuild and NuGet, with Windows-style paths (e.g., '.\SampleWebApplication.sln'). There is no equivalent Linux-based example for ASP.NET, while all other language examples (ASP.NET Core, Java, Tomcat, Node.js, Python) use 'ubuntu-latest' and cross-platform tooling. This creates a Windows-first and Windows-tools bias for ASP.NET workloads.
Recommendations:
- Add a Linux-based (e.g., 'runs-on: ubuntu-latest') example for ASP.NET, using cross-platform tools such as 'dotnet build' instead of MSBuild, and ensure paths use POSIX style.
- If MSBuild is required, clarify if and how it can be used on Linux (e.g., via Mono or .NET SDK), or provide guidance for cross-platform builds.
- For NuGet, show how to restore packages using the 'dotnet' CLI, which is cross-platform, instead of the Windows-only 'nuget' tool.
- Explicitly mention platform compatibility and provide parity in examples for both Windows and Linux where possible, especially for .NET workloads.
Create pull request