Skip to main content

Steve Gordon – Code with Steve

  • About Me
  • Contact
  • Subscribe

Tag: onRetry

Passing an ILogger to Polly Policies A short example of how to pass the ASP.NET Core ILogger to policy delegates such as OnRetry.

16th October 201816th October 2018 Steve Gordon Leave a comment

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 […]

Read More

Pluralsight Courses


  • Creating Background Services in ASP.NET Core and .NET
  • Dependency Injection in ASP.NET Core 6
  • Configuration and Options in ASP.NET Core 6
  • String Manipulation and Regex in C#10
  • String Manipulation in C#: Best Practices
  • Integration Testing ASP.NET Core Applications: Best Practices
  • Implementing Cross-cutting Concerns for ASP.NET Core Microservices

Follow me

  • Twitter
  • Github
  • LinkedIn
  • YouTube
  • Mastodon

Support This Blog

Become a Patron!

Support this blog!Buy me a coffee!

Recent Posts

  • How dotnet.exe resolves and loads the hostfxr library – Exploring the .NET muxer
  • A Brief Introduction to the .NET Muxer (aka dotnet.exe)
  • Implementing ASP.NET Core Automatic Span (Activity) Linking for Internal Redirects with Middleware on .NET 9
  • An Efficient Dictionary for IPAddress Tracking using .NET 9 with AlternateLookup and IAlternateEqualityComparer
  • Receiving GitHub Webhooks When Using the ASP.NET Core Developer Certificate

.NET South East

Please come and join our new .NET User  Group in Brighton, UK.

Categories

Archives

  • Twitter
  • Github
  • LinkedIn
  • YouTube
  • Mastodon
  • Twitter
  • Github
  • LinkedIn
  • YouTube
  • Mastodon
Copyright © Steve Gordon 2019 Theme by Colorlib Powered by WordPress