What is a Provider () in AngularJS?

The provider() function allows us to create a configurable service where we can set input per application for the service created using the provider (). For example, if we need to set API key to access a service on the application level, we can set that in the module config and pass input to the […]

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. Specifically, we’ll cover writing Unit Tests for: ViewData of the Controller TempData of the Controller ViewBag of the Controller View of the Controller Let’s get started! Creating the MVC […]

How I did in 2015?

I procrastinate, hence this blog post is 12 days late. Nevertheless, I wish Happy New Year to each one of you. May you get best of the life in 2016. Many of us don’t like to read long stories and enjoy reading data in all possible ways. For data lovers here is the summary in […]