Tuesday, September 20, 2016

Asp.Net MVC Introduction

What is MVC ?


The Model View and Controller(MVC) architectural pattern separates an application into three main components.The Model,The View,and The Controller.The Asp.Net MVC framework Provides an alternative to the Asp.Net Web Forms Pattern for creating web applications.

What is MVC framework ?

MVC is one of three Asp.Net Programming models.MVC is a framework for building web application using a MVC (Model View Controller) desigin the Model represents the application core(for instance a list of database records).The view displays the data (the database records).

MVC Components

Model

The Model components corresponds to all the data related logic that the user works with.This can represent either  the data that is begin transferred between the View and Controller components or any other business logic related data.

View

The View components is used for all the UI logic of the application.

Controller

Controller act  as an  interface between Model and View  components to process all the business logic and incoming requests, manipulate data using the Model components and interact with the Views to render the final output.


mvc architecuture
MVC Architecuture


Asp.net Mvc framework is lightweight and Asp.net supports Web Page,Web Forms and MVC development models.The frmeworks is define in the System.Web.Mvc assembly.