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

Gary Woodfine

Freelance Full Stack Developer at threenine.co.uk
Helps businesses by improving their technical proficiencies and eliminating waste from the software development pipelines.

A unique background as business owner, marketing, software development and business development ensures that he can offer the optimum business consultancy services across a wide spectrum of business challenges.

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 […]

Using the Repository and Unit Of Work Pattern in .net core

Gary Woodfine

Freelance Full Stack Developer at threenine.co.uk
Helps businesses by improving their technical proficiencies and eliminating waste from the software development pipelines.

A unique background as business owner, marketing, software development and business development ensures that he can offer the optimum business consultancy services across a wide spectrum of business challenges.

A typical software application will invariably need to access some kind of data store in order to carry typical CRUD (Create, Read Update, Delete) operations on data. Typically, this could be some kind of database, file system or any kind of storage mechanism used to store data. In some cases saving or creating data may […]

Get All C# Classes Implementing an Interface

Gary Woodfine

Freelance Full Stack Developer at threenine.co.uk
Helps businesses by improving their technical proficiencies and eliminating waste from the software development pipelines.

A unique background as business owner, marketing, software development and business development ensures that he can offer the optimum business consultancy services across a wide spectrum of business challenges.

There may be instances in software applications, whereby there is a requirement to get a list classes in an application that implement a specific interface and do something with them. In my instance I needed to retrieve a list of Entity Classes. In the application, all Domain Entity classes implement a common interface of IDomainEntity. […]

Why, When and How to use Redis in ASP.net MVC Core

Gary Woodfine

Freelance Full Stack Developer at threenine.co.uk
Helps businesses by improving their technical proficiencies and eliminating waste from the software development pipelines.

A unique background as business owner, marketing, software development and business development ensures that he can offer the optimum business consultancy services across a wide spectrum of business challenges.

In a previous post, Redis InMemory Cache in ASP.net MVC Core, I discussed the various forms of cache storage applications may use, introduced Redis and provided examples of how you could start implementing and integrating Redis into your ASP.net MVC core web stack In hindsight, my previous post may appear to paint the picture that […]