Can you explain Model, Controller and View in MVC?

  • Model – It’s a business entity and it is used to represent the application data.
  • Controller – Request sent by the user always scatters through controller and it’s responsibility is to redirect to the specific view using View() method.
  • View – It’s the presentation layer of MVC.

Comments

Popular posts from this blog

Explain what is routing in MVC? What are the three segments for routing important?

What is the difference between “HTML.TextBox” vs “HTML.TextBoxFor”?

Explain what is the difference between View and Partial View?