Tag Archives: ASP.NET MVC

Understanding Partial View in ASP.NET MVC

ASP.NET MVC Partial View Partial View in ASP.NET MVC serves the same purpose as that of a User Control in ASP.NET Web Forms. In order to reuse a View in our MVC application (For example, placing a header, list of items or footer etc.), Partial Views are introduced that basically renders inside a Parent View. Let’s… Read More »

2 simple ways to create Custom Html Helper in ASP.NET MVC

In one of previous ASP.NET MVC Tutorial, we discussed about Html Helpers in ASP.NET MVC and get answers to following questions: What are Html Helpers in ASP.NET MVC? What are Standard Html Helpers? What Standard Html Helpers renders? Build a Complete Online Shopping Store Application in ASP.NET MVC, C#, Entity Framework and SQL Server. Build a Real-World Application using… Read More »

Building your first MVC application with Entity Framework – Part 2

This is ASP.NET MVC 5 Tutorial Part-2 in series of building ASP.NET MVC Application using Entity Framework. In previous part, we built a simple ASP.NET MVC application (Product Catalog Application) and generate an EDM(Entity Data Model) following a step by step approach. We also got answers to: What an ORM is? Entity Framework as an ORM?… Read More »

Building first ASP.NET MVC application with Entity Framework

Before we start implementing an ASP.NET MVC application using Entity Framework, lets first understand few related concepts. Microsoft Entity Framework is basically an ORM (Object Relational Mapping) framework. For a more detailed Entity Framework Tutorial for beginners, follow here. So, what is an ORM? In most of the cases when working with database driven application, we… Read More »

ASP.NET MVC TempData & Session

In previous ASP.NET MVC Tutorial, we discussed about different available options for passing data from Controller to View in ASP.NET MVC. We implemented passing data using ViewBag and ViewData in ASP.NET MVC application. Now, in this part of the tutorial, we are going to discuss about the third available option i.e. TempData. ASP.NET MVC Online Shopping… Read More »

ASP.NET MVC Passing data from Controller to View

ASP.NET MVC is a framework that facilitates building web applications based on MVC (Model-View-Controller) design pattern. Request coming from client reaches the Controller through URL Rewriting Module. Controller decides which model to use in order to fulfill the request. Further passing the Model data to View which then transforms the Model data and renders response… Read More »

Understanding ASP.NET MVC Routing

Routing plays an important role in an ASP.NET MVC Application execution flow. Basically, it maps request URL to a specific controller action using a Routing Table.In order to describe user’s actions, MVC framework uses friendly URLs against actions instead of mapping it to physical files as in case of an asp.net Web Form application. In… Read More »

Building your first ASP.NET MVC5 Application in 4 simple steps

Model-View-Controller is a software pattern for achieving isolation between different application components. Its always desirable for software applications (especially web-based applications) that there must be clear separation between business logic and the user interface. We can achieve this requirement by using MVC (Model View Controller) design that makes our application more flexible to change. ASP.NET… Read More »

ASP.NET MVC3 Vs MVC4 Vs MVC5 Vs MVC6

UPDATE: This ASP.NET MVC tutorial initially targetting MVC3, MVC4 and MVC5 version. Now I have listed down features from next version of ASP.NET MVC6 (code name as ASP.NET vNext). Microsoft has added exciting features in every new version of ASP.NET MVC that make developers more comfortable building scalable web applications easily. In this ASP.NET MVC tutorial, we… Read More »