Category: C#

Flyweight design pattern

Introduction In this post, we will talk about Flyweight design pattern. We will see when one should use this design pattern and how we can implement it. In below example, we will use C# language to implement the example of it. Type: Structural design pattern Description: In early days of computing, memory was so much costly … Continue reading Flyweight design pattern

Redis example with Docker in C#

Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker. Lets install redis server in docker. Beauty of docker is that without installation of actual software, you can install it in docker and can access those application. Lets create a simple example and divide it in … Continue reading Redis example with Docker in C#