What are the benefits of using MVC?

Rahul

Total Post:39

Points:195

Posted by  Rahul
 147  View(s)
Ratings:
Rate this:
  1. What are the benefits of using MVC?

    These are two types of big benefits of MVC:

    • Separation of concerns is achieved as we are moving the code-behind to a separate class file. By moving the binding code 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 an opportunity to write unit tests and automate manual testing.

Answer