Model Context Protocol (MCP) in C#: Build Servers and Clients
Build Model Context Protocol servers and clients in C# with the official SDK 2.x: tools, resources, Streamable HTTP, OAuth, security and VS Code setup.
49 articles about ASP.NET Core: in-depth .NET and AI guides, senior interview questions and AI news on DotNet AI Hub.
Build Model Context Protocol servers and clients in C# with the official SDK 2.x: tools, resources, Streamable HTTP, OAuth, security and VS Code setup.
Learn ML.NET in C#: MLContext, IDataView, pipelines, trainers, AutoML, metrics, PredictionEnginePool, ONNX, and when to pick ML.NET over LLMs.
Build production RAG in C#, covering ingestion, chunking, embeddings, hybrid retrieval, reranking, grounded prompts, citations and evaluation in .NET.
Clean Architecture in .NET 10 explained: layers, the dependency rule, project layout, use case handlers, validation, mapping, testing and vertical slices.
CQRS and the mediator pattern in .NET: commands, queries, handlers, pipeline behaviors, MediatR's license change, Wolverine, Mediator and read models.
A practical roadmap for modernizing .NET Framework apps: assessment, AI-assisted tooling, System.Web adapters with YARP, CoreWCF and EF6 migration.
Learn how ASP.NET Core architecture works: WebApplication hosting, Kestrel, IIS and reverse proxies, HTTP/3, endpoint routing, middleware and configuration.
Blazor in .NET 10 explained: static SSR, streaming, Interactive Server, WebAssembly and Auto render modes, lifecycle, state, forms, JS interop and auth.
Speed up and protect ASP.NET Core apps with output caching, HybridCache L1/L2 caching and rate limiting: policies, tags, Redis, partitions and 429s.
Build fast gRPC services in .NET with Protobuf contracts, streaming, client factory, interceptors, deadlines, gRPC-Web, JSON transcoding and load balancing.
Master ASP.NET Core middleware: the RequestDelegate pipeline, Use, Run, Map and UseWhen, correct ordering, custom and IMiddleware components, errors and tests.
Build fast HTTP APIs with Minimal APIs in ASP.NET Core: route handlers, binding, TypedResults, route groups, filters, .NET 10 validation, OpenAPI and AOT.
Generate OpenAPI 3.1 and 3.2 documents in ASP.NET Core with Microsoft.AspNetCore.OpenApi, transformers, Scalar or Swagger UI, and Kiota or NSwag clients.
Razor Pages vs MVC in ASP.NET Core: page models, controllers, tag helpers, view components, validation, antiforgery, htmx and when to choose Blazor SSR.
REST API design best practices for ASP.NET Core: resource naming, HTTP semantics, status codes, ProblemDetails, pagination, ETags, idempotency and versioning.
Build real-time features with ASP.NET Core SignalR, covering hubs, transports, groups, streaming, authentication, MessagePack and scaling out with Redis.
Build reverse proxies and API gateways with YARP, covering routes, clusters, transforms, load balancing, health checks, session affinity and the BFF pattern.
Build small, secure .NET 10 container images with multi-stage Dockerfiles, SDK container publishing, chiseled base images, non-root users and scanning.
Run ASP.NET Core on Kubernetes in production: health probes, ConfigMaps, GC and CPU limits, graceful shutdown, HPA and KEDA autoscaling, AKS and Helm.
Build resilient .NET HTTP clients with Polly v8 and Microsoft.Extensions.Http.Resilience: retries, circuit breakers, timeouts, hedging and chaos testing.
Caching in .NET explained: IMemoryCache, IDistributedCache, Redis and HybridCache, plus invalidation, TTL design, cache keys, serialization and hit ratio.
Master dependency injection in .NET: service lifetimes, scope validation, captive dependencies, keyed services, open generics, decorators and anti-patterns.
A practical tour of .NET 10 LTS: JIT de-abstraction, stack allocation, post-quantum crypto, strict JSON, file-based apps, C# 14 and the .NET 11 outlook.
A practical guide to ASP.NET Core authentication: schemes and handlers, cookies, JWT bearer validation, OpenID Connect with Entra ID, and the BFF pattern.
Learn ASP.NET Core authorization in depth, covering roles, claims, policy requirements and handlers, resource-based checks, permissions and testing.
A practical guide to cryptography in .NET, covering the Data Protection API, password hashing, AesGcm, RSA/ECDsa and post-quantum APIs.
Compare ASP.NET Core Identity, Microsoft Entra ID, Duende IdentityServer, OpenIddict, Keycloak, Auth0 and Okta to pick an identity stack.
A code-first tour of the OWASP Top 10:2025 risks, with concrete ASP.NET Core, EF Core and C# mitigations for access control, injection and more.
Integration test ASP.NET Core with WebApplicationFactory, real databases via Testcontainers, Respawn resets, auth mocking and Aspire's testing builder.
Architect-level design patterns interview questions covering Strategy, Decorator, Factory, Mediator and real ASP.NET Core and BCL examples.
Architect interview questions on API gateway responsibilities, YARP vs Azure API Management, BFF token security, aggregation and avoiding a gateway monolith.
10 senior ASP.NET Core interview questions on Kestrel, hosting models, middleware ordering, endpoint routing internals and HttpContext lifetime.
10 architect-level ASP.NET Core interview questions on statelessness, caching, rate limiting, socket exhaustion, thread-pool starvation and capacity planning.
Senior-level Blazor interview questions covering render modes, circuits, state management, prerendering pitfalls, WebAssembly performance and authentication.
Senior ASP.NET Core interview questions on configuration precedence, IOptions vs IOptionsSnapshot vs IOptionsMonitor, validation, secrets and feature flags.
10 senior .NET interview questions on DI lifetimes, captive dependencies, scope validation, keyed services, decorators, disposal and anti-patterns.
Senior-level interview questions on gRPC streaming, deadlines and HTTP/2 load balancing, plus SignalR scale-out, sticky sessions and delivery guarantees.
10 senior ASP.NET Core interview questions comparing Minimal APIs and controllers on architecture, performance, Native AOT, testing and migration.
10 senior interview questions on REST API design: idempotency, versioning, cursor pagination, ProblemDetails, PATCH semantics, ETags and governance.
Senior .NET interview questions on CancellationToken patterns, linked tokens, timeouts with WaitAsync, IHostApplicationLifetime, and graceful shutdown.
Senior-level TPL interview questions covering CPU-bound vs I/O-bound work, Parallel.ForEachAsync, PLINQ, partitioners and limiting concurrency.
Ten senior .NET interview questions on exception cost, the two-pass model, filters, ExceptionDispatchInfo, IExceptionHandler and Result patterns.
Senior .NET interview questions on retries, backoff and jitter, circuit breakers, bulkheads, hedging, fallbacks, retry storms, Polly v8 and Http.Resilience.
Architect-level interview questions on Kestrel tuning, async I/O, System.IO.Pipelines, pooling, backpressure, Server GC with DATAS and tail latency.
Senior .NET interview questions on System.Text.Json vs Newtonsoft.Json, source generation, polymorphic types, streaming and untrusted-input security.
Ten senior .NET interview questions on OAuth 2.0 PKCE, client credentials, JWT validation, refresh token rotation, BFF token storage and OAuth 2.1.
Ten senior .NET interview questions on OWASP Top 10 risks: injection, XSS, CSRF, SSRF, insecure deserialization, broken access control and STRIDE.
Architect-level interview questions on designing real-time chat in ASP.NET Core SignalR: connection scale, presence, delivery receipts and offline push.
Architect-level system design questions on distributed rate limiters in .NET: algorithms, Redis and Lua, ASP.NET Core limits and failure modes.