See all tags.

Tagged “.net”

WPF binding with a localizable placeholder
published on Jan 30, 2021

Recently, I faced a following dilemma: I was binding a TextBlock to a string property of a class instance, and when that instance was null, I wanted to show a placeholder that had to be localizable. Here is what I learned.

Localizing a WPF app running on .NET Core 3 in 2020
published on Jun 24, 2020

I have recently updated my hobby desktop app, Embrace, from .NET 4.6 to .NET Core 3.1. The process was mostly painless as I was late to the game and most Nugets were already updated for .NET Core 3 / Netstandard support. I lost no functionality - except the ability to localize the UI. Here's what I did to get it back.

Trying out LiteDB
published on Apr 07, 2020

SQLite is king. Also, it was not made for .NET as it was born long before. I looked at possible alternatives for my C# projects and found LiteDB that I like very much.

Making objects elegant in C#
published on Feb 13, 2020

I attempted to examine how to write truly object-oriented code with C#. The focus of this article is on how to make an object accessible on the UI layer without using any 'getters'.

Using Nuget packages with .NET Interactive
published on Feb 11, 2020

I test how I can use Nuget packages when fooling around with Jupyter notebooks using C#.

First steps with .NET Interactive
published on Feb 07, 2020

I dip my toes into the fresh waters of .NET Interactive. An intro post.

The amazing (and dangerous!) switch expressions in C# 8
published on Feb 05, 2020

I love the switch expressions in C# 8. They are a nifty little tool to move away from procedural ways of thinking and writing code. However, they seem to also contain dangers that could take away years of progress made in OOP.