Quantcast
Channel: MVC – Dhananjay Kumar
Browsing latest articles
Browse All 47 View Live

Image may be NSFW.
Clik here to view.

How to work with Enums in ASP.NET MVC

Recently I got a question from one of the readers that how to work with Enums in ASP.NET MVC? Before we move ahead in this post, let me tell you that it is very simple to work with Enums in ASP.NET MVC...

View Article



Image may be NSFW.
Clik here to view.

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...

View Article

Image may be NSFW.
Clik here to view.

Creating a photo album for ASP.NET MVC 5 Users using Azure BLOB storage

In this blog post, we will integrate ASP.NET MVC with Azure BLOB Storage by saving an image for an ASP.NET Identity 2.0 user in Azure BLOB Storage. We’re going to cover a lot of ground in this post,...

View Article

Image may be NSFW.
Clik here to view.

How to Create a Custom Action Filter in ASP.NET MVC

Read full article on the Infragistics blog In ASP.NET MVC, Filters are used to inject logic at different levels of request processing and allow us to share logics across Controllers. For example, let’s...

View Article

Image may be NSFW.
Clik here to view.

How to Implement the Repository Pattern in ASP.NET MVC Application

Read full article on the Infragistics blog The Repository Pattern is one of the most popular patterns to create an enterprise level application. It restricts us to work directly with the data in the...

View Article


Image may be NSFW.
Clik here to view.

Creating an ASP.NET Web API using the Entity Framework Code First approach...

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. Essentially you’ll learn how to: Create a core project which...

View Article

Image may be NSFW.
Clik here to view.

How to work with the Ignite UI Chart in an AngularJS application

In this post we will learn how to work with the Ignite UI chart in an AngularJS application. Although I will use the ASP.NET Web API to pull data from the database, you can use REST service or a Web...

View Article

Image may be NSFW.
Clik here to view.

How to Enable CORS in the ASP.NET Web API

Have you ever come across the following error: “Cross-origin Request Blocked. The same origin policy disallows reading the resource”. Us to! It turns out, we get this error due to lack of CORS support...

View Article


Image may be NSFW.
Clik here to view.

What are ViewData, ViewBag, and TempData in ASP.NET MVC?

I have often seen entry level developers struggle with the differences between and usage of ViewData, ViewBag and TempData in ASP.NET MVC. And while there are many articles and blog posts on this topic...

View Article


Image may be NSFW.
Clik here to view.

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.  If you look into an ASP.NET MVC project,...

View Article
Browsing latest articles
Browse All 47 View Live




Latest Images