Author Archives: Vikram Chaudhary

About Vikram Chaudhary

I have 8 years of experience in developing .NET applications. I have worked on both web as well as windows based application using ASP.NET and WPF. I have keen interest in learning and implementing new things. You can always get in touch with me at vikram.chaudhary@dotnetforall.com or vikram.vee@outlook.com. Please let me know your thoughts about this article

Abstraction and Encapsulation – The two OOP Pillars in C#

Hello, Till recently I was not sure what exactly is abstraction. And its importance in OOP(object oriented programming). And the top results in Google search confuse you more about abstraction principle. In this article I will be explaining both abstraction and encapsulation with relevant examples in C#.

Continue reading

Category: C#

Quick Sort with very easy explanation in C#

Hello, In this article I will discuss one of the very good example of recursive programming. This is the quick sort algorithm where we sort the input list of the elements by divide and conquer technique. The code for the explanation of the article is written in C#. But it is very easily understandable and can be written in any programming language.

Continue reading

WPF interview most frequent question and answers

Hello, In this article I will discuss about the most frequently asked WPF interview questions and their answers. In my previous articles I have discussed about C# and OOP interview question. You can find their link mentioned below. Continue reading

How to use Left Join in C# Linq

In this article I will discuss about the how to perform a left join in C# Linq. You may think why to discuss Left join separately in an article. This is due to the reason that LINQ doesn’t provide any keyword like left join in C#.  As you will see there is a workaround to achieve left join in LINQ.

Continue reading

How to use Join in LINQ with C#

In this article I will show how to use Join in Linq with C# examples.  Joins in Linq work much like the join in relational database but there are some subtle difference which you will find below.

You may find the below article informative.

Continue reading

What is Common Table Expression(CTE) And How to use

Hello, This is my first article about the SQL on my blog. In this article I will discuss about the Common Table Expression(CTE) and its use. I will also discuss many restrictions and usage scenarios as well.

Continue reading

How to find Fibonacci Series with Dynamic Programming

Hello, In this article I will discuss about the dynamic programming. How we can use the concept of dynamic programming to solve the time consuming problem. I will use the example of the calculating the Fibonacci series. This is only an example of how we can solve the highly time consuming code and convert it into a better code with the help of the in memory cache.

Continue reading

5 Things I should Have done as Software developer

Hello, this is not a technical post. But somewhere related to the career of the software developer. I will discuss the 5 important points which I think I should have done in my initial stages of my software developer career.

Continue reading

Javascript Immediately invoked function Expression(IIFE)

Hello, While learning JavaScript, I was always confused about the weird looking syntax of executing a function. Since I am very clear about these functions in javascript I will try to explain them in this article in an easy and concise way. This weird looking function is known as IIFE(Immediately  invoked function Expression) in javascript.

Continue reading

Call AWS Lambda Directly using C# code

Hello, my dear friends. In last two article I discussed about the serverless computing, and how we can create serverless code using the lambda in AWS. In this small article I will show how we can call aws lambda function hosted in cloud.

Continue reading

Builder Pattern – The Different versions

Hello, In this article I will discuss about one of the simplest considered pattern after singleton pattern. This is the builder pattern. I will discuss here two variations or versions of the builder pattern with C# examples.

Continue reading

Publishing and Running .NET Core function in AWS lambda

Hello, In my last article I have discussed about the serverless programming. and how aws lambda ca n help us to publish the .NET core (C#) code in cloud and run the function. In this article I will show you how can publish the function in the aws lambda and access it to perform some operation at client.

Continue reading

Going Serverless with AWS Lambda and .NET Core

Hello, In this article I will discuss about the serverless computing and microservices. This article will only contain about the introduction of aws lambda and its benefits from server computing perspective. In my next article I will create a serverless function using .NET Core and C#. Continue reading

C# Null object Design pattern

There is a pattern present to handle the null object in programming. Want to know more about the pattern? Read this article to fully understand the null object design pattern with C# code example.

Or are you annoyed of the most frustrating exception of the programming i.e. “NullReferenceException – Object reference not set to an instance of object”.

Continue reading

ManualResetEvent with practical C# example

Hello, want to know about the practical use of ManualResetEvent in C# Threading scenarios? I will discuss in this article about the simplest signalling construct with a practical code example.

Continue reading

Understanding and Enabling CORS on Web api

In this article I will help you to understand the CORS (Cross origin resource sharing). And we will understand enabling cors on a web api which I have developed as an example for this article.

Continue reading

How to add ASP.NET Core Web configuration file

This article will help you to understand about adding the ASP.NET Core Web Configuration File. In my previous article I have discussed about the prerequisites to develop ASP.NET core web project and the asp.net core web project structure. The links are below.

Continue reading

ASP.NET Core Folder & Files Structure

In this article I will discuss the project and folder structure for the ASP.NET core web application, I have created my first application using ASP.NET core framework in my previous article. This article includes the concepts and role of the wwwroot folder present in the application. I will also discuss about the appsettings.json, global.json and project.json files.

Continue reading