Congratulations to all monthly winners of May 2013 !!! They have won INR 2900 cash and INR 27497 worth prize.
Go to DotNetFunda.com
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 47390 |  Welcome, Guest!   Register  Login
Home > Articles > ASP.NET MVC > Beginners Guide’s to ASP.NET MVC Framework – Part 1 of n

Beginners Guide’s to ASP.NET MVC Framework – Part 1 of n

3 vote(s)
Rating: 3.67 out of 5
Article posted by Abhijit Jana on 3/14/2010 | Views: 29911 | Category: ASP.NET MVC | Level: Beginner red flag

Advertisements

Advertisements
This article describes overview of ASP.NET MVC Framework , MVC Control Flow etc.

Introduction

This article is the Part 1 of the ASP.NET MVC Framework series.  In this article I have describes very basic over view of MVC Framework and the control flow of MVC. I will write a few articles in this series which will help all the beginners to move ahead. This article is only about what MVC is.

Overview

The Model-View-Controller (MVC) design pattern is an architectural design patterns for any standard development that separates the components of an application. This allows application to handle very flexible and extensible and easy to handle. ASP.NET MVC Framework is also one of the standard web development frameworks which separate the components of web development application different components.

ASP.NET MVC Framework having three main components

  1. Model
  2. View
  3. Controller


Model:  The model manages the behavior and data of the application domain, responds to requests for information about its state from the view, and responds to instructions to change state (usually from the controller).

View: This represent the presentation layer of the web application. The view manages the display of information based on the data of model that is requested by controller.

Controller: Controller handles the user interaction with the web application.  User request comes through controller to model and manipulate the records from it and then render the data using View to UI.

Below diagram showing the overview of these three components




Request Flow for ASP.NET MVC Framework

  1. Request comes from User to Controller
  2. Controller processes request and forms a data Model
  3. Model is passed to View
  4. View transforms Model into appropriate output format
  5. Response is rendered to Browser

Above picture showing you the actual flow of ASP.NET MVP Framework.  Request comes from client to Controller and controller decided which model to used and based on that data rendered into browser.

Now, just have a closer look into to the MVC Flow,


In the next article I will give the explanation of each of every step. You just need to remember these are the basic flow of an MVC Application.

ASP.NET Web Forms and  MVC

MVC is not a replacement if ASP.NET Web Form based development. This seats on the top of ASP.NET Development.  MVC Framework simply divides the overall application architecture into three components.

For More information on the basic of MVC Framework please read : ASP.NET MVC Overview



Summary

This is the startup article for MVC beginners. Many more to come. Where I will explain details of each of them with sample application. Finally there would be a complete ASP.NET project on MVC Framework. Hope this series will be helpful for all.


Advertisements

If you like this article, subscribe to our RSS Feed. You can also subscribe via email to our Interview Questions, Codes and Forums section.

Page copy protected against web site content infringement by Copyscape
Found interesting? Add this to:



Please Sign In to vote for this post.

About Abhijit Jana

Experience:3 year(s)
Home page:http://abhijitjana.net
Member since:Wednesday, December 24, 2008
Level:Bronze
Status: [Member] [MVP]
Biography:He has done Master Degree in Computer Application and currently working as a Sr. S/W Developer in a US based MNC and having more than 3 years exp. He has worked with all the .NET framework and good exposer in Web and Windows based development using Microsoft Technology . Currently he working with C# 3.5, ASP.NET 3.5, Enterprise Library 4.1 and SDL Tridion also Exploring VS 2010 with .NET 4.0.
>> Write Response - Respond to this post and get points
Related Posts

In the previous ASP.NET MVC tutorial we saw how we can create a simple ASP.NET MVC web application. In case you have missed the same do refer ASP.NET MVC tutorials. In this session we will see how we can pass data from controller to views using view data.

In this article, our goal is to demonstrate MVC in action by creating a sample data entry application.

In this article we will try to understand how we can use data annotations for doing validations in MVC web application.

This is the 10thMVC (Model view controller) tutorial and in this article we will try to understand how we can improve reusability using partial views.

Let's start with a series of articles to learn, try to understand and dig more into ASP.NET MVC Framework. As part of it, I'm posting my first article.

More ...
About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 6/19/2013 10:05:53 AM