ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

What is the difference between ASP.Net Web Forms and ASP.Net MVC?

user-image
تم إضافة السؤال من قبل Imran Shafique , Senior Application Developer , Bayan Credit Bureau
تاريخ النشر: 2013/11/08

Web forms are tightly coupled.

MVC separates code logic with presentation logic (clean)

 

Web forms use viewstate.

MVC is a stateless.

 

Webforms Slow due to large viewstate chunks.

MVC is Fast due to clean approach and no viewstate.

 

Webforms Follows page control pattern approach for rendering layout.

MVC follows front controller pattern.

Chinta Anusha
من قبل Chinta Anusha , Hr Executive and Recruiter , Goadrige soft Solutions

  • Web Forms use viwestate.
  • web Forms are tightly coupled.
  • MVC separates code logic with presentation logic.
  • MVC is a stateless.

Houssem Gharsallah
من قبل Houssem Gharsallah , Software Architect , NOMD Technologies

ASP.NET web forms was released first. It is very easy to work with. Suitable for small and medium web applications. It has many flaws such as the ViewState and the Control State, and the difficulty of project modification since the View and Code are very coupled.

 

ASP.NET MVC is based on the MVC design pattern. It is well supported in the .NET community and by Microsoft. It suitable for developing any kind of web application. It obeys to many web standards unlike web forms.

Personnaly, I would recommend MVC. Because, Web forms is suitable for simple and personal jobs but not recommended for professional (enterprise) use.  

المزيد من الأسئلة المماثلة