Beyond Basics - ASP.Net Core Adding Caching

Starting the journey of going past the basics of beginner training resources to appy software development practices and design patterns.

June 4, 2019 · 5 min

Playing with C# 7 - Deconstruct

Looking at how newer language features allow for extension of types to add Deconstruct functionality.

October 23, 2018 · 4 min

Mocking the Clock

Reducing the coupling of code dependent on DateTimeOffset

March 15, 2018 · 4 min

Why I love Resharper 1

With every new version of C# a new version of Resharper appears. It teaches me the new language features and how I can write my code in the new way. It’s not always right as the code it converts to can be unmaintainable so you have to be careful. But every now and then it makes me realise why I pay for a great productivity tool. public FeatureController(ApplicationDbContext applicationDbContext) { if (applicationDbContext == null) { throw new ArgumentNullException("applicationDbContext", "Argument cannot be null....

January 19, 2018 · 1 min

Refactoring Kata - 6 Year Code Review

Going through my old repositories on Github made me realise I’d forgotten about a number of coding items I have done in the past. There was one which was a coding Kata originally created by Scott Allen around refactoring. Refactoring is the ability to improve code readability to increase its simplicity and maintainability. If you write code that the rest of your development team can’t understand or spends 10 times as long to understand before they can alter it then it’s failed....

January 16, 2018 · 6 min