When to use ASP.NET MVC vs. ASP.NET Web Forms?

前端 未结 6 1441
梦毁少年i
梦毁少年i 2020-12-09 09:23

One of the common questions asked regarding ASP.NET MVC is why should you use it over ASP.NET Web Forms? The answer generally includes ViewState and clean URLs, amongst oth

6条回答
  •  悲&欢浪女
    2020-12-09 09:36

    The biggest problems facing developers is managing complexity and keeping code "clean". MVC gives the developer the reins to leverage OOP to tuck away complexity and make code easy on the eyes.

    Webforms will be faster to develop in the short term, but it doesn't lend itself to long term sustainability in terms of maintenance and growth.

提交回复
热议问题