C# Null Propagation
It makes things so simple, I really wish other languages had it. Today in five or six places I wrote something like _innerObject?.Dispose(); instead of if (_innerObject != null) _innerObject.Dispose(); […]
It makes things so simple, I really wish other languages had it. Today in five or six places I wrote something like _innerObject?.Dispose(); instead of if (_innerObject != null) _innerObject.Dispose(); […]
I am making a little excursion into the WCF land: I need to control my Windows Service from my ASP.NET server. While experimenting, I found that new NamedPipeBinding(NetNamedPipeSecurityMode.None) on the […]
SendGrid e-mail server silently converts plain text e-mails to HTML, losing line breaks in the process. They have some reasoning on why this is a good idea, but I do believe […]
“Number of days for all residences cannot exceed 365.”. This is the error I got from NJ division of taxation web site when I tried to enter how many days I […]
I have just stumbled on a beautiful example of a double negative in our code. We have a function that returns a list of object, and it takes a “filterFunction” […]
I remember how Linux community used to scoff at Windows for constant restarts and boasted ever longer uptimes: “my server has been running without reboot for 5 years!”. Guess what, […]
In ECMA Script 6 toString() function can throw an exception. This makes generating debug output a treacherous minefield. In all other languages I know toString() on built-in objects is safe, and […]
We have added some Reactive Extensions support to our software. All went well until it went into the automated build. Nuget version 3.3.0.212 could not handle System.Reactive.Core package: it would […]
I had to create a dump of a misbehaving process on Windows Server 2012 using Task Manager. Not only did it tell me where it put the dump, the file […]
…Continued from Part 1. Arrow functions ES6 introduces arrow functions, which can take several forms: Besides being a shorter notation for function(), arrow functions have special rule for this. They […]