Tracking the contents of a single file in .NET

In C#/.NET, when you want to track a directory for changes you use FileSystemWatcher. Sometimes, you only need to track a particular file. I created a class FileWatcher for this reason. This class minimizes IO usage by reading lazily and memoizing the result, which means the read is performed only when you request the watcher.Content… Continue reading Tracking the contents of a single file in .NET

Introducing WPF-Forge – Implementing custom controls in Forge.Forms (ex WpfMaterialForms)

I had planned on writing follow up tutorials on app development in WPF, but due to a demanding job and limited time I couldn’t keep up to that task. I will try to post more regularly from now on. Today, I am happy to announce that in collaboration with Github user redbaty, we started working… Continue reading Introducing WPF-Forge – Implementing custom controls in Forge.Forms (ex WpfMaterialForms)

Building Material Design WPF Applications – an introduction to ViewModel-first routing

This is the first post in a series about app development in WPF. WPF is a great platform for building desktop applications. Although it is deprecated by Microsoft, the community is keeping it fresh and alive with a lot of great projects and toolkits such as Mahapps Metro and Material Design In XAML. While developing apps using these… Continue reading Building Material Design WPF Applications – an introduction to ViewModel-first routing