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 |
Can you use Razor code in Javascript in ASP.Net MVC?
Explain how to use multiple submit buttons in ASP.Net MVC?
Types of assemblies that can be created in dotnet ?
What are scaffold templates in mvc?
What is namespaces
What is MSIL, IL, CTS?
How would you deploy your old applications with .net framework 4.0? Are the old applications compatible?
What are the new enhancements done in default project template of asp.net mvc 4?
what is entity data model?
Diffence between .net framework 1.0 and 2.0?
What are actions in mvc?
Explain dependency resolution?