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

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. Below is the xml file structure which tells about product category and item details. <?xml version=”1.0″ encoding=”utf-8″ ?><root>  <product category=”electronics”>    <item name=”tv” price=”12000″></item>    <item name=”mobile” price=”7000″></item>    <item … 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

State Management in C#

In my other blogs, you may read C# 6.0 new featuresIn this blog, I will explore about State Management in C#. If you have attended an interview as a C#.Net developer, then questions related to State Management is likely to be asked. You may read Important C# interview questions and answers What is State Management … Read more