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 enable Attribute Routing?
Can I remove .net framework?
I want to fetch data from datareader. i have three tables in datareader. i want to bind my two table with datagrid, then i want to fetch a value from my third table. do u have any idea pls help me. we use dr.nextresult() for multiple tables.
Describe the .net framework architecture.
What are sections?
Is http stateful or stateless?
How can I return string result from action in asp.net mvc?
Can Static Constructor be Overloaded?Justify it?
Which is the default http method for an action method?
What is objectset? : Entity framework
what are the different stepts to create shared assemblies?
Does .NET Framework support SAX?