See all tags.

Articles tagged “.net”

How to localize text with a binding in WPF
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, Bewitched, 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.

LiteDB vs SQLite: what works better for .NET developers?
published on Apr 07, 2020

SQLite is king. It works great for a multitude of use cases, which include desktop apps, web apps, embedded scenarios, and others. Does it have alternatives? And how about .NET - does it have a database that would be more native to the ecosystem? Yes it does. It's called LiteDB.

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.