dotnet-ai/provider-agnostic-chat-gateway |
.NET 10 Microsoft.Extensions.AI gateway with allow-listed IChatClient providers, bounded conversation state, SSE streaming, safe function calling, and deterministic tests |
Microsoft.Extensions.AI Tutorial: Build a Multi-Provider IChatClient Gateway |
dotnet-ai/hybrid-search-ef-core-pgvector |
Verified .NET 10 API combining PostgreSQL full-text search (GIN) and pgvector cosine retrieval (HNSW), fused with Reciprocal Rank Fusion |
Hybrid Search in .NET with EF Core 10 and pgvector |
dotnet-ai/agent-framework-incident-triage |
Evidence-first Microsoft Agent Framework sample with read-only tools, deterministic incident evidence, AgentSession reuse, and correlation-vs-causation boundaries |
Microsoft Agent Framework Tutorial in C#: Build a Tool-Using AI Agent |
dotnet-ai/mcp-server-csharp-dotnet |
.NET 10 MCP stdio server with three read-only tools, deterministic JSON-backed data, real client discovery/invocation, protocol error verification, and deterministic tests |
Build Your First MCP Server in C# and .NET |
dotnet-ai/microsoft-extensions-ai-evaluation |
Offline prompt regression testing across 12 incidents and five hard checks, with optional live evaluation |
Tutorial in preparation. Browse .NET AI tutorials |
dotnet-ai/opentelemetry-ai-observability |
.NET 10 traces and metrics for model calls, tool execution, and a downstream Evidence API, with deterministic tests and optional Jaeger and live-model runs |
Tutorial in preparation. Browse .NET AI tutorials |
dotnet-aspire/orchestrate-distributed-system |
Minimal Aspire AppHost coordinating a web project and API with service discovery and startup ordering |
Aspire in .NET: Orchestrate, Run, and Deploy a Distributed System from One App Host |
software-architecture/architecture-testing-dotnet |
Minimal NetArchTest.eNhancedEdition rule that prevents Domain from depending on outer layers |
Architecture Testing in .NET: Enforce Layer and Module Boundaries with NetArchTest and ArchUnitNET |
distributed-systems/transactional-outbox-ef-core |
Minimal EF Core and SQLite demonstration that saves business state and an outbox message atomically, then publishes it through a one-shot relay |
Transactional Outbox Pattern in .NET with EF Core (.NET 10): Fix the Dual-Write Problem |
aspnet-core/api-security-in-practice |
Minimal JWT bearer authentication, note ownership enforcement, and rate limiting for an ASP.NET Core API |
ASP.NET Core 8 API Security: JWT Authentication, CSRF Protection & Rate Limiting |
aspnet-core/passkey-first-identity |
Minimal .NET 10 Identity sample for passkey enrollment, username-first passkey sign-in, antiforgery protection, and stored credential listing |
Passkeys in ASP.NET Core Identity (.NET 10): Build a Passwordless-First Web App with WebAuthn |
aspnet-core/build-web-api-dotnet-8 |
Minimal .NET 10 Todo API demonstrating route groups, dependency injection, CRUD status codes, validation, middleware, and integration testing |
ASP.NET Core Fundamentals: Build Web APIs on .NET 8 |
aspnet-core/caching-outputcache-redis-invalidation |
Minimal .NET 10 Catalog API demonstrating Output Cache policies, query and route variation, tag eviction, write-path invalidation, and integration testing |
ASP.NET Core Caching: Output Cache, Redis & Invalidation Strategies That Actually Work |
aspnet-core/minimal-apis-real-world |
Focused .NET 10 Orders API demonstrating endpoint filters, FluentValidation, URL-segment versioning, typed results, and partitioned rate limiting |
ASP.NET Core / Minimal APIs in the Real World: Filters, Validation, Versioning & Rate Limiting |
blazor/create-interactive-ui-csharp-12 |
Interactive .NET 10 Todo Dashboard demonstrating Razor components, form binding, DataAnnotations validation, scoped state, EventCallback communication, filtering, and bUnit component tests |
Blazor Web Development: Create Interactive UIs with C# 12 |
blazor/forms-validation-masterclass |
Focused .NET 10 Profile Settings form demonstrating manual EditContext management, DataAnnotations, FluentValidation, backend field-error mapping, accessible inputs, dirty state, and bUnit testing |
Blazor .NET 8 Forms & Validation: EditForm, FluentValidation & Server Error Handling |
blazor/ssr-interactive-islands |
Focused .NET 10 catalog demonstrating static SSR, streaming review updates, a serializable render-mode boundary, an Interactive Server cart island, and component/integration testing |
Blazor SSR & Interactive Islands: Streaming Rendering, Auto Render Mode & Progressive Enhancement |
cloud-native/dockerize-aspnet-core-clean-images |
Focused .NET 10 container sample demonstrating a multi-stage Dockerfile, locked restore, runtime-only image, non-root execution, port 8080, runtime configuration, health checks, hardened Compose settings, and CI smoke testing |
Dockerizing ASP.NET Core: Multi-Stage Builds, Clean Images & a Production-Ready Ship Workflow |
cloud-native/health-resilience-zero-downtime |
Focused .NET 10 Orders API demonstrating tagged liveness/readiness checks, structured health output, shutdown readiness draining, typed HttpClient retries, circuit breaking, attempt timeouts, and deterministic integration testing |
.NET 8 Cloud-Native: Health Probes, Polly Resilience & Zero-Downtime Kubernetes Deployments |
cloud-native/polly-resilience |
Focused .NET 10 Polly v8 catalog sample demonstrating explicit stale-cache fallback, timeout-driven degradation, outbound concurrency isolation, strategy event counters, and deterministic integration testing |
Polly Resilience (Polly v8): Timeouts, Retries, Circuits, Bulkheads, Hedging |
csharp-language/csharp-12-features |
Focused .NET 10 console lab locked to C# 12.0, demonstrating primary constructors with explicit properties, collection expressions and spreads, default lambda parameters, tuple-type aliases, deterministic output, and unit tests |
C# 12 Language Features: Primary Constructors, Collections & More |
csharp-language/high-performance-memory-management |
Focused .NET 10 UTF-8 ingestion sample demonstrating PipeReader framing, segmented ReadOnlySequence handling, span-based numeric parsing, bounded MemoryPool ownership, strict input validation, deterministic output, and tests |
High-Performance C#: Span, Memory, SIMD & Pipelines |
csharp-language/modern-patterns-result-pipeline |
Focused .NET 10 console companion locked to C# 12.0, demonstrating a custom Result type, safe and diagnostic errors, Map/Bind/BindAsync composition, invariant text-import validation, short-circuit persistence, cancellation, deterministic output, and tests |
C# 12 Functional Patterns: Result Type, Error Handling & Composable Pipeline Testing |
dotnet-8-essentials/background-jobs-hostedservice-queues |
Focused ASP.NET Core Minimal API demonstrating a bounded Channel queue, asynchronous backpressure, a BackgroundService consumer, fresh scoped handlers, safe in-memory job status, exception isolation, cancellation, and integration tests |
.NET 8 Background Jobs: IBackgroundTaskQueue, BackgroundService & Production-Ready Patterns |
dotnet-8-essentials/configuration-secrets-environments |
Focused .NET 10 Minimal API demonstrating layered configuration precedence, prefixed environment variables, command-line overrides, strongly typed options, startup validation, User Secrets metadata, a lightweight feature flag, and safe Development-only diagnostics |
.NET 8 Configuration & Secrets Management: Typed Options, User Secrets & Feature Flags |
dotnet-8-essentials/core-features-get-started |
Focused .NET 10 Native AOT Minimal API demonstrating CreateSlimBuilder, source-generated JSON, typed DI, AOT-safe endpoints, analyzer-aware publishing, and direct native-binary smoke testing |
.NET 8 Essentials: Core Features & Getting Started |
dotnet-8-essentials/observability-opentelemetry |
Focused .NET 10 OpenTelemetry companion demonstrating ASP.NET Core request instrumentation, custom ActivitySource spans, low-cardinality Meter metrics, structured ILogger events, automatic log-to-trace correlation, console export, and deterministic tests without external observability infrastructure |
.NET 8 Observability with OpenTelemetry: Tracing, Metrics & Structured Logging |
ef-core/advanced-modeling-performance |
Focused .NET 10 / EF Core 10 relational-data companion demonstrating DTO projection, no-tracking reads, a compiled hot-path query, named soft-delete filtering, ExecuteUpdate, ExecuteDelete, and explicit change-tracker caveats with deterministic SQLite tests |
EF Core Advanced Modeling & Performance: Owned Types, Converters, JSON/Temporal Tables, Compiled Queries |
ef-core/modern-data-access-dotnet |
Focused .NET 10 / EF Core 10 relationship-loading companion demonstrating one-to-many and many-to-many modeling, an intentional N+1 baseline, eager and filtered Include, split-query loading, explicit loading, SELECT-command counting, and deterministic SQLite verification |
EF Core 8 Fundamentals: Modern Data Access with .NET 8 |
ef-core/multitenancy-softdelete-auditing |
Focused .NET 10 / EF Core 10 multi-tenant data guardrail companion demonstrating fail-closed tenant filtering, named soft-delete filtering, tenant-scoped composite identity, SaveChanges interception, automatic audit metadata, selective deleted-record access, cross-tenant mutation rejection, and deterministic SQLite isolation tests |
EF Core 8 Multi-Tenancy: Tenant Isolation, Soft Deletes, Audit Trails & Query Filters |
ef-core/testing-sqlite-inmemory-vs-inmemory |
Focused .NET 10 / EF Core 10 provider-contrast companion demonstrating how SQLite in-memory and the EF Core InMemory provider differ on unique constraints, foreign keys, transactions, and database-side cascades while explicitly treating SQLite as a test double rather than production-provider parity |
EF Core Testing: SQLite In-Memory vs InMemory Provider — Which One Can You Actually Trust? |
评论