Thoughts, stories and ideas about software development

Why null in C# is so bad
dotnet

Why null in C# is so bad

In my career, more than half of the bugs I encountered were related in a way or another to a null value being propagated where it shouldn't have been—therefore resulting in unexpected behaviors or a nasty NullReferenceException. The problem Why is null such a problem in C#? Well... the null problem (a.k.a the billion-dollar mistake) breaks many assumptions you can make about the programming language. In more theoretical terms, it breaks the Liskov substitution principle. (One of the famous SOL

How to mix Security and Productivity with Service Fabric
Security

How to mix Security and Productivity with Service Fabric

Service Fabric is a great framework, but yet a complicated one. Often, when we try to improve the security of the cluster, we end up adding a lot of complexity in our development pipeline. The local development experience become a nightmare and there's a big lost in productivity for team. But! It doesn't have to be that way. Productivity and security could play well together if you think about them from the start. Let's take a look at how we can improve our cluster security following all the in

Semantic Logging with .net EventSource
dotnet

Semantic Logging with .net EventSource

Application logging is the kind of software problem that has been solved so many times, in so many ways. It makes it really hard to choose THE right framework to use when starting a new project. Sometimes it almost feel like coding your own framework will be a good idea (Please don’t do that). The first thing you should ask yourself is what are your requirements. Try to think about what will the development, testing, and debugging experience be like. How will you search through your logs to find

Could not sign up! Invalid sign up link.