MVC - Model View Controller

This the small thoughts and sharing about MVC pattern. Originally named Thing-Model-View-Editor in 1979. But later it was called as Model View Controller

What Is Model-View-Controller?

Model-View-Controller (MVC) is an architectural pattern.
There are three things to be involved to separate an application.

1. Model: A set of classes that describes the data you're working with as well as the business rules for how the data can be changed and manipulated.
2.View: The application's user interface
3.Controller: A set of classes that handles communication from the user, overall application flow.

The View is a dynamically generated page. In ASP.NET MVC, this is implemented via the System.Web.Mvc.ViewPage class, which inherits from System.Web.UI.Page.

Basically controls are rendered dynamically in MVC.
You can create a MVC Kind of Project from your VS IDE. by clicking File -> New Project -> ASP.NET MVC Application.

HEAD>Untitled Page
FORM id=form1 name=form1 action=default.aspx method=post>
INPUT id=__VIEWSTATE type=hidden value=/wEPDwUJNzg3NjcwMjQzZGQ=
INPUT id=TextBox1 value="Initial Text" name=TextBox1>
INPUT i d=Button1
type=submit value=Button name=Button1>



No responses found. Be the first to comment...

  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name: