Observability and Cost Control for LLM Apps in .NET
Learn observability and cost control for .NET LLM apps, covering OpenTelemetry GenAI conventions, token tracking, caching, model routing and 429 retries.
15 articles about Observability & OpenTelemetry: in-depth .NET and AI guides, senior interview questions and AI news on DotNet AI Hub.
Learn observability and cost control for .NET LLM apps, covering OpenTelemetry GenAI conventions, token tracking, caching, model routing and 429 retries.
Build AI agents in C# with Microsoft Agent Framework 1.x: ChatClientAgent, sessions, tools, MCP, workflows, human approval, hosting and migration.
Master Microsoft.Extensions.AI: IChatClient, IEmbeddingGenerator, streaming, tool calling, middleware pipelines, DI registration, custom clients and testing.
Microservices architecture with .NET: service boundaries, data ownership, gRPC and messaging, gateways, sagas, outbox, OpenTelemetry, Aspire and eShop.
Learn .NET Aspire 13: the AppHost resource model, service defaults, dashboard, Redis and PostgreSQL integrations, testing and deploying with aspire deploy.
Instrument .NET apps with OpenTelemetry: ActivitySource traces, Meter metrics, ILogger logs, OTLP export, sampling, propagation and backends.
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.
A practical guide to the .NET Generic Host: configuration providers and precedence, validated strongly typed options, and structured high-performance logging.
A practical guide to dotnet-counters, dotnet-trace, dotnet-dump, dotnet-gcdump and dotnet-monitor for diagnosing .NET apps in production.
Architect-level interview questions on productionizing AI: evaluation, OpenTelemetry GenAI observability, cost, latency, prompt injection and compliance.
Ten senior-level interview questions on Aspire's AppHost model, service defaults, testing and deployment, and how it compares to Compose, Dapr and Tye.
Senior and architect .NET interview questions on OpenTelemetry, W3C trace context propagation, sampling strategies, structured logging, SLOs and alerting.
Senior .NET system design interview questions on notification systems covering multi-channel delivery, queueing, templating, rate limits and failover.
Aspire 13.2, released March 23, 2026, turned aspire mcp into aspire agent with skills for AI coding agents and previewed TypeScript AppHosts.