I'm Stu, it's a pleasure to e-meet you! I'm part of the platform teams at Checkout.com. I work on a variety of projects, including testing out new technologies, performance & scalability, streamlining product teams and general devops stuff.
🌱AWS Certified Solutions Architect Associate & AWS Certified Developer Associate 📫You can watch my YouTube videos all on things .NET, contact me on Twitter and read a few entries on my blog 🔭I’m currently working on build out Aspect - automated cloud policy verification
Recent YouTube videos
- My 3 Commonly Used Github Actions - CodeWithStu
- Use Git Hooks To Automate Your Workflow - CodeWithStu
- Cleanup Transitive Dependencies in .NET with Snitch- CodeWithStu
- Add Simple Distributed Tracing in .NET Libraries - CodeWithStu
- Get Started With OpenTelemetry and ASP.NET Core - CodeWithStu
Recent Blog Posts
- Using Certificates From AWS Private Certificate Authority in .NET As more and more companies get hacked, there is a strong resurgence in the community for the desire to have TLS for everything, everywhere. There are many valuable projects, tools and resources, such as LetsEncrypt available to help both individuals & companies secure their resources. One of those tools is AWS Private Certificate Authority.
- Blending Metrics Using EventCounters In C# In a world where we use auto-scaling a lot, its often not just one metric that we will take into consideration when deciding whether or not to scale our applications. For example, we might have a combination of CPU usage, memory usage and web request latency. Some services like AWS CloudWatch Metrics only allow scaling based off a single value. Luckily, we can blend metrics together to create new ones, which we can then use in our scaling policies. A blended metric is made up of however one or more existing metrics that you choose, called aspects, and can be published as if it were any other metric, eg: publish to DataDog/Cloudwatch.
- Publish Metrics to Cloudwatch in .NET Core In a previous post I took a look at how we can utilize .NET event counters to record metrics in our applications. However, I never covered the implementation of how I write the metrics to either CloudWatch or DataDog. In this article, I’m going to take a look at how to publish metrics to CloudWatch and one way of integrating it with the aforementioned blog series.
- Building a Zero Trust Architecture In AWS In the vast majority of companies that I’ve been in, software engineering & infrastructure best practises have often been left as something that needs to be updated later because building the product comes first. This is completely understandable as if you don’t have a product, you don’t have employment. This presents problems later when companies are beginning to scale rapidly and become popular. Not only does the company becomes a target for malicious actors, but security-related incidents can easily occur by leaving storage devices open accidentally. Once a malicious actor is in your system, you usually have pretty big problems unless you design your architectures with Zero Trust in mind.
- Using Moq with ref, in and out parameters in C# In this article, I want to take a look at a scenario that I came across this week which I’ve come across a few times. Occasionally, you will have an interface that you wish to mock out with Moq and find you have troubles because the method signature takes a ref or an out parameter. This week, I’ve found a way that we can successfully mock the method without too much of a change to the test code.