Microsoft Unity Tutorial

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

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.

This project references NuGet package(s) that are missing on this computer.

The dreaded “NuGet Package Missing” error looks like this: error : This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them.  For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. If you are on this page then there is a high chance that you have been stuck with the above error.

Unable to delete NuGet package on server

Today I was trying to clean up some old packages from the Nuget server. And this happened. Nuget delete command failed to delete packages from the Nuget Server. The nuget server I am talking about is the local one which I configured. Deletion was failing for me despite the documentation saying that is should succeed.

Composite Design Pattern Explained

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

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 »

Adapter Design Pattern Explained

In this tutorial we will implement Adapter design pattern using c++. And I will use the much denounced multiple inheritance in c++ too. Adapter design pattern is one of the easier design patterns. As usual, we will first discuss the “WHY” and then the “HOW”.

Proxy Design Pattern Explained

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.

Should I be a developer?

Every professional at some point of his professional life asks himself : Is this the right career for me? Unfortunately most of the people will be asking this question rather late in their professional life. A point where it might not be really easy to switch career. I am not sure about other professionals but… Read More »

FODY Commander and WPF Commands

This is a brief tutorial on using FODY Commander to implement WPF Commands. To better appreciate this, I will recommend just to have a look at this and this post I wrote on WPF Commands. The post I wrote before on WPF commands discuss the WHY part of WPF Commands. So I will not go… Read More »