MVC

A Comprehensive Guide to aspnet MVC Framework Version History
Asp.Net MVC is nothing but a framework introduce by Microsoft. It is lightweight and open source. It is used to building highly testable, scalable and well designed clean application. Microsoft...

Building a Robust aspnet MVC Application with Repository Pattern and Entity Framework
Repository Pattern is used to create an abstraction layer between data access layer and business logic layer of an application. Repository directly communicates with data access layer [DAL] and gets...

Building Dynamic Charts in aspnet MVC using .NET Highcharts
This article will demonstrate how to implement .NET Highcharts with ASP.NET MVC application. Highcharts is a JavaScript library to implement charting functionality like a line chart, bar chart, column chart...

Creating Custom Action Filters in aspnet MVC
This article will give you understanding about Custom Action Filters in Asp.Net MVC. When request processing is going on then I pass from different levels and sometimes it is required...

Exploring Best Practices for aspnet MVC Project Structure
In this articles, I will try to explain the structure of Asp.Net MVC project. When we create a new project than there are lots of folders and files are available....

Getting Started with aspnet MVC First Application: Step-by-Step Tutorial Day 2
This is second article of the series of How to learn Asp.Net MVC step by step. Today, we will learn how to create our first application in Asp.Net MVC. We...

Getting Started with aspnet MVC: Step-by-Step Tutorial Day 1
In this article youI will learn about MVC pattern and ASP.NET MVC. MVC is an architectural pattern to develop enterprise application. What is MVC? MVC stands for Model View Controller....

Getting Started with Creating Custom Routing in aspnet MVC: A Practical Guide
Today, I am going to demonstrate what is routing in Asp.Net MVC and how do we use it in our Asp.Net MVC application. Routing is used to map the incoming...

Getting Started with Custom Routing in aspnet MVC
Today, I am going to demonstrate how to create custom routing in Asp.Net MVC application. I hope you all know the routing concept; in short routing is used to map...

How to Handle JSON Data with aspnet MVC and JQuery
Today I am going to explain about how to get JSON data with Asp.Net MVC to make ajax call using jquery. As we know JSON is very light weight as...

How to Implement State Management in aspnet MVC
As we all know, HTTP is a stateless protocol, i.e., each HTTP request does not know about the previous request. If you are redirecting from one page to another page,...

How to Use Same Name Controller in aspnet MVC for Area and Root
If we use same name controller in Area and Root in Asp.Net MVC application than we will conflict and throw an error like below. ~/Controllers/HomeController.cs ~/Areas/Blog/Controllers/HomeController.cs Multiple types were found...

Implementing Action Filters in aspnet MVC
This article will help you to understand the what is filters in Asp.Net MVC and why we should use it. Before moving to the actual definition of filters, donβt confuse...

Implementing Repository Pattern with Code First in aspnet MVC: A Practical Tutorial
Today, I am going to explain a very interesting topic; βHow to use Code First Approach in ASP.NET MVC with Generic Repository Patternβ. So, first I will explain what Code...

Implementing ViewModel in aspnet MVC
ViewModel is used to encapsulate the multiple entities into single entity. It is basically a combination of data models into single object and rendering by the view. Sometimes it is...

Learn How to Export Data in Excel File with aspnet MVC
Sometime, it is required to export your data into the Excel file in web application. So, today I am going to show you how can we export data into excel...

MVC Design Pattern: A Beginner Guide to Understanding its Architecture
MVC or Model View Controller is a software design pattern to develop web application. MVC is not a new concept created by Microsoft to develop Web application in Asp.Net MVC....

Optimizing Performance: Best Practices for Binding Partial Views in aspnet MVC
There are several ways to bind partial views and display them on views. But what is the best way? When I was working on one of my projects, I was...

Quick and easy method to bind DropDownList in aspnet MVC 3 Razor with validation
DropDownList allows user to select an item from the dropdownlist So, Today I am going to explain how to bind dropdownlist in Asp.Net MVC and How to validate dropdownlist on...

Step-by-Step Guide: CRUD Operation with Database First Approach in aspnet MVC
In this article, I will demonstrate you about Database First Approach in Entity Framework and also will show how to implement it with Asp.Net MVC. I will show you how...

Step-by-Step Guide: Performance Testing Using MiniProfiler in aspnet MVC
MiniProfiler is an open source profiling library which monitors performance with the .Net application. It is very lightweight and fast. Using this, we can easily track the performance issue with...

The Power of Caching: 3 Ways to Improve aspnet MVC Performance
Now a day, visiting a website on a desktop or on mobile is a daily job. But when we visit a website or a web application then we aspect that...

What are the Best Practices for aspnet MVC Application
This article will demonstrate us about best practices which should be used when working with Asp.Net MVC application. We always try to make Asp.Net MVC application using best practices but...