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 3Apr 3
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
Jason GeCreate and Consume SOAP based service in .NET 6In .NET core and .NET 5+, WCF service is not supported anymore. If you still need to develop SOAP based web service using .NET 6, you have…May 15, 20231May 15, 20231
Jason GeUnit Test Windows Forms with Dependency InjectionDependency injection is a technique for achieving Inversion of Control (IoC) between classes and their dependencies. Dependency injection…May 8, 2023May 8, 2023
Jason GeDifferent Ways to Host Web Pages in Windows FormsThere many ways to display web pages inside Window Forms application. In this article, we will discuss 3 different ways and the pros and…Apr 11, 2023Apr 11, 2023
Jason GeCreate Excel using OpenXML in .NET 6Often times, we need to export data into external file. We can use .csv file, but it does not have the capability to format the data…Feb 2, 20234Feb 2, 20234