If Controller is not there in MVC Pattern what happens?

Answers were Sorted based on User's Feedback



If Controller is not there in MVC Pattern what happens?..

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

If Controller is not there in MVC Pattern what happens?..

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

Post New Answer

More Dot Net Framework Interview Questions

What is RouteConfig.cs in ASP.Net MVC 4?

0 Answers  


differences between poco, model first and data first approach?

0 Answers   Microsoft,


What is viewbag title?

0 Answers  


How many .NET languages can a single .NET DLL contain

1 Answers  


How do you initiate a string without escaping each backslash ?

1 Answers  






Is the lack of deterministic destruction in .NET a problem

1 Answers  


How to add 'ASPNET.mdf' file into server explorer in visual studio 2005?

2 Answers  


How route table has been created in asp.net mvc?

0 Answers  


What is conceptual model? : Entity framework

0 Answers  


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?

0 Answers  


What are Validation Annotations?

0 Answers  


What is the difference between renderaction and renderpartial?

0 Answers  


Categories