If you find the information in this post useful and want to learn more about configuration and options, may I suggest viewing my new course on Pluralsight – “Using Configuration and Options in .NET Core and ASP.NET Core Apps“? I dive deeply into applying all of the features in your applications. I was listening to […]
Category: ASP.NET Core
Passing an ILogger to Polly Policies A short example of how to pass the ASP.NET Core ILogger to policy delegates such as OnRetry.
In a previous post, I looked at how we could use the Polly context to obtain a retry count after policy execution. In this post, I want to explore a similar requirement that can also be solved by using the Polly context; this time to pass in an ILogger to be used for logging messages […]
Running AWS DynamoDB Locally for .NET Core Developers Configuring an ASP.NET Core application to use a local DynamoDB Docker container
For a recent set of .NET Core based microservices I have found myself using AWS DynamoDB as a data store. I recently discovered that AWS provides (and have done for 5 years!) a local version of DynamoDB which is perfect for testing applications offline and without the need to set up actual DynamoDB tables in […]
ASP.NET Core 2.2 First Look – Endpoint Routing (aka Dispatcher) What is Endpoint Routing in ASP.NET Core 2.2?
The first preview of ASP.NET Core 2.2 is due (very) soon and it will be our first chance to test the changes and new features which are expected to be released by the end of this year. ASP.NET Core 2.2 marks the next minor release of the ASP.NET Core framework, following on from the ASP.NET […]
Working with Polly – Using the Context to Obtain the Retry Count for Diagnostics Exploring a basic use case the for Polly Context object to track diagnostic data
I’ve been using Polly for a number of years now. For the most part, my usage of the library has been to solve some quite basic problems; commonly to implement retry logic when calling external services for example. In this post, I want to explore a requirement I had when using Polly within a library […]