This post marks the beginning of what I expect will be a fairly long series of performance related posts. I’ll use this post as of a table of contents for accessing those future posts as well as to begin the series by discussing my personal motivations for learning more about writing high-performance C# code. I’m […]
Author: Steve Gordon
Running AWS S3 (Simple Storage Service) Locally for .NET Core Developers Configuring an ASP.NET Core application to use a local S3 Docker container
In a previous post, I described how to run AWS DynamoDb locally using the AWS supplied docker image. I’ve recently been doing some work where I’m benchmarking code that works against AWS services. For example, I’m working to optimise speed and reduce allocations when downloading and parsing a file from AWS S3. I was curious […]
Publishing to AWS Simple Notification Service (SNS) from ASP.NET Core Building distributed systems with .NET Corea and AWS
In this post, I’ll demonstrate how to publish a message to AWS Simple Notification Service from an ASP.NET Core application. The same steps will work just as easily from a .NET Core generic host based console application also. I’ve decided to cover them here as I couldn’t find a specific piece of documentation for this […]
ASP.NET Core 2.2 – Options Validation Exploring the new validation feature when using the options pattern in ASP.NET Core.
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 […]
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 […]