Building a "redirector" with Airtable and Azure Functions

Once in a while I want a simple url alias. Say I want the link to my Stack Overflow profile, but I want a simple, short url that's easy to remember. I want an easy way to register the complex and specify a simple and short alias url that redirects…

Overloading operators in C#

C# is a mature language and at this point there are some features that are forgotten, or not even discovered, by users of the language. I've previously written about one of my favorite "obscure" features: the implicitly types array syntax. When creating your own classes (as you very…

Watch out for multiple subscriptions with BindCommand to event in RxUI

When using the handy binding methods in ReactiveUI, you might find yourself using the very handy overload of BindCommand() which let's you bind a command to an event: this.BindCommand(ViewModel, vm => vm.MyCommand, v => v.TextBox, nameof(TextBox.GotFocus)); You might even have it inside a WhenActivated(…

Two getter properties enter, one is explained... and so is the other one too

With the introduction of C# 6 there are now two types of automatic getter only properties: public List<string> OldAndFamiliar { get; } = new[] { "Old", "and", "familiar" }.ToList(); public List<string> NewHotness => new[] { "New", "hotness" }.ToList(); They…

The underrated new[] { } in C#

17 years into it's life, C# has a lot of language features. This means that some of them are likely to go unnoticed by some people, maybe even a lot of people. A feature which isn't get the love I think it deserves is implicitly typed arrays, or the new[…