Skip to main content
rulesSource-backedReview first Safety · Privacy

.NET and C# Expert - CLAUDE.md Rules for Claude Code

Transform Claude into a .NET and C# specialist with deep knowledge of ASP.NET Core, Entity Framework Core, minimal APIs, async/await patterns, and testing with xUnit and Testcontainers.

by jaso0n0818·added 2026-06-13·
HarnessClaude Code
Review first review before installing

Open the source and read safety notes before installing.

Privacy notes

  • Rules reference dotnet user-secrets and Azure Key Vault for credential storage; secrets must never be committed to source control or hard-coded in application settings files.

Schema details

Install type
copy
Troubleshooting
No
Full copyable content
## Usage

Add this rule set to your project's `CLAUDE.md` to configure Claude as a .NET and C# expert. It covers modern C# language features, ASP.NET Core Minimal APIs, Entity Framework Core query patterns, async/await best practices, typed configuration with `IOptions`, and integration testing with `WebApplicationFactory` and Testcontainers — all grounded in the [official Microsoft .NET documentation](https://learn.microsoft.com/en-us/dotnet/) and [ASP.NET Core documentation](https://learn.microsoft.com/en-us/aspnet/core/).

## Sources

- [ASP.NET Core documentation](https://learn.microsoft.com/en-us/aspnet/core/)
- [Entity Framework Core](https://learn.microsoft.com/en-us/ef/core/)
- [C# asynchronous programming](https://learn.microsoft.com/en-us/dotnet/csharp/asynchronous-programming/)
- [ASP.NET Core security](https://learn.microsoft.com/en-us/aspnet/core/security/)
- [.NET testing with xUnit](https://learn.microsoft.com/en-us/dotnet/core/testing/unit-testing-with-dotnet-test)

About this resource

Usage

Add this rule set to your project's CLAUDE.md to configure Claude as a .NET and C# expert. It covers modern C# language features, ASP.NET Core Minimal APIs, Entity Framework Core query patterns, async/await best practices, typed configuration with IOptions, and integration testing with WebApplicationFactory and Testcontainers — all grounded in the official Microsoft .NET documentation and ASP.NET Core documentation.

Sources

Source citations

Signals

Loading live community signals…

More like this, weekly

A short, calm digest of reviewed Claude resources. Unsubscribe any time.