You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Contribute/content/dotnet/code-analysis-rules.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,29 +1,29 @@
1
1
---
2
-
title: Contribute docs for .NET code analysis rules to the .NET docs repository
2
+
title: Contribute docs for .NET code analysis rules
3
3
description: This article describes the process for contributing to the articles and code samples for .NET code analysis rules in the .NET docs repository.
4
4
author: mavasani
5
-
ms.author: mavasani
5
+
ms.author: gewarren
6
6
ms.topic: contributor-guide
7
7
ms.service: learn
8
8
ms.custom: external-contributor-guide
9
-
ms.date: 06/17/2025
9
+
ms.date: 03/17/2026
10
10
---
11
-
# Contribute docs for .NET code analysis rules to the .NET docs repository
11
+
# Contribute docs for .NET code analysis rules
12
12
13
-
.NET compiler platform (Roslyn) analyzers inspect your C# or Visual Basic code for code quality and code style issues. Starting in .NET 5.0, these analyzers are [included with the .NET SDK](/dotnet/fundamentals/code-analysis/overview).
13
+
.NET compiler platform (Roslyn) analyzers inspect your C# or Visual Basic code for code quality and code style issues. These analyzers are [included with the .NET SDK](/dotnet/fundamentals/code-analysis/overview).
- Implemented [here](https://github.com/dotnet/roslyn-analyzers/tree/main/src/NetAnalyzers) in `dotnet/roslyn-analyzers` repo.
16
+
- Implemented in the [dotnet/sdk](https://github.com/dotnet/sdk/tree/main/src/Microsoft.CodeAnalysis.NetAnalyzers)repo (previously implemented in `dotnet/roslyn-analyzers` repo).
17
17
- Documented [here](https://github.com/dotnet/docs/blob/main/docs/fundamentals/code-analysis/quality-rules) in the `dotnet/docs` repo. See [Contribute docs for 'CAxxxx' rules](#contribute-docs-for-caxxxx-rules).
- Implemented [here](https://github.com/dotnet/roslyn/tree/main/src/Analyzers) in `dotnet/roslyn` repo.
19
+
- Implemented in the [dotnet/roslyn](https://github.com/dotnet/roslyn/tree/main/src/Analyzers) repo.
20
20
- Documented [here](https://github.com/dotnet/docs/blob/main/docs/fundamentals/code-analysis/style-rules) in the `dotnet/docs` repo. See [Contribute docs for 'IDExxxx' rules](#contribute-docs-for-idexxxx-rules).
21
21
22
22
## Contribute docs for 'CAxxxx' rules
23
23
24
24
Please follow the following steps to contribute documentation for code quality analysis rules to the [dotnet/docs](https://github.com/dotnet/docs) repo:
25
25
26
-
1. Determine `Rule ID` and `Category`: Ensure that you know the 'CAxxxx' rule ID and category for the rule to be documented. This means either your CA analyzer has been merged into [dotnet/roslyn-analyzers](https://github.com/dotnet/roslyn-analyzers) repo or you have an open PR with an approved ID and category that has been assigned to the rule.
26
+
1. Determine `Rule ID` and `Category`: Ensure that you know the 'CAxxxx' rule ID and category for the rule to be documented. This means either your CA analyzer has been merged into the [dotnet/sdk](https://github.com/dotnet/sdk) repo or you have an open PR with an approved ID and category that has been assigned to the rule.
27
27
2. Add rule doc:
28
28
1. Clone an existing CA rule file under [root](https://github.com/dotnet/docs/blob/main/docs/fundamentals/code-analysis/quality-rules) folder, say `ca1000.md`, and rename it.
Copy file name to clipboardExpand all lines: Contribute/index.yml
+9-11Lines changed: 9 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,7 @@
1
1
### YamlMime:Marketing
2
-
### YamlMime:Marketing
3
2
title: 'Experts Hub'
4
3
metadata:
5
-
title: 'Experts Hub: Share what you know. Shape what’s next.'
4
+
title: "Experts Hub: Share what you know. Shape what's next."
6
5
description: 'Share your knowledge with the world as a Microsoft expert!'
7
6
sections:
8
7
# hero with background image
@@ -16,7 +15,7 @@ sections:
16
15
src: media/experts-hub-long-format-400.png
17
16
# top navigation links
18
17
- componentType: navigation
19
-
size: large
18
+
size: large
20
19
alignment: center
21
20
blocks:
22
21
- componentType: icon-link
@@ -39,7 +38,7 @@ sections:
39
38
questions:
40
39
- question: Overview of this section
41
40
answer: |
42
-
This section highlights high‑interest topics your audience is already searching for and talking about. Think of these as prime opportunities to create content that stands out and attracts learners who are actively looking for guidance.
41
+
This section highlights high-interest topics your audience is already searching for and talking about. Think of these as prime opportunities to create content that stands out and attracts learners who are actively looking for guidance.
43
42
44
43
If a topic aligns with your expertise, jump in and turn it into content that showcases your voice and point of view. You might:
45
44
@@ -53,7 +52,6 @@ sections:
53
52
answer: |
54
53
Grow your reputation on Microsoft Q&A by providing expert insights, clarification, and solutions on these trending topics:
55
54
56
-
- There's interest in understanding the differences between [Developer Command Prompt and Developer PowerShell in Visual Studio](https://learn.microsoft.com/answers/questions/5722678/what-are-the-different-between-developer-command-p).
57
55
- Help Azure users [understand error codes](https://learn.microsoft.com/answers/questions/5562339/error-code-5000225-message-this-tenant-has-been-bl) related to managing [tenant lifecycles in Microsoft Entra](https://learn.microsoft.com/entra/fundamentals/inaccessible-tenant).
58
56
- Learners want to understand how to use agents created from templates in Copilot Studio, such as the [Customer Insight template agent](https://learn.microsoft.com/answers/questions/5527396/an-agent-created-through-co-pilot-studio-is-not-ab).
59
57
- question: 'Updates and tools for AI builders in Microsoft Foundry'
@@ -67,7 +65,7 @@ sections:
67
65
- Developer audiences are interested in building and remotely hosting MCP servers. [This episode](https://learn.microsoft.com/shows/azure-friday/host-remote-mcp-servers-on-azure-functions), led by Scott Hanselman and Lily Ma, demonstrates how to remotely host MCP servers on Azure Functions with official MCP SDKs.
68
66
- Explore a [deep dive into the AKS MCP Server & Agentic CLI](https://www.youtube.com/watch?v=tEPfxO1FEMk) in January's AKS community call.
69
67
- As more audiences build AI agents, they're looking to improve cost efficiency on Azure. [This learning path on maximizing AI agent ROI](https://learn.microsoft.com/training/paths/maximize-cost-efficiency-ai-agents/) offers strategies for cost-conscious decisions, ROI forecasting, and scalable architectures to optimize investments on Azure.
70
-
- question: AI for all levels of .NET developers
68
+
- question: AI for all levels of .NET developers
71
69
answer: |
72
70
Help .NET developers across multiple skill levels understand the foundations and opportunities for leveraging AI in their applications.
73
71
- [Hands-on course](https://github.com/microsoft/Generative-AI-for-beginners-dotnet) and [accompanying video series](https://www.youtube.com/playlist?list=PLdo4fOcmZ0oUkPkWy9EtmBvFAjfp4ZHnx) on Generative AI fundamentals with .NET.
@@ -82,7 +80,7 @@ sections:
82
80
alt: A GitHub Copilot chat interaction with the Microsoft Learn MCP Server
83
81
componentType: image
84
82
- title: Content creation resources for the Microsoft Learn MCP Server
85
-
summary: A set of ready-to-use assets to help you accurately present, demo, and share the Microsoft Learn MCP Server with your audience.
83
+
summary: A set of ready-to-use assets to help you accurately present, demo, and share the Microsoft Learn MCP Server with your audience.
86
84
componentType: text
87
85
links:
88
86
- componentType: link
@@ -184,7 +182,7 @@ sections:
184
182
title: Impactful opportunities happening now
185
183
blocks:
186
184
- componentType: summary-card
187
-
title: Contribute to awesome-azd
185
+
title: Contribute to awesome-azd
188
186
summary: Share templates for using the Azure Developer CLI (azd) by contributing to the awesome-azd collection.
189
187
url: https://github.com/azure/awesome-azd
190
188
- componentType: summary-card
@@ -193,7 +191,7 @@ sections:
193
191
url: https://github.com/github/awesome-copilot
194
192
- componentType: summary-card
195
193
title: Join the Azure AI Foundry Discord community
196
-
summary: Join the Azure AI Foundry community to share your knowledge and connect with other AI experts and learners.
194
+
summary: Join the Azure AI Foundry community to share your knowledge and connect with other AI experts and learners.
0 commit comments