Exactly one year ago I created this blog and published the Design Patterns in the Wild post. My intention was (and is) to share both technical details and general project experiences. To keep the subjects somewhat aligned I try to make sure that all posts are interesting for a .NET developer working on software projects.… Continue reading One Year of Passion
Sprint Goals Tie up Loose Ends
Working in an agile team the days before a sprint demo is an intense experience. Everyone is extra focused. Test cases are run to find bugs. The last loose ends are tied up to make sure the entire sprint is finished. To me, a sprint demo is not only a way to show the progress… Continue reading Sprint Goals Tie up Loose Ends
[Flags] on Enums Make ToString() Smart
Putting the [Flags] attribute on an enum changes ToStrings behaviour. It generates a comma separated list. I’ve used enums a lot. I’ve occasionally used the [Flags] attribute too. But I’ve never paid attention to how ToString() changes behaviour when the [Flags] attribute is added. Not until a couple of days ago, when I learnt something… Continue reading [Flags] on Enums Make ToString() Smart
Bubbles and Arrows Architects
We’ve all seen it: An architect explaining something with a sketch containing bubbles and arrows on a whiteboard. Sometimes the architecture is perfectly realized in the project, sometimes not. Looking at the sketches there are few differences. Why are only some possible to realize? Let’s look at a typical system sketch drawn by an architect.… Continue reading Bubbles and Arrows Architects
Make the DbContext Ambient with UnitOfWorkScope
The Entity Framework DbContext (or LINQ-to-SQL DataContext) is a Unit Of Work implementation. That means that the same DbContext should be used for all operations (both reading and writing) within a single web or service request. That means that there are a lot of different places where the DbContext have to be accessed. To avoid… Continue reading Make the DbContext Ambient with UnitOfWorkScope