SOLID Principles in C#

The SOLID principles is a standard software development practice that should be followed in all software applications which is using Object Oriented Programming. They set the norm of how to write a program with clean architecture. SOLID principles in C# helps to write code which is easy to test, easy to maintain and easy to … Read more

Factory Design Pattern

In this article, we will understand the Factory Design Pattern with C# code. It is one of the most popular design pattern used in programming world. There are mainly 3 types of design pattern which are sub-divided into multiple patterns. Factory Design Pattern comes under Creational Pattern and the other 2 are Structural Pattern and … Read more

What is AutoMapper in C#?

AutoMapper is used to map data between two objects. In this blog, we will see how to use AutoMapper in our application. Let’s demonstrate the use of Automapper by an example. Suppose we have a class called Employee with 2 properties in it – Name and City class Employee     {         public string Name … Read more

Important ASP.Net interview questions and answers for experienced developer

In this blog, I have collected the most common interview questions and answers based on my¬†personal experience. Below questions asked for Senior Dot Net developer role. 1. What is a Middleware? Middleware is a software used to communicate between 2¬† systems. Middleware also implements code re-usability features. RPC, CORBA, Web Services are few commonly used … Read more

Dependency Injection in C#

In this blog, we will understand Dependency Injection? And, how we can implement Dependency Injection in C#? What is Dependency Injection (DI)? Dependency Injection is a design approach, which helps to create loosely coupled code. In another way, we can say that Dependency Injection is used to remove dependency between two classes and helps to create … Read more

What’s new in C# 6.0 language?

C# 6.0 is an another version of C# programming language released in the year 2015. C# 6 provides numerous new features which helps developer to write C# code in more clean and optimized way. Here are top 8 features of C# 6.0 language No major concepts introduced in C# 6.0. Mainly small features have been added … Read more

Facade Design Pattern in C#.Net

Design patterns provide efficient and re-usable solutions in software development. If you are new to Design Pattern, please read my earlier blog – Design Pattern in ASP.NetFacade Design Pattern comes under Structural Design Pattern. In short, Facade means the exterior appearance. It means in Facade design pattern we hide something and show only what actually client … Read more

C# code to convert XML into Dataset

How to convert XML file into dataset in C# programming?In this blog I will show you how we can get XML data into a dataset. What is XML? XML is a markup language developed by the World Wide Web Consortium (W3C). The full form of XML is Extensible Markup Language. The way to write code … Read more