docs(rules): add MAUI and Blazor rules, close C# gaps
New C# topic rules for .NET MAUI and Blazor, both centered on performance and cross-platform reuse. MAUI covers compilation strategy per platform (ReadyToRun, NativeAOT), trim and AOT safety, lean startup, CollectionView and flat layouts, and per-platform conventions. Blazor covers render mode cost, WebAssembly payload size and AOT trade-offs, prerender state, rendering cost, and Razor class libraries shared across web, WebAssembly, and Hybrid hosts. The C# index and global routing now name both. The existing C# rules gain the net11.0 default of C# 15, async void only for event handlers, explicit StringComparison, invariant culture for machine data, UTC or DateTimeOffset for stored times, ProblemDetails, and ValidateOnStart. Duplicate authorization and raw SQL guidance in the architecture rule is merged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b74357b586
commit
ff33ea1327
9 files changed
+67
-6
No files matched your search
@@ -12,7 +12,7 @@ Changes to or reviews of code, scripts, hooks, tests, infrastructure, integratio
|
||||
|
||||
Focused security (Codex paths under `rules/security/references/`): authentication, authorization, sessions, tokens, permissions, tenants => `auth.md` / `rules-security-auth`; inbound HTTP endpoints, request handling, API (de)serialization => `api.md` / `rules-security-api`; browser, cookies, redirects, XSS, CSRF => `web.md` / `rules-security-web`; databases, queries, persistence, sensitive data => `data.md` / `rules-security-data`; files, uploads, archives, paths, processes, IPC, XML parsing, deserialization => `files.md` / `rules-security-files`; outbound HTTP calls, webhooks, URL fetching, proxies, TLS, SSRF => `network.md` / `rules-security-network`; cryptography, secrets, keys, credentials => `crypto.md` / `rules-security-crypto`; dependencies, packages, plugins, builds, deployment, CI => `supply-chain.md` / `rules-security-supply-chain`; LLM calls, prompts, agents, tools, retrieval/RAG => `ai.md` / `rules-security-ai`; active security testing => `testing.md` / `rules-security-testing`.
|
||||
|
||||
Technology indexes: Angular => `rules/angular/index.md` / `rules-angular`; C#/.NET => `rules/csharp/index.md` / `rules-csharp`; Java/JVM => `rules/java/index.md` / `rules-java`; TypeScript/ECMAScript => `rules/typescript/index.md` / `rules-typescript`; UI/UX => `rules/ui-ux/index.md` / `rules-ui-ux`; WPF/XAML/MVVM => `rules/wpf/index.md` / `rules-wpf`.
|
||||
Technology indexes: Angular => `rules/angular/index.md` / `rules-angular`; C#/.NET, Blazor, MAUI => `rules/csharp/index.md` / `rules-csharp`; Java/JVM => `rules/java/index.md` / `rules-java`; TypeScript/ECMAScript => `rules/typescript/index.md` / `rules-typescript`; UI/UX => `rules/ui-ux/index.md` / `rules-ui-ux`; WPF/XAML/MVVM => `rules/wpf/index.md` / `rules-wpf`.
|
||||
|
||||
Cross-cutting: unclear requirements or significant choices => `rules/decision-rule.md` / `rules-decision-rule`; completion or review readiness => `rules/definition-of-done.md` / `rules-definition-of-done`; Git operations => `rules/git.md` / `rules-git`; Azure DevOps, Teams, Microsoft 365, SharePoint, SQL Server, Confluence, Grafana, or other connected remote systems => `rules/microsoft.md` / `rules-microsoft`; delegation or long-running work => `rules/orchestration.md` / `rules-orchestration`; behavior-preserving refactors => `rules/refactoring.md` / `rules-refactoring`.
|
||||
|
||||
|
||||
Reference in new issue
Block a user