While reactive strategies respond to failures after they occur, proactive strategies prevent problems before they happen. In this post, we'll explore the two essential proactive strategies: Timeout and Rate Limiter. The Rate Limiter strategy is particularly versatile, offering both traditional rate limiting (controlling requests over time) and concurrency limiting (controlling simultaneous operations). Together, these strategies help you constrain resource usage and execution time to keep your applications stable and performant.
Read more →Explore the real limits of LLM context windows, why infinite growth is impractical, and how to build scalable AI solutions using retrieval, summarization, and memory systems.
Read more →Polly provides several reactive resilience strategies that respond to failures as they occur. In this post, we'll explore four essential reactive strategies: Retry, Circuit Breaker, Fallback, and Hedging. Each addresses different failure scenarios and can be combined to create robust resilience pipelines.
Read more →It's inevitable that production will fail. Your ability to respond quickly greatly depends on being able to determine what went wrong.
Read more →Adding observability to Polly resilience pipelines involves configuring TelemetryOptions for logging, customizing severity levels for resilience events, integrating OpenTelemetry to export metrics to monitoring dashboards, and creating custom MeteringEnricher classes for contextual data. This provides crucial insights into how applications handle service failures and enables data-driven optimization of resilience strategies.
Read more →Learn how to create a GitHub template repository with boilerplate files for .NET 10 applications optimized for AI coding agents.
Read more →Sometimes it can be really useful to add commands to your Aspire dashboard. It's easy to do and amazingly useful.
Read more →One of the greatest features of Aspire is how easy it is to set up, configure, and work with databases.
Read more →In this blog post, we explore how to build a Santa Chat application using AI and Retrieval-Augmented Generation (RAG) with the latest Microsoft.Extensions.AI project templates. Discover how to leverage these technologies to create an engaging and interactive experience.
Read more →In this post, Sadukie breaks down some concepts seen in testing that can get muddled - test doubles, fakes, stubs, mocks, and spies.
Read more →