Hello and welcome, As I probably mentioned in some of my older posts, I'm a big fan of code restrictions that can be imposed by the IDE. I think this is a reason why stylecop was/is so popular (I don't know since I mostly use Rider nowadays and Resharper for Visual Studio). Because of this, … Continue reading The rise of the Null-Object pattern in C# 8
Design Patterns
Application triggers for Asp.Net Core 2.1 entity framework core
Hello and welcome 🙂 Today I wanted to talk about extending your application and your DbContext to run arbitrary code when a save occurs. The backstory While working with quite a few applications that work with databases especially using entity framework, I noticed the pattern of saving changes to the database and then do something … Continue reading Application triggers for Asp.Net Core 2.1 entity framework core
FileSystem Syncher – Part 3
Hello and welcome, I thought it's just about the time we continue from where we were in the last part of this project. As always if you want to follow along, the source code from last time can be found here. The reason there is a new release and not just continuing from last time … Continue reading FileSystem Syncher – Part 3
Errors, the black sheep of the family
Hello and welcome, Today we will take a look at the so called "black sheep" of the family of development and those are errors, namely compiler errors and exceptions. The reason I consider them as black sheep is that they often get a bad reputation even though the reason why they exist is to keep … Continue reading Errors, the black sheep of the family
C# modifiers use and abuse – Part 2
Hello and welcome to part two of the use and abuse of the C# modifier keywords, Last time we looked at the access modifiers that apply to types (class, struct, and enums) and members (fields, methods, nested classes, etc.), this time we will have a look at some additional keyword modifiers that are used and … Continue reading C# modifiers use and abuse – Part 2