QuestPond’s Interview Questions & Answers on ASP.NET MVC (Model View Controller) - Online Free Computer Tutorials.

'Software Development, Games Development, Mobile Development, iOS Development, Android Development, Window Phone Development. Dot Net, Window Services,WCF Services, Web Services, MVC, MySQL, SQL Server and Oracle Tutorials, Articles and their Resources

Friday, July 6, 2018

QuestPond’s Interview Questions & Answers on ASP.NET MVC (Model View Controller)

Why MVC (Model View Controller) is loosely coupled? In order to answer this question, first let's understand what's the difference between loosely coupling and tightly coupling is. Look at the following pic. When we talk about human body, body parts are tightly coupled to each other. We cannot simply replace hand with some other hand or a leg with some other leg. This is called tightly coupling. When we talk about computer most of the parts are loosely coupled. Take the RAM out put a new one, same with display, keypad etc. This is called loosely coupling. In Web Forms User interaction logic is handled inside CodeBehind where as in Asp.net MVC it's handled inside Controller. Now if we compare Web form Codebehind with MVC Controller biggest difference is, CodeBehind is tightly coupled with view where as controller wont tightly connected to any view. Single controller can work with more than one view and similarly one view may contain references for more than one controller in form or anchor tag.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

Uncategorized,(Information technology) IT interview questions with answers,ASP.NET MVC interview questions,ASP.NET MVC step by step training,ASP.NET MVC training,Csharp interview questions,Model View Controller,MVC loosely coupled,programming interview questions

No comments:

Post a Comment