What is MVC?

MVC is an architectural pattern which separates the representation and the user interaction. It’s divided in
to three broader sections, “Model”, “View” and “Controller”.
Below is how each one of them handles the
task.

  •  The “View” is responsible for look and feel.
  • Model” represents the real world object and provides data to the “View”.
  • The “Controller” is responsible to take the end user request and load the appropriate “Model” and“View”.

Comments

  1. is it possible ankul to Run your application without Model folder if yes then what is the use of Model there?
    also i was little confuse to take the view block so inform me view is use route the url during display data. same thing we do using urlrewrite method then why use view.?

    ReplyDelete
  2. yes Amendra pandey, it is possible to run your mvc application without model folder and uses of model folder is for contain your class and business logic

    ReplyDelete

Post a Comment

Popular posts from this blog

List out different return types of a controller action method?

3-6 yr Experience Interview Questions in .Net Technologies

Explain what is the difference between View and Partial View?