Sources¶
Baseline: C# 14 / .NET 10 ยท Levels: DO ยท DO NOT ยท CONSIDER ยท AVOID
Home ยท Microsoft ยท Community ยท JetBrains
This page lists every source cited in this guide. Each source has a short key such as MS-IDNAME. Rule pages cite keys in their Sources line. URLs were retrieved on 2026-10-16, except 21 later additions (security, design and password-storage sources), which were retrieved on 2026-10-17, RS-NAMING-OPT, which was retrieved on 2026-11-13, and 15 later additions (SDK pinning, NuGet audit, EF Core query shape, dependency injection, ASP.NET Core error handling and responses, and RFC 9457), which were retrieved on 2026-11-30. Every key below is a heading, so a link such as 92-Sources.md#ms-idname goes straight to its entry.
How to read an entry¶
| Field | Meaning |
|---|---|
| Title | The title of the page or file at the URL. |
| Publisher | Who publishes it. |
| URL | Where it was read. External links appear on this page only, plus analyzer-ID links on page 90. |
| Covers | What this guide takes from the source. |
Families¶
| Family | Keys | Key prefixes |
|---|---|---|
| Microsoft | 76 | MS- |
| Community | 25 | RT-, ROSLYN, SA, AV, GOOG, OSH, DAPPER, OWASP, NIST-, IETF- |
| JetBrains | 35 | RS-, RD- |
To add a source, add an entry under its family with all four fields and use a key that has the family prefix. Never reuse or rename a key: pages link to it.
Microsoft¶
MS-CONV¶
| Field | Value |
|---|---|
| Title | .NET Coding Conventions (C#) |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/csharp/fundamentals/coding-style/coding-conventions |
| Covers | Layout, language usage, var, strings, LINQ, comments |
MS-IDNAME¶
| Field | Value |
|---|---|
| Title | Identifier names: rules and conventions |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/csharp/fundamentals/coding-style/identifier-names |
| Covers | Naming, field prefixes, constants, primary-constructor parameters |
MS-FDG¶
| Field | Value |
|---|---|
| Title | Framework Design Guidelines (index) |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/standard/design-guidelines/ |
| Covers | Public API design (the pages reprint the 2008 edition and say they may be out of date) |
MS-FDG-CAPS¶
| Field | Value |
|---|---|
| Title | Framework Design Guidelines: Capitalization Conventions |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/standard/design-guidelines/capitalization-conventions |
| Covers | PascalCase, camelCase, acronyms, compound words |
MS-FDG-GENERAL¶
| Field | Value |
|---|---|
| Title | Framework Design Guidelines: General Naming Conventions |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/standard/design-guidelines/general-naming-conventions |
| Covers | Word choice, abbreviations, Hungarian notation |
MS-FDG-ASSEMBLIES¶
| Field | Value |
|---|---|
| Title | Framework Design Guidelines: Names of Assemblies and DLLs |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/standard/design-guidelines/names-of-assemblies-and-dlls |
| Covers | Assembly names |
MS-FDG-NAMESPACES¶
| Field | Value |
|---|---|
| Title | Framework Design Guidelines: Names of Namespaces |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/standard/design-guidelines/names-of-namespaces |
| Covers | Namespace names, type/namespace clashes |
MS-FDG-TYPES¶
| Field | Value |
|---|---|
| Title | Framework Design Guidelines: Names of Classes, Structs, and Interfaces |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/standard/design-guidelines/names-of-classes-structs-and-interfaces |
| Covers | Type names, suffixes, generic parameters, enums |
MS-FDG-MEMBERS¶
| Field | Value |
|---|---|
| Title | Framework Design Guidelines: Names of Type Members |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/standard/design-guidelines/names-of-type-members |
| Covers | Methods, properties, events, fields |
MS-FDG-PARAMS¶
| Field | Value |
|---|---|
| Title | Framework Design Guidelines: Naming Parameters |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/standard/design-guidelines/naming-parameters |
| Covers | Parameter names, operator parameters |
MS-FDG-CLASSSTRUCT¶
| Field | Value |
|---|---|
| Title | Framework Design Guidelines: Choosing Between Class and Struct |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/standard/design-guidelines/choosing-between-class-and-struct |
| Covers | Class versus struct |
MS-FDG-FIELD¶
| Field | Value |
|---|---|
| Title | Framework Design Guidelines: Field Design |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/standard/design-guidelines/field |
| Covers | Field visibility, const versus static readonly |
MS-FDG-ENUM¶
| Field | Value |
|---|---|
| Title | Framework Design Guidelines: Enum Design |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/standard/design-guidelines/enum |
| Covers | Enums and flags enums |
MS-FDG-PROPERTY¶
| Field | Value |
|---|---|
| Title | Framework Design Guidelines: Property Design |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/standard/design-guidelines/property |
| Covers | Properties, indexers |
MS-FDG-OVERLOAD¶
| Field | Value |
|---|---|
| Title | Framework Design Guidelines: Member Overloading |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/standard/design-guidelines/member-overloading |
| Covers | Overloads versus optional parameters |
MS-FDG-PARAMDESIGN¶
| Field | Value |
|---|---|
| Title | Framework Design Guidelines: Parameter Design |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/standard/design-guidelines/parameter-design |
| Covers | Parameter order, ref/out, validation |
MS-FDG-EVENT¶
| Field | Value |
|---|---|
| Title | Framework Design Guidelines: Event Design |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/standard/design-guidelines/event |
| Covers | Events and event-raising methods |
MS-FDG-EXCTYPES¶
| Field | Value |
|---|---|
| Title | Framework Design Guidelines: Using Standard Exception Types |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/standard/design-guidelines/using-standard-exception-types |
| Covers | Exception types to throw |
MS-FDG-EXCTHROW¶
| Field | Value |
|---|---|
| Title | Framework Design Guidelines: Exception Throwing |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/standard/design-guidelines/exception-throwing |
| Covers | Throwing, Try pattern |
MS-FDG-EXT¶
| Field | Value |
|---|---|
| Title | Framework Design Guidelines: Extension Methods |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/standard/design-guidelines/extension-methods |
| Covers | Extension members |
MS-FDG-COLL¶
| Field | Value |
|---|---|
| Title | Framework Design Guidelines: Guidelines for Collections |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/standard/design-guidelines/guidelines-for-collections |
| Covers | Collection types in APIs |
MS-IDE¶
| Field | Value |
|---|---|
| Title | Code-style rules (IDExxxx) overview and index |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/ |
| Covers | IDE rule IDs and options |
MS-IDE-LANG¶
| Field | Value |
|---|---|
| Title | Code-style language rules |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/language-rules |
| Covers | Option format, severities |
MS-IDE-NAMING¶
| Field | Value |
|---|---|
| Title | Code-style naming rules (IDE1006) |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/naming-rules |
| Covers | Naming rule syntax and limits |
MS-IDE-CSFMT¶
| Field | Value |
|---|---|
| Title | C# formatting options (IDE0055) |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/csharp-formatting-options |
| Covers | Braces, spacing, indentation, new lines |
MS-IDE-NETFMT¶
| Field | Value |
|---|---|
| Title | .NET formatting options (IDE0055) |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/dotnet-formatting-options |
| Covers | Using directive ordering |
MS-IDE-OPTIONS¶
| Field | Value |
|---|---|
| Title | .NET code style rule options |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/code-style-rule-options |
| Covers | Default option values |
MS-CFG¶
| Field | Value |
|---|---|
| Title | Configure code analysis rules |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/configuration-options |
| Covers | Severity configuration and precedence |
MS-CFGFILES¶
| Field | Value |
|---|---|
| Title | Configuration files for code analysis rules |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/configuration-files |
| Covers | EditorConfig and global AnalyzerConfig precedence |
MS-CAOV¶
| Field | Value |
|---|---|
| Title | Code analysis in .NET (overview) |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/overview |
| Covers | EnforceCodeStyleInBuild, AnalysisLevel |
MS-MSBUILD¶
| Field | Value |
|---|---|
| Title | MSBuild reference for .NET SDK projects |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/core/project-sdk/msbuild-props |
| Covers | Code analysis MSBuild properties |
MS-CA¶
| Field | Value |
|---|---|
| Title | Code quality rules (CAxxxx) index |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ |
| Covers | CA rule IDs |
MS-SYSLIB¶
| Field | Value |
|---|---|
| Title | Obsolete features in .NET 5+ (SYSLIB0xxx) |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/fundamentals/syslib-diagnostics/obsoletions-overview |
| Covers | Obsoleted APIs |
MS-SYSLIB-RGX¶
| Field | Value |
|---|---|
| Title | SYSLIB diagnostics for regex source generation |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/fundamentals/syslib-diagnostics/syslib1040-1049 |
| Covers | GeneratedRegex |
MS-BF¶
| Field | Value |
|---|---|
| Title | BinaryFormatter migration guide |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/standard/serialization/binaryformatter-migration-guide/ |
| Covers | BinaryFormatter removal |
MS-FIXEDTIME¶
| Field | Value |
|---|---|
| Title | CryptographicOperations.FixedTimeEquals Method |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/api/system.security.cryptography.cryptographicoperations.fixedtimeequals |
| Covers | Compares two byte spans in time that depends only on their length |
MS-ARGLIST¶
| Field | Value |
|---|---|
| Title | ProcessStartInfo.ArgumentList Property |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.processstartinfo.argumentlist |
| Covers | Arguments passed one by one and escaped by the runtime |
MS-RNG¶
| Field | Value |
|---|---|
| Title | RandomNumberGenerator Class |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/api/system.security.cryptography.randomnumbergenerator |
| Covers | Cryptographically strong random values |
MS-REGEX-BP¶
| Field | Value |
|---|---|
| Title | Best Practices for Regular Expressions in .NET |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/standard/base-types/best-practices-regex |
| Covers | Time-outs for untrusted input, NonBacktracking |
MS-XMLSEC¶
| Field | Value |
|---|---|
| Title | XmlReaderSettings Class (Security considerations) |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/api/system.xml.xmlreadersettings |
| Covers | DTD processing off by default; resolver and entity-expansion risks |
MS-SECURESTRING¶
| Field | Value |
|---|---|
| Title | SecureString Class |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/api/system.security.securestring |
| Covers | Not recommended for new development; not encrypted on non-Windows platforms |
MS-PATH¶
| Field | Value |
|---|---|
| Title | Path.GetFullPath Method |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/api/system.io.path.getfullpath |
| Covers | Resolves relative segments to an absolute path |
MS-JSON-POLY¶
| Field | Value |
|---|---|
| Title | How to serialize properties of derived classes with System.Text.Json |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/standard/serialization/system-text-json/polymorphism |
| Covers | Polymorphism is opt-in through registered derived types |
MS-ASPNET-SEC¶
| Field | Value |
|---|---|
| Title | ASP.NET Core security topics |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/aspnet/core/security/ |
| Covers | Authentication, authorization, data protection, HTTPS, CSRF, XSS |
MS-FDG-BASECLASS¶
| Field | Value |
|---|---|
| Title | Framework Design Guidelines: Base Classes for Implementing Abstractions |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/standard/design-guidelines/base-classes-for-implementing-abstractions |
| Covers | AVOID the Base suffix on public base classes |
MS-CHECKED¶
| Field | Value |
|---|---|
| Title | The checked and unchecked statements |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/statements/checked-and-unchecked |
| Covers | Overflow throws in a checked context and wraps in the default unchecked one |
MS-EF¶
| Field | Value |
|---|---|
| Title | EF Core: SQL queries |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/ef/core/querying/sql-queries |
| Covers | FromSql, ExecuteSql, parameters |
MS-EFA¶
| Field | Value |
|---|---|
| Title | EF Core analyzers: released diagnostics |
| Publisher | dotnet/efcore (Microsoft) |
| URL | https://github.com/dotnet/efcore/blob/main/src/EFCore.Analyzers/AnalyzerReleases.Shipped.md |
| Covers | EF1001-EF1003 |
MS-EOB¶
| Field | Value |
|---|---|
| Title | Roslyn EnforceOnBuildValues (which IDE rules run on build) |
| Publisher | dotnet/roslyn (Microsoft) |
| URL | https://github.com/dotnet/roslyn/blob/main/src/Analyzers/Core/Analyzers/EnforceOnBuildValues.cs |
| Covers | Build enforcement of IDE rules |
MS-DOCS-EC¶
| Field | Value |
|---|---|
| Title | dotnet/docs .editorconfig |
| Publisher | dotnet/docs (Microsoft) |
| URL | https://github.com/dotnet/docs/blob/main/.editorconfig |
| Covers | Microsoft docs team configuration |
MS-LANG-12¶
| Field | Value |
|---|---|
| Title | What's new in C# 12 |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-12 |
| Covers | Primary constructors, collection expressions |
MS-LANG-13¶
| Field | Value |
|---|---|
| Title | What's new in C# 13 |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-13 |
| Covers | params collections, Lock, partial properties |
MS-LANG-14¶
| Field | Value |
|---|---|
| Title | What's new in C# 14 |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-14 |
| Covers | field keyword, extension members, null-conditional assignment |
MS-NRT¶
| Field | Value |
|---|---|
| Title | Null-forgiving operator (!) |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/operators/null-forgiving |
| Covers | Null-forgiving operator, nullable attributes |
MS-XMLDOC¶
| Field | Value |
|---|---|
| Title | Recommended XML documentation tags |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/xmldoc/recommended-tags |
| Covers | XML documentation |
MS-CS1591¶
| Field | Value |
|---|---|
| Title | Compiler warning CS1591 |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/dotnet/csharp/language-reference/compiler-messages/cs1591 |
| Covers | Missing XML comment |
MS-EXC¶
| Field | Value |
|---|---|
| Title | Best practices for exceptions |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/standard/exceptions/best-practices-for-exceptions |
| Covers | Throwing, catching, custom exceptions |
MS-TAP¶
| Field | Value |
|---|---|
| Title | Task-based Asynchronous Pattern |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/standard/asynchronous-programming-patterns/task-based-asynchronous-pattern-tap |
| Covers | Async naming, cancellation |
MS-ASYNCRET¶
| Field | Value |
|---|---|
| Title | Async return types |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/csharp/asynchronous-programming/async-return-types |
| Covers | async void, ValueTask, IAsyncEnumerable |
MS-DT¶
| Field | Value |
|---|---|
| Title | Compare types related to date and time |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/standard/datetime/choosing-between-datetime |
| Covers | DateTime, DateTimeOffset, DateOnly, TimeSpan |
MS-STR¶
| Field | Value |
|---|---|
| Title | Best practices for comparing strings |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/standard/base-types/best-practices-strings |
| Covers | StringComparison, culture |
MS-TEST¶
| Field | Value |
|---|---|
| Title | Best practices for writing unit tests |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/core/testing/unit-testing-best-practices |
| Covers | Test naming, Arrange/Act/Assert |
MS-GLOBALJSON¶
| Field | Value |
|---|---|
| Title | global.json overview - .NET CLI |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/core/tools/global-json |
| Covers | SDK version selection, rollForward values (latestPatch), allowPrerelease, full-version requirement |
MS-NUGET-AUDIT¶
| Field | Value |
|---|---|
| Title | Auditing package dependencies for security vulnerabilities |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/nuget/concepts/auditing-packages |
| Covers | NuGetAudit settings, NU1900 to NU1905, NuGetAuditSuppress, audit sources, audit in CI, dotnet list package --vulnerable |
MS-NUGET-PSM¶
| Field | Value |
|---|---|
| Title | Package Source Mapping |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/nuget/consume-packages/package-source-mapping |
| Covers | Per-package source filtering for repositories with several feeds |
MS-EF-TRACKING¶
| Field | Value |
|---|---|
| Title | Tracking vs. No-Tracking Queries - EF Core |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/ef/core/querying/tracking |
| Covers | No-tracking queries for read-only results, identity resolution, projections that return no entities are not tracked |
MS-EF-PERF¶
| Field | Value |
|---|---|
| Title | Efficient Querying - EF Core |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/ef/core/performance/efficient-querying |
| Covers | Project only needed columns, limit the result size, eager loading, N+1 and lazy loading, buffering and streaming, tracking cost |
MS-EF-RELATED¶
| Field | Value |
|---|---|
| Title | Loading Related Data - EF Core |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/ef/core/querying/related-data/ |
| Covers | Eager, explicit and lazy loading of related entities |
MS-EF-PAGING¶
| Field | Value |
|---|---|
| Title | Pagination - EF Core |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/ef/core/querying/pagination |
| Covers | Offset and keyset pagination, unique ordering, indexes for the sort key |
MS-ASPNET-ERRORS¶
| Field | Value |
|---|---|
| Title | Handle errors in ASP.NET Core APIs |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/aspnet/core/fundamentals/error-handling-api |
| Covers | Exception handler, problem details service, customizing problem details, TypedResults.Problem |
MS-DI-OVERVIEW¶
| Field | Value |
|---|---|
| Title | Dependency injection - .NET |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/core/extensions/dependency-injection/overview |
| Covers | Constructor injection behavior, scope validation, IServiceScopeFactory for scoped work in hosted services |
MS-DI-GUIDELINES¶
| Field | Value |
|---|---|
| Title | Dependency injection guidelines - .NET |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/core/extensions/dependency-injection/guidelines |
| Covers | Avoid service locator, captive dependency, IDisposable and transient guidance, thread safety, singleton considerations |
MS-DI-LIFETIMES¶
| Field | Value |
|---|---|
| Title | Service lifetimes (dependency injection) - .NET |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/core/extensions/dependency-injection/service-lifetimes |
| Covers | Transient, scoped and singleton lifetimes, AddDbContext scoped by default, scoped service in a singleton |
MS-DI-VALIDATEONBUILD¶
| Field | Value |
|---|---|
| Title | ServiceProviderOptions.ValidateOnBuild Property |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/dotnet/api/microsoft.extensions.dependencyinjection.serviceprovideroptions.validateonbuild |
| Covers | ValidateOnBuild validates service registrations at build time, does not validate open generic services, default follows IsDevelopment |
MS-ASPNET-DI¶
| Field | Value |
|---|---|
| Title | Dependency injection in ASP.NET Core |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/aspnet/core/fundamentals/dependency-injection |
| Covers | Per-request scope, scoped services in middleware InvokeAsync, EF contexts and lifetimes, controllers focus on UI concerns |
MS-MINAPI-RESPONSES¶
| Field | Value |
|---|---|
| Title | Create responses in Minimal API applications |
| Publisher | Microsoft Learn |
| URL | https://learn.microsoft.com/en-us/aspnet/core/fundamentals/minimal-apis/responses |
| Covers | Results and TypedResults, Results<...> union return types, typed results for testing |
Community¶
RT-STYLE¶
| Field | Value |
|---|---|
| Title | dotnet/runtime C# Coding Style |
| Publisher | dotnet/runtime |
| URL | https://github.com/dotnet/runtime/blob/main/docs/coding-guidelines/coding-style.md |
| Covers | Twenty numbered style rules |
RT-EC¶
| Field | Value |
|---|---|
| Title | dotnet/runtime .editorconfig |
| Publisher | dotnet/runtime |
| URL | https://github.com/dotnet/runtime/blob/main/.editorconfig |
| Covers | Concrete option values |
RT-GC¶
| Field | Value |
|---|---|
| Title | dotnet/runtime CodeAnalysis.src.globalconfig |
| Publisher | dotnet/runtime |
| URL | https://github.com/dotnet/runtime/blob/main/eng/CodeAnalysis.src.globalconfig |
| Covers | Analyzer severities for library sources |
RT-VER¶
| Field | Value |
|---|---|
| Title | dotnet/runtime eng/Versions.props |
| Publisher | dotnet/runtime |
| URL | https://github.com/dotnet/runtime/blob/main/eng/Versions.props |
| Covers | Pinned StyleCop version |
ROSLYN¶
| Field | Value |
|---|---|
| Title | dotnet/roslyn .editorconfig |
| Publisher | dotnet/roslyn |
| URL | https://github.com/dotnet/roslyn/blob/main/.editorconfig |
| Covers | Roslyn repository option values |
ROSLYN-CONTRIB¶
| Field | Value |
|---|---|
| Title | dotnet/roslyn CONTRIBUTING.md |
| Publisher | dotnet/roslyn |
| URL | https://github.com/dotnet/roslyn/blob/main/CONTRIBUTING.md |
| Covers | Contribution and argument-validation conventions |
SA¶
| Field | Value |
|---|---|
| Title | StyleCop Analyzers rule documentation |
| Publisher | DotNetAnalyzers |
| URL | https://github.com/DotNetAnalyzers/StyleCopAnalyzers/tree/master/documentation |
| Covers | SA rules |
SA-REL¶
| Field | Value |
|---|---|
| Title | StyleCop Analyzers releases |
| Publisher | DotNetAnalyzers |
| URL | https://github.com/DotNetAnalyzers/StyleCopAnalyzers/releases |
| Covers | C# 13/14 support by release |
SA-NUGET¶
| Field | Value |
|---|---|
| Title | StyleCop.Analyzers on NuGet |
| Publisher | NuGet |
| URL | https://www.nuget.org/packages/StyleCop.Analyzers |
| Covers | Stable and prerelease versions |
AV¶
| Field | Value |
|---|---|
| Title | C# Coding Guidelines (Aviva Solutions / Dennis Doomen) |
| Publisher | csharpcodingguidelines.com |
| URL | https://csharpcodingguidelines.com/ |
| Covers | Naming, layout, design, testing |
GOOG¶
| Field | Value |
|---|---|
| Title | C# at Google Style Guide |
| Publisher | |
| URL | https://google.github.io/styleguide/csharpguide.html |
| Covers | Naming, layout |
OSH¶
| Field | Value |
|---|---|
| Title | Naming standards for unit tests |
| Publisher | Roy Osherove |
| URL | https://osherove.com/blog/2005/4/3/naming-standards-for-unit-tests.html |
| Covers | Test method naming (historical) |
DAPPER¶
| Field | Value |
|---|---|
| Title | Dapper README |
| Publisher | DapperLib |
| URL | https://github.com/DapperLib/Dapper/blob/main/Readme.md |
| Covers | Parameter objects |
OWASP¶
| Field | Value |
|---|---|
| Title | OWASP Password Storage Cheat Sheet |
| Publisher | OWASP |
| URL | https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html |
| Covers | PBKDF2 iteration counts (600,000 for HMAC-SHA256) |
OWASP-SQLI¶
| Field | Value |
|---|---|
| Title | OWASP SQL Injection Prevention Cheat Sheet |
| Publisher | OWASP |
| URL | https://cheatsheetseries.owasp.org/cheatsheets/SQL_Injection_Prevention_Cheat_Sheet.html |
| Covers | Parameterized queries as the first defense |
OWASP-OSCMD¶
| Field | Value |
|---|---|
| Title | OWASP OS Command Injection Defense Cheat Sheet |
| Publisher | OWASP |
| URL | https://cheatsheetseries.owasp.org/cheatsheets/OS_Command_Injection_Defense_Cheat_Sheet.html |
| Covers | Avoid OS commands; pass arguments separately |
OWASP-XXE¶
| Field | Value |
|---|---|
| Title | OWASP XML External Entity Prevention Cheat Sheet |
| Publisher | OWASP |
| URL | https://cheatsheetseries.owasp.org/cheatsheets/XML_External_Entity_Prevention_Cheat_Sheet.html |
| Covers | Disable DTDs; .NET XmlReader settings |
OWASP-DESER¶
| Field | Value |
|---|---|
| Title | OWASP Deserialization Cheat Sheet |
| Publisher | OWASP |
| URL | https://cheatsheetseries.owasp.org/cheatsheets/Deserialization_Cheat_Sheet.html |
| Covers | No BinaryFormatter; no type-embedding deserialization of untrusted data |
OWASP-LOG¶
| Field | Value |
|---|---|
| Title | OWASP Logging Cheat Sheet |
| Publisher | OWASP |
| URL | https://cheatsheetseries.owasp.org/cheatsheets/Logging_Cheat_Sheet.html |
| Covers | Never log passwords, tokens, keys or card data |
OWASP-ERR¶
| Field | Value |
|---|---|
| Title | OWASP Error Handling Cheat Sheet |
| Publisher | OWASP |
| URL | https://cheatsheetseries.owasp.org/cheatsheets/Error_Handling_Cheat_Sheet.html |
| Covers | No implementation details in error responses |
OWASP-SECRETS¶
| Field | Value |
|---|---|
| Title | OWASP Secrets Management Cheat Sheet |
| Publisher | OWASP |
| URL | https://cheatsheetseries.owasp.org/cheatsheets/Secrets_Management_Cheat_Sheet.html |
| Covers | No hard-coded secrets; central secrets manager |
OWASP-PATH¶
| Field | Value |
|---|---|
| Title | OWASP Path Traversal |
| Publisher | OWASP |
| URL | https://community.owasp.org/attacks/Path_Traversal |
| Covers | Traversal through ../ sequences; normalize and validate paths |
OWASP-REGEX¶
| Field | Value |
|---|---|
| Title | OWASP Regular expression Denial of Service (ReDoS) |
| Publisher | OWASP |
| URL | https://community.owasp.org/attacks/Regular_expression_Denial_of_Service_-_ReDoS |
| Covers | Crafted input makes backtracking regex engines exponential |
NIST-800-132¶
| Field | Value |
|---|---|
| Title | NIST SP 800-132: Recommendation for Password-Based Key Derivation |
| Publisher | NIST |
| URL | https://csrc.nist.gov/pubs/sp/800/132/final |
| Covers | Random salt part of at least 128 bits |
IETF-RFC9457¶
| Field | Value |
|---|---|
| Title | RFC 9457: Problem Details for HTTP APIs |
| Publisher | IETF (RFC Editor) |
| URL | https://www.rfc-editor.org/rfc/rfc9457.html |
| Covers | type as primary identifier of a problem, detail not for parsing, extension members (July 2023, obsoletes RFC 7807) |
JetBrains¶
RS-NAMING¶
| Field | Value |
|---|---|
| Title | ReSharper: Code Naming Style |
| Publisher | JetBrains |
| URL | https://www.jetbrains.com/help/resharper/Coding_Assistance__Naming_Style.html |
| Covers | Naming rules, EditorConfig naming |
RD-NAMING¶
| Field | Value |
|---|---|
| Title | Rider: Code Naming Style (full resharper_* naming list) |
| Publisher | JetBrains |
| URL | https://www.jetbrains.com/help/rider/Coding_Assistance__Naming_Style.html |
| Covers | resharper_csharp_naming_rule.* |
RS-NAMING-OPT¶
| Field | Value |
|---|---|
| Title | ReSharper: C# Naming Style options |
| Publisher | JetBrains |
| URL | https://www.jetbrains.com/help/resharper/Reference__Options__Languages__CSharp__CSharp_Naming_Style.html |
| Covers | Event handler naming, auto-detection; its options screenshot lists every predefined naming rule with its default ("From: Default") |
RS-EDITORCONFIG¶
| Field | Value |
|---|---|
| Title | ReSharper: Use EditorConfig |
| Publisher | JetBrains |
| URL | https://www.jetbrains.com/help/resharper/Using_EditorConfig.html |
| Covers | Which Roslyn keys ReSharper reads |
RD-EDITORCONFIG¶
| Field | Value |
|---|---|
| Title | Rider: Use EditorConfig |
| Publisher | JetBrains |
| URL | https://www.jetbrains.com/help/rider/Using_EditorConfig.html |
| Covers | Rider EditorConfig switches |
RS-EC-INDEX¶
| Field | Value |
|---|---|
| Title | ReSharper: EditorConfig properties index |
| Publisher | JetBrains |
| URL | https://www.jetbrains.com/help/resharper/EditorConfig_Index.html |
| Covers | resharper_* property index |
RS-SYNTAX¶
| Field | Value |
|---|---|
| Title | ReSharper: C# syntax style EditorConfig properties |
| Publisher | JetBrains |
| URL | https://www.jetbrains.com/help/resharper/EditorConfig_CSHARP_CSharpCodeStylePageImplSchema.html |
| Covers | var, qualifiers, braces, bodies, namespaces |
RS-BLANK¶
| Field | Value |
|---|---|
| Title | ReSharper: C# blank lines EditorConfig properties |
| Publisher | JetBrains |
| URL | https://www.jetbrains.com/help/resharper/EditorConfig_CSHARP_BlankLinesPageScheme.html |
| Covers | Blank-line counts |
RS-BRACES¶
| Field | Value |
|---|---|
| Title | ReSharper: C# braces layout EditorConfig properties |
| Publisher | JetBrains |
| URL | https://www.jetbrains.com/help/resharper/EditorConfig_CSHARP_BracesPageSchema.html |
| Covers | Brace placement |
RS-LINEBREAKS¶
| Field | Value |
|---|---|
| Title | ReSharper: C# line breaks and wrapping EditorConfig properties |
| Publisher | JetBrains |
| URL | https://www.jetbrains.com/help/resharper/EditorConfig_CSHARP_LineBreaksPageSchema.html |
| Covers | Wrapping, max_line_length |
RS-INDENT¶
| Field | Value |
|---|---|
| Title | ReSharper: C# tabs, indents and alignment EditorConfig properties |
| Publisher | JetBrains |
| URL | https://www.jetbrains.com/help/resharper/EditorConfig_CSHARP_CSharpIndentStylePageSchema.html |
| Covers | Indentation |
RS-GENERALIZED¶
| Field | Value |
|---|---|
| Title | ReSharper: generalized EditorConfig properties |
| Publisher | JetBrains |
| URL | https://www.jetbrains.com/help/resharper/EditorConfig_Generalized.html |
| Covers | Language-neutral properties |
RS-INSPECT¶
| Field | Value |
|---|---|
| Title | ReSharper: C# code inspections index |
| Publisher | JetBrains |
| URL | https://www.jetbrains.com/help/resharper/Reference__Code_Inspections_CSHARP.html |
| Covers | Inspection IDs and default severities |
RS-SEVERITY¶
| Field | Value |
|---|---|
| Title | ReSharper: Configure inspection severity |
| Publisher | JetBrains |
| URL | https://www.jetbrains.com/help/resharper/Code_Analysis__Configuring_Warnings.html |
| Covers | resharper_*_highlighting values |
RS-CODESTYLE¶
| Field | Value |
|---|---|
| Title | ReSharper: Code syntax style |
| Publisher | JetBrains |
| URL | https://www.jetbrains.com/help/resharper/Code_Syntax_Style.html |
| Covers | Syntax style settings and EditorConfig |
RS-VAR¶
| Field | Value |
|---|---|
| Title | ReSharper: Use var keyword in declarations |
| Publisher | JetBrains |
| URL | https://www.jetbrains.com/help/resharper/Using_var_Keyword_in_Declarations.html |
| Covers | var preferences and evident types |
RS-QUAL¶
| Field | Value |
|---|---|
| Title | ReSharper: Arrange member qualifiers |
| Publisher | JetBrains |
| URL | https://www.jetbrains.com/help/resharper/Arranging_Member_Qualifiers.html |
| Covers | this. and static qualifiers |
RS-MODIFIERS¶
| Field | Value |
|---|---|
| Title | ReSharper: Modifiers style |
| Publisher | JetBrains |
| URL | https://www.jetbrains.com/help/resharper/Modifiers_Style.html |
| Covers | Explicit modifiers and order |
RS-BRACES-STYLE¶
| Field | Value |
|---|---|
| Title | ReSharper: Braces for single nested statements |
| Publisher | JetBrains |
| URL | https://www.jetbrains.com/help/resharper/Braces_for_Single_Line_Statements.html |
| Covers | Required braces |
RS-TRAILING¶
| Field | Value |
|---|---|
| Title | ReSharper: Trailing commas style |
| Publisher | JetBrains |
| URL | https://www.jetbrains.com/help/resharper/Trailing_Commas_Style.html |
| Covers | Trailing commas |
RS-BUILTIN¶
| Field | Value |
|---|---|
| Title | ReSharper: Built-in type naming |
| Publisher | JetBrains |
| URL | https://www.jetbrains.com/help/resharper/Built_In_Type_Naming.html |
| Covers | int versus Int32 |
RS-EMPTYSTR¶
| Field | Value |
|---|---|
| Title | ReSharper: Empty string style |
| Publisher | JetBrains |
| URL | https://www.jetbrains.com/help/resharper/Empty_String_Style.html |
| Covers | "" versus string.Empty |
RS-FSNS¶
| Field | Value |
|---|---|
| Title | ReSharper: File-scoped namespaces |
| Publisher | JetBrains |
| URL | https://www.jetbrains.com/help/resharper/File_Scoped_Namespaces.html |
| Covers | Namespace body style |
RS-IMPORTS¶
| Field | Value |
|---|---|
| Title | ReSharper: Namespace imports style |
| Publisher | JetBrains |
| URL | https://www.jetbrains.com/help/resharper/Namespace_Imports_Style.html |
| Covers | using directive options |
RS-BODIES¶
| Field | Value |
|---|---|
| Title | ReSharper: Bodies of function members |
| Publisher | JetBrains |
| URL | https://www.jetbrains.com/help/resharper/Bodies_of_Function_Members.html |
| Covers | Expression bodies |
RS-NEW¶
| Field | Value |
|---|---|
| Title | ReSharper: Object creation style |
| Publisher | JetBrains |
| URL | https://www.jetbrains.com/help/resharper/Object_Creation_Style.html |
| Covers | Target-typed new |
RS-LAYOUT¶
| Field | Value |
|---|---|
| Title | ReSharper: File and type layout |
| Publisher | JetBrains |
| URL | https://www.jetbrains.com/help/resharper/File_and_Type_Layout.html |
| Covers | Member order (DotSettings only) |
RD-LAYOUT¶
| Field | Value |
|---|---|
| Title | Rider: File and type layout |
| Publisher | JetBrains |
| URL | https://www.jetbrains.com/help/rider/File_and_Type_Layout.html |
| Covers | Member order in Rider |
RS-STYLECOP¶
| Field | Value |
|---|---|
| Title | ReSharper: StyleCop styles |
| Publisher | JetBrains |
| URL | https://www.jetbrains.com/help/resharper/StyleCop_Styles.html |
| Covers | StyleCop settings precedence |
RS-INSPECTCODE¶
| Field | Value |
|---|---|
| Title | ReSharper command-line tools: InspectCode |
| Publisher | JetBrains |
| URL | https://www.jetbrains.com/help/resharper/InspectCode.html |
| Covers | CLI inspection |
RS-CLEANUPCODE¶
| Field | Value |
|---|---|
| Title | ReSharper command-line tools: CleanupCode |
| Publisher | JetBrains |
| URL | https://www.jetbrains.com/help/resharper/CleanupCode.html |
| Covers | CLI cleanup |
RS-I-NAMING¶
| Field | Value |
|---|---|
| Title | ReSharper inspection: InconsistentNaming |
| Publisher | JetBrains |
| URL | https://www.jetbrains.com/help/resharper/InconsistentNaming.html |
| Covers | Naming inspection |
RS-I-CHECKNS¶
| Field | Value |
|---|---|
| Title | ReSharper inspection: CheckNamespace |
| Publisher | JetBrains |
| URL | https://www.jetbrains.com/help/resharper/CheckNamespace.html |
| Covers | Namespace versus folder |
RS-I-MODORDER¶
| Field | Value |
|---|---|
| Title | ReSharper inspection: ArrangeModifiersOrder |
| Publisher | JetBrains |
| URL | https://www.jetbrains.com/help/resharper/ArrangeModifiersOrder.html |
| Covers | Modifier order |
RS-I-VARBUILTIN¶
| Field | Value |
|---|---|
| Title | ReSharper inspection: SuggestVarOrType_BuiltInTypes |
| Publisher | JetBrains |
| URL | https://www.jetbrains.com/help/resharper/SuggestVarOrType_BuiltInTypes.html |
| Covers | var for built-in types |