Jason GeCustom Logging Implementation.NET out of box provides several logging providers, for example, Console, EventLog, etc.. If you want to develop your own logging provider…Jul 25Jul 25
Jason GeCalling Asynchronous Code from Synchronous Code in C#Nowadays, lot of library code would use the Task asynchronous programming model (TAP). The methods are marked with async keyword and the…Jul 15Jul 15
Jason GeMonitor Windows Forms App using HearbeatIf we want to monitor a Windows Forms application by using the heartbeat signal, we need to make sure that the heartbeat signal is sent…May 28May 28
Jason GeUsing MVVM Toolkit for Windows Forms AppThe traditional way to develop Windows Forms app is to put all the logic in the Forms code behind. This would create a tight couple between…May 9May 9
Jason GeNewtonSoft.JSON Serializing/DeserializingIn this article, we will discuss the behavior of serialization/deserialization in NewtonSoft.JSON library.Apr 31Apr 31
Jason GeNon-Blocking call in WinForm without async/awaitThe C# Task asynchronous programming model (TAP) provides an easy way for developer to write asynchronous code. However, it requires you…Feb 2Feb 2
Jason GeC# Linked Cancellation Token SourceStarting from the .NET Framework 4, Microsoft provides a unified model for cancellation of asynchronous or long-running synchronous…Nov 16, 2023Nov 16, 2023
Jason GeMake Windows Form Non-ClickableWe probably encountered this scenario many times: when user clicks a button on Windows Forms, we need to call backend service to process…May 23, 2023May 23, 2023