InterviewSolution
| 1. |
What Are The Benefits Of Using Mvc? |
|
Answer» There are two big benefits of MVC:-Separation of concerns is achieved as we are moving the code BEHIND to a separate class file. By moving the bindingcode to a separate class file we can REUSE the code to a GREAT extent.Automated UI testing is possible because now the behind code (UI INTERACTION code) has moved to a simple.NET class.This gives us opportunity to write unit tests and automate manual testing There are two big benefits of MVC:-Separation of concerns is achieved as we are moving the code behind to a separate class file. By moving the bindingcode to a separate class file we can reuse the code to a great extent.Automated UI testing is possible because now the behind code (UI interaction code) has moved to a simple.NET class.This gives us opportunity to write unit tests and automate manual testing |
|