Tag Archives: c#

A beginners reactive tutorial using Rx.Net

By | February 5, 2019

This beginners reactive tutorial will cover the basics of reactive way of programming. I will explain important terms and demonstrate the concepts via simple snippets of code. At the end of this basic reactive tutorial you will have a better understanding this subject. I will be using Rx.Net in this tutorial. This tutorial will be… Read More »

A simple c# events and delegates tutorial

By | September 11, 2017

This c# events and delegates tutorial has a simple aim: Make it easier for you to work with events in .NET. There will be no deep dive. Everything I discuss below about c# events and delegates has one purpose only: To enable you to start using events with confidence. Many people find it difficult to… Read More »

Test builder pattern using fluent interface

By | November 23, 2015

This is a brief c# based tutorial on test builder pattern using fluent interface. It is one of the many ways we can tackle the problem of brittle tests. I will try to keep the example as real world as possible. As usual I will deal with the WHY before the HOW.

Microsoft Unity Tutorial

By | November 4, 2015

This Microsoft Unity Tutorial will aim to make is easy for the uninitiated to work with Microsoft Unity. Unity is a dependency injection container. The best source for Unity remains the developer guide which is also available as a free eBook download. I will strongly recommend that you get a foundation on Inversion of Control(IoC)… Read More »

Dependency Inversion Principle Explained

By | October 23, 2015

This c# based Dependency Inversion Principle tutorial will try to explain this very simple (and important) principle in layman terms. It is often confused with “Dependency Injection“. Just to put things straight, “Dependency Injection” is one of the ways you can implement “Dependency Inversion Principle” in your code.

Composite Design Pattern Explained

By | September 9, 2015

This is tutorial is a C++ implementation of the Composite design pattern. This is one of the easier design pattern out there. Sometimes confused with “Prefer composition over Inheritance“. Yes, few people do get confused. In interview. There is not much to talk about. So I will as usual, jump immediately into the “WHY” followed… Read More »

Bridge Design Pattern Explained

By | September 1, 2015

This tutorial is a C++ implementation of the Bridge design pattern. This is one of the most confusing design pattern. This and the other patterns, namely Adapter, Proxy and Decorator design pattern have too much in common to confuse a simple soul. As usual I will first discuss the WHY and then later on the… Read More »

Proxy Design Pattern Explained

By | August 17, 2015

This tutorial is a C++ implementation of Proxy design pattern. In this brief example we will discuss the Proxy pattern, the need for it as well as how to go about implementing it. As usual, I will first start with the WHY and then the HOW of the Proxy design pattern.

WPF MeasureOverride ArrangeOverride explained

By | July 22, 2015

This is a brief tutorial on WPF MeasureOverride ArrangeOverride functions. The details on these two are rather sketchy online and hence I decided to write this tutorial. So what are these methods? When do you need them? As usual I will start with WHY first and then discuss the HOW.

Decorator Pattern Explained

By | July 2, 2015

This is going to be a brief c# based Decorator pattern tutorial. It will not be a techincal UML heavy “Chewing Dry straw” kind of tutorial. It will be Caveman Style. Fun, Simple  and informative. The Decorator Pattern example used is simple yet powerful enough to highlight its key points.