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 […]
Author: Steve Gordon
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 […]
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 […]