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
⚠️ missing_linux_example
⚠️ windows_tools
Summary:
The documentation page demonstrates a Windows bias by focusing exclusively on Windows-based deployment and configuration patterns for ASP.NET apps in Azure App Service. All runtime version examples reference Windows file paths and tools (Kudu, CMD, PowerShell), with no mention of Linux equivalents or how to perform these tasks on Linux App Service plans. There are no Linux-specific examples or guidance, and Windows tools and patterns are presented as the default.
Recommendations:
  • Add equivalent instructions and examples for Linux App Service plans, including how to check .NET runtime versions and access diagnostic tools on Linux.
  • When referencing tools like Kudu, CMD, or PowerShell, clarify their availability (Windows-only) and provide alternatives for Linux (e.g., SSH, Bash).
  • Include Linux file paths and commands where appropriate, or explicitly state when a feature is Windows-only.
  • Structure sections to address both Windows and Linux scenarios, or clearly indicate which instructions apply to which OS.
  • Add a table or section summarizing feature parity and differences between Windows and Linux App Service for ASP.NET apps.
GitHub Create pull request

Scan History

Date Scan ID Status Bias Status
2025-09-16 00:00 #113 completed ❌ Biased
2025-09-15 00:00 #112 completed ❌ Biased
2025-09-14 00:00 #111 completed ✅ Clean
2025-09-13 00:00 #110 completed ✅ Clean
2025-09-12 00:00 #109 completed ✅ Clean
2025-09-11 00:00 #108 completed ✅ Clean
2025-09-10 00:00 #107 completed ✅ Clean
2025-09-09 00:00 #106 completed ✅ Clean
2025-09-08 00:00 #105 completed ❌ Biased
2025-09-07 00:00 #104 completed ❌ Biased
2025-09-06 00:00 #103 completed ❌ Biased
2025-09-05 00:00 #102 completed ❌ Biased
2025-09-04 00:00 #101 completed ❌ Biased
2025-09-03 00:00 #100 completed ❌ Biased
2025-09-02 00:00 #99 in_progress ❌ Biased
2025-09-01 00:00 #98 in_progress ❌ Biased
2025-08-31 00:01 #97 in_progress ❌ Biased
2025-08-30 00:01 #96 in_progress ❌ Biased
2025-08-29 00:01 #95 completed ❌ Biased
2025-08-28 00:01 #94 in_progress ❌ Biased
2025-08-27 00:01 #93 in_progress ❌ Biased
2025-08-26 00:00 #92 in_progress ❌ Biased
2025-08-25 00:01 #91 in_progress ❌ Biased
2025-08-24 00:00 #90 in_progress ❌ Biased
2025-08-23 00:00 #89 in_progress ❌ Biased
2025-08-22 00:01 #88 completed ❌ Biased
2025-08-21 00:01 #87 in_progress ❌ Biased
2025-08-20 00:01 #86 completed ❌ Biased
2025-08-19 00:01 #85 completed ❌ Biased
2025-08-18 00:00 #84 in_progress ❌ Biased
2025-08-17 00:01 #83 in_progress ❌ Biased
2025-08-16 00:00 #82 in_progress ❌ Biased
2025-08-15 00:01 #81 in_progress ❌ Biased
2025-07-13 21:37 #48 completed ✅ Clean
2025-07-13 21:25 #47 cancelled ✅ Clean
2025-07-13 20:48 #44 cancelled ❌ Biased
2025-07-09 13:09 #3 cancelled ✅ Clean
2025-07-08 04:23 #2 cancelled ❌ Biased

Flagged Code Snippets

ls "D:\Program Files (x86)\Reference Assemblies\Microsoft\Framework"
A value of `v4.0` means the latest CLR 4 version (.NET Framework 4.x) is used. A value of `v2.0` means a CLR 2 version (.NET Framework 3.5) is used. ## Set .NET Framework runtime version By default, App Service uses the latest supported .NET Framework version to run your ASP.NET app. To run your app using .NET Framework 3.5 instead, run the following command in the [Cloud Shell](https://shell.azure.com) (v2.0 signifies CLR 2):
ls "D:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework"
Redeploy your app with the updated *web.config*. You should now see the same detailed exception page. ## Access diagnostic logs You can add diagnostic messages in your application code using [System.Diagnostics.Trace](/dotnet/api/system.diagnostics.trace). For example:
## Get detailed exceptions page When your ASP.NET app generates an exception in the Visual Studio debugger, the browser displays a detailed exception page. A generic error message replaces that page in App Service. To display the detailed exception page in App Service, open the *web.config* file and add the `<customErrors mode="Off"/>` element under the `<system.web>` element. For example: