How to use Factory Method Design Pattern in C#

Factory Pattern creates objects, in this post we will implement the factory design pattern in a C# application. Using the Factory pattern, we develop an abstraction that isolates the logic for determining which type of class to create.

Using IHost .net core console applications

In a previous post, I discussed how we can use Configuration API in .net core console application to retrieve custom configuration settings from a Json file, utilising a convenient feature of the Microsoft.Extensions.Configuration namespace.In this post, I will provide an example of how to develop .NET Core console applications using IHost,  generic interface to develop headless […]