Factory Design Pattern

In this article, we will understand the Factory Design Pattern with C# code. It is one of the most popular design patterns used in the programming world. There are mainly 3 types of design patterns which are sub-divided into multiple patterns. Factory Design Pattern comes under Creational Pattern and the other 2 are Structural Patterns … 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 are questions asked for the Senior Dot Net developer role. 1. What is Middleware? Middleware is software used to communicate between 2  systems. Middleware also implements code re-usability features. RPC, CORBA, and Web Services are a … Read more

Dependency Injection in C#

In this blog, we are going to learn about Dependency Injection. And, how we can implement Dependency Injection in C#? We will also learn the ways we can implement Dependency Injection in C#. What is Dependency Injection (DI)? So, let’s first define the Dependency Injection. Dependency Injection is a design approach, which helps programmer to create … Read more

LINQ to perform operation with DataTable in C#

If you are a C#.Net developer, then you must be familiar with Data Table and LINQ. In C#, a Data Table is an in-memory object to represents data in tabular format i.e. rows and columns. Once you get data in a Data Table object there could be various operations that can be performed. In this … Read more

How to Integrate SMS gateway in ASP.Net website ?

In this blog, I will write about How to send SMS using C# code?You all must have received SMS related to OTP (One Time PIN) on your mobile for various kind of transactions from different websites or App.Here I will provide the C# code which you can use to send SMS to your customers/users from … 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 principles? Object-oriented is an approach to programming in C#, Java etc.OOPS Principals – 1. Abstraction2. Encapsulation3. Inheritance4. Polymorphism Q. Is inheritance possible if a private constructor is declared in parent class? Answer – No. Q. What is Early Binding and … Read more

RSS
YouTube
YouTube
Instagram