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 |
What is the "helperpage.isajax" property?
Explain the advantage of packaging over xcopy in .net?
Will the finally block get executed if an exception has not occurred
How to change the action name in ASP.Net MVC?
what do you mean by navigation property?
how do you query in entity model when the result has a join from from different database other than the entity model?
what are background threads? give ex?
Where is the new functionality in the .net framework 3.0 (such as wcf, wf, wpf, and cardspace) installed to? Is that different from where the .net framework 2.0 is installed to?
mention what is the difference between ado.net and classic ado?
How does the .net framework 3.0 relate to the .net framework 2.0?
Explain the 'page lifecycle' of an ASP.NET MVC?
Why is XmlSerializer so slow