23 Dec 2020

Year in Review: 2020

This year has obviously been a lot different than everyone expected. I feel extremely fortunately and lucky to be in an industry that naturally makes it easy to work from home. In fact, remote work is something I've wanted to try full-time for quite some time, and this year has not only forced it to happen, but also made it more normal in our industry (hopefully now moving forwards). It's just a shame it took something so terrible as what's happening for this to become a thing.

Career, YearInReview
01 Nov 2020

Starting 'The Unhandled Exception' podcast

I have some exciting news! As you may already know if you follow me on Twitter, I've recently started my very own podcast!!

04 Oct 2020

Standing desk: Part 1 - Initial thoughts

As an industry, we spend far too much time sat down. A quick Google search will show plenty of research suggesting that this is very bad for you in many different ways. I've very recently invested in a standing desk, and thought I'd share what led up to me buying it, which one I chose, and also my initial experiences using it. This will be a 'part 1', with a follow up in about 6 months.

27 Sep 2020

Git: Dealing with unrelated changes whilst working on a feature branch

How many times have you been working in a Git feature branch, and come across something in code that you want to change, but isn't related to the feature your on? Perhaps a code tidyup, or fixing some unrelated warnings?

20 Sep 2020

Comparing .NET Mocking Libraries

There are quite a few different mocking libraries in .NET. Moq and NSubstitute seem to be by far the main ones I hear that developers use. I've used both of these in different projects, and really like them both. Whilst my preference leans towards NSubstitute, I'd be happy using either. Out of interest, I posted a Twitter poll to see what other people preferred, and the results and replies were really interesting!...

.NET, Mocking, Testing
23 Aug 2020

Multi-page login screens, hidden username fields, and LastPass!

I've just recently had an issue where I'd created two accounts for the same website - one for myself and one for my wife. I quickly hit a very strange issue where if I logged into my wife's account, I would end up in my own account! I must admit, I initially jumped to thinking that the website must have some appallingly terrible authentication code. It turns out I was wrong, and it's something that might be quite common amongst multi-page login screens.

01 Aug 2020

Cleaner tests with XUnit's IAsyncLifetime and expression-bodied members

When writing tests, sometimes it can be tempting to dump a bunch of asserts into the same test to avoid duplication across multiple tests...

.NET, Testing
05 Jul 2020

DevOps Tooling for Developers - we're so spoilt!

Last week I had a catchup meeting with a client about the progress of a platform I'm building for them, and showed them how the "devops" side of things works. Demoing it really struck me how insanely awesome all the tooling we have nowadays is, and also how much I take it for granted!

Azure, AzureDevOps, BestPractices, Git, Productivity
20 Jun 2020

Pair Programming

I've recently started a new contract where we do 100% pair-programming. This is the first time I've done pair-programming on anywhere near this level. In the past, I've only ever paired on an ad-hock basis either to help someone else solve an issue, or vice-versa. This is an 8-hour per day contract, where other than meetings, we're pairing for all of those 8 hours. Sounds full-on? Well, actually so far, it seems to be working pretty well! Obviously, it makes a huge difference who you're working with, and I've been lucky that I seem to be getting on well with both developers that I've paired with, and we seem to think in the same way and haven't hit any conflicts so far!

10 May 2020

Writing More Succinct C#

When looking at a lot of C# code nowadays, I find myself thinking "wow, that code could be made SO MUCH SMALLER!". C# is a very flexible language, allowing you to write clean and functional code, but also very bloated code.

C#, .NET
Page 1 of 11 (view more)


Recent Posts

Featured Posts

.NET Oxford Links