If Controller is not there in MVC Pattern what happens?
Answers were Sorted based on User's Feedback
Answer / venu
If Controller is not there means, then there will not be
any control on which model to be executed on which view
etc.,
for example if your click event has only have to active the
datagrid load, then if controller is not there means it
will be loaded on all the cases i.e,. on page load as well
as every refresh.
in other words there will not be any publisher / subscriber
concept which will result in chaos.
Is This Answer Correct ? | 2 Yes | 1 No |
Answer / deepika
Every View definition in Web.config requires a Controller.
So atleast one Controller is required in MVC architecture
without which there is no sense in using MVC
Is This Answer Correct ? | 0 Yes | 1 No |
Explain what is the difference between view and partial view?
What is objectset? : Entity framework
what is MetadData?. What is CTS? Type of Join in SQL Server? What is diffrence between Primary Key and Unique Key?
What are HTML Helpers, AJAX Helpers in ASP.Net MVC?
What is entitycontainer? : Entity framework
What is Peek method in Tempdata in ASP.Net MVC?
What is meant by domain model?
What is oauth in web api?
Can we have enum in entity framework?
Is dapper faster than entity framework?
What are the derived classes from xmlReader and xmlWriter
How do I change the permission set for a code group