Ben Hyrman

A Hitchhiker's Guide to Strategic Design

Exploring Domain Driven Design to deliver robust software

Let's Make Some Art - Part 2

Let's make our computer draw stuff - again

Swapping two numbers in C#

Let's profile some code! This time we'll look at options for number swapping in C#

Host your static 11ty site on Google Cloud

A walk-through of the steps you need to follow in order to get your site working nicely on Google Cloud

Let's Make Some Art - Part 1

Let's make our computer draw stuff

Multi-stage Docker builds for ASP.NET Core 5

We'll cover how to build a multi-stage Dockerfile with the Node and Dotnet base images so we don't need to apt-get Node

Living with your creations

Some musings on supporting the same software for years

How (not) to convert a string to lowercase in C#

How many bad ways can we come up with to do something trivial?

Various ways to map data between classes

How to take data from this object and put it in that object

My Setup

A brief tour of my work environment and what I'd do or change.

Counting lines with C#

Learning how to read from the command line and process a file using C#, one bunch of bytes at a time.

Counting lines with Go

Learning how to read from the command line and process a file using Go, one bunch of bytes at a time.

Formatting Go code with goimports

A formatting tip for Go in Visual Studio Code

Go 1.13 on Windows - File Structure

Some basics I have learned while learning Go

Exploring the Polly.Contrib.WaitAndRetry helpers

Patterns and practices for wrapping .NET code in wait-and-retry blocks when making remote calls.

SQL Server Retries with Dapper and Polly

Retryable SQL Server exceptions, that lovely little library called Polly, and Dapper (or your favorite database access library)

Measure Two Hundred Times, Tweak Twice

Let's profile some code! And see if we can figure out some great options for things that might matter

Simple echo server in Go

A really simple echo service; or, how to have fun with Go and Docker

2017 Review

Reflections on the last year

RavenDB Multitenant lessons learned

Lessons learned from life with RavenDB 2.5 in production

2015 Reading List

My reading list and notes for 2015

Pizza!

If you want to make pizza how I make pizza, well, this is how I make pizza

Basic MERGE with SQL Server

That lovely, funky SQL Server merge syntax

Logging from RavenDB to Seq

How to integrate RavenDB server logging into Seq so you can up your visibility game

Hacking Work, a review

I read a book so you don't have to

14 Years

Fourteen years ago, we stood in front of a judge and made a promise to each other.

Your Money Ratios, a review

I read a book so you don't have to

An introduction to AutoMapper

How to take everything from this object and put it in that object

Fun with Stack Ranking

Fun with corporate bullshit

The System

A cautionary tale of hubris in IT development

Integration Testing with RavenDB for Fun and Profit

Some tips for integration tests with RavenDB; the document database for .NET (plus other languages but we only care about that, right?)

aspConf Thoughts

My review of the community-inspired online .NET developer conference