Why MVC instead of good old ASP.NET? Still not grasping why I should go this route?

后端 未结 7 596
谎友^
谎友^ 2021-01-31 20:40

I know this question has been asked before and I read all the answers but they still don\'t give me the answers I am looking for. I need something concrete. I volunteered to g

7条回答
  •  太阳男子
    2021-01-31 21:28

    The bulky Behind code is one the biggest issue with Webform. The RAD approach is good to create project faster but the growing bulky behind code is not maintainable , reusable and testable. There are 5 problems which MVC resolves of WebForm.

    Problem 1 :- Webform was a View based solution for Action based requirement

    Problem 2:- Tight coupling between behind code and view

    Problem 3:- HTML is not the only response type in Webform it was not flexible

    Problem 4:- Flexible Combination of view and data not possible with webforms

    Problem 5:- Behind code was a heavy bulky class which can not be instantiated.

    All the above points has been explained in this codeproject article http://www.codeproject.com/Articles/821275/Why-ASP-NET-MVC-ASP-NET-MVC-vs-ASP-NET-webforms

    enter image description here

提交回复
热议问题