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

Oops interview questions and answers

In this blog, I have collected Interview questions and answers of OOPS (Object Oriented Programming System). Q. What are OOPS principals? Object oriented is an approach to do programming in C#, Java etc.OOPS Principals – 1. Abstraction2. Encapsulation3. Inheritance4. Polymorphism Q. Is inheritance possible if private constructor declared in paren class? Answer – No. Q. … Read more