top button
Flag Notify
Site Registration

How Model, View and Controller communicate with each other in ASP.NET MVC?

+1 vote
578 views
How Model, View and Controller communicate with each other in ASP.NET MVC?
posted Feb 16, 2017 by Jdk

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

View and Model cannot talk without controller. Your view would never have known the Model if the Controller hasn't passed it to.

There are following rules for communication among Model, View and Controller:

  • User interacts with the Controller.
  • There is one-to-many relationship between Controller and View means one controller can mapped to multiple views.
  • Controller and View can have a reference to model.
  • Controller and View can talk to each other.
  • Model and View cannot talk to each other directly. They communicate to each other with the help of controller.
answer Feb 16, 2017 by Shivaranjini
...