Skip to content

Author

Dhananjay Kumar

Published posts 66

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

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.

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.

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.

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.

It’s usually good practice to have automated unit tests while developing your code. Doing so helps you find bugs early in the development cycle and saves you time in the long run.

Before we start to see, how a private method can be unit tested using the MS Test? Let us discuss whether it is a good idea to test a private method or not?

Often, I hear developers ask “What is the ‘controller as’ syntax and how it is different from the $scope object approach of controller creation?” In this post we will learn about controller as syntax and compare it with the $scope object approach of controller creation. 

The Liskov Substitution Principle says that the object of a derived class should be able to replace an object of the base class without bringing any errors in the system or modifying the behavior of the base class.

In this post, we will learn how to work with the Bootstrap dropdown in an AngularJS APP with the help of one of the best Angular Component Libraries out there.

A look through the use of shared, inherited, and isolated scopes when working with directives in AngularJS.