Skip to content

Dhananjay Kumar

Published posts: 66

Dhananjay Kumar works as a Developer Evangelist for Infragistics. He is an eight-time Microsoft MVP.

Creating Unit Tests for ASP.NET MVC Controllers

In this blog post, we will learn to write unit tests for various MVC controller’s behaviors, such as view’s return types, redirecting to different actions etc.


· 5min

Azure API Apps and Azure Mvc Web App in Azure App Service

In this article, you will learn how to create Azure API Apps and an MVC client deployed in Azure We App. This is going to be a very simple application connecting various components of Azure App services, and to build it we’re going to use Azure API App, Azure Web App, and SQL Server in Azure.


· 12min

Areas in ASP.NET MVC

Areas are some of the most important components of ASP.NET MVC projects. The main use of Areas are to physically partition web project in separate units.


· 4min

How to Create Custom Filters in AngularJS?

Have you ever used filters with the ng-repeat directive as shown in the listing below?


· 2min

What Are ViewData, ViewBag, & TempData in ASP.NET MVC?

Some developers may struggle with the differences and usage of ViewData, ViewBag, and TempData in ASP.NET MVC. This blog post will explain it all.


· 5min

How To Create Relationships Between Entities?

The Entity Framework Code First approach allows us to create a model as a plain class and then the database gets created from the domain model or entity class. In the Code First approach, the database gets created from the classes.


· 8min

How To Enable Cors in the asp.net Web API?

Consider this the simplest how-to guide to enabling CORS in your APS.NET Web API. Check out all the steps in this article and learn more today.


· 5min

Validating User Input on a Form in Angular JS

I have often seen entry-level developers struggling with user input validation in AngularJS single page applications. In this post, I will give a quick but useful introduction of validations in AngularJS; consider this post as a base learning document from which you can do further learning.


· 5min

Create ASP.NET Web API with Entity Framework Code First Approach & Repository Pattern

In this article, we will learn how to create an ASP.NET Web API using the Repository pattern and the Entity Framework code first approach.


· 7min