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 |
how to face first interview in .NET?
What is clr? How does work clr & wht is work of clr?
How to ensure the credentials for WebService using Windows authentication
What is entitycontainer? : Entity framework
What is a razor file?
What are Model Binders in ASP.Net MVC?
What is partialview in asp.net mvc?
Can you write a class without specifying namespace? Which namespace does it belong to by default?
what are background threads? give ex?
What are action filters?
What is ASP.NET MVC?
Can we have enum in entity framework?