This is a small tip containing my thoughts on why we should not blindly create interfaces and/or abstract class for each and every class in our application. These are more of thoughts and some people may not agree with my school of thought but the idea here is to share my opinion with others so that others can share their thoughts and I/we will get to learn from them. Continue reading
Software Architecture
Understanding Retry Pattern with Exponential back-off and Circuit Breaker Pattern
In this article we will discuss the importance of retry pattern and how to implement it effectively in our applications. We will also discuss how exponential backoff and circuit breaker pattern can be used along with retry pattern. This is more of a theoretical article since the actual implementation of retry will depend a lot on the application needs. Continue reading
Lets write a Tiny IoC Container to learn(and for fun)
This article contains a small IoC container implementation just created for educational purpose. Continue reading
Beginner’s Tutorial on Understanding and Implementing Null Object Pattern in C#
In this article we will try to understand the Null object pattern and see how this pattern can help us to write more robust code. We will implement a contrived example to demonstrate this pattern. Continue reading
A Beginner’s Tutorial For Understanding and Implementing Service Locator Pattern in C#
In this article we will try to understand the service locator pattern. We will also implement a contrived implementation to demonstrate the service locator pattern. Continue reading
Your App needs filtered data – Use ODATA
It is more than a common scenario that our apps(be it mobile apps or web apps) are backed by a service. These services are often RESTful these days as the benefits and flexibility of REST in undeniable. But its more than often that I see these services that are being written for consumption from the apps tend to have the endpoints exposed as per client app requirements. Continue reading
An Absolute Beginner’s Tutorial on Dependency Inversion Principle, Inversion of Control and Dependency Injection
In this article we will talk about the Dependency Inversion Principle, Inversion of Control and Dependency Injection. We will start by looking at the dependency inversion principle. We will then see how we can use inversion of control to implement dependency inversion principle and finally we will look at what dependency injection is and how can it be implemented. Continue reading
Program to Interface, not Implementation – Beginner’s Tutorial for Understanding Interface, Abstract class and Concrete class
In this article we will look into the details of Interfaces, Abstract class and Concrete class in C#. We will try to understand what each of them are and when should we use interfaces, abstract classes and concrete casses to have a better design for the application. Continue reading