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 RouteConfig.cs in ASP.Net MVC 4?
differences between poco, model first and data first approach?
What is viewbag title?
How many .NET languages can a single .NET DLL contain
How do you initiate a string without escaping each backslash ?
Is the lack of deterministic destruction in .NET a problem
How to add 'ASPNET.mdf' file into server explorer in visual studio 2005?
How route table has been created in asp.net mvc?
What is conceptual model? : Entity framework
When using aspx view engine, to have a consistent look and feel, across all pages of the application, we can make use of asp.net master pages. What is asp.net master pages equivalent, when using razor views?
What are Validation Annotations?
What is the difference between renderaction and renderpartial?