Thread Rating:
  • 0 Vote(s) - 0 Average
Share Thread:
Difference between ASP.NET WebForms and ASP.NET MVC
#1
ASP.NET Web Forms uses Page controller pattern approach for rendering layout. In this approach, every page has it's own controller i.e. code-behind file that processes the request. On the other hand, ASP.NET MVC uses Front Controller approach. In this approach a common controller for all pages, processes the requests.
Reply
#2
ASP.NET Web Forms: ASP.NET Web Forms use Page controller pattern approach for rendering layout. In this approach, every page has its own controller, i.e., code-behind file that processes the request.
No separation of concerns. As we discussed that every page (.aspx) has its own controller (code behind i.e. aspx.cs/.vb file), so both are tightly coupled.

ASP.NET MVC: ASP.NET MVC uses Front Controller approach. That approach means a common controller for all pages processes the requests. Very clean separation of concerns. View and Controller are neatly separate. Testability is a key feature in ASP.NET MVC. Test driven development is quite simple using this approach.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)
[-]
Ad

[-]
Top Articles
100+ Social Bookmarking Sites List
55+ Image Submission Sites List

[-]
Recent Posts
How do you market a small blog in travel niche?
Start with sharing on social media. It can give you quick exposure.libertyotheseasdeckplan — 06:10 PM
How to Create a Newsletter That Makes Profits.
Learn how to create a newsletter that makes profits in business. Our guide presents simpl...kshitijwagh — 05:05 PM
ClickDealer - Join the Leaders of Affiliate Marketing!
What's better than running a campaign for a global brand with brand recognition helping l...ClickDealer — 04:08 PM
SynoGut
SynoGut SynoGut is a strong normal item that guides in the recuperation of the stomach r...Francmitc — 04:06 PM
SynoGut Reviews (Alert from an Honest Analytical ExperT)
SynoGut Reviews:>> DISCRIPTION =>> SynoGut is a characteristic mix of fixing...HeleDor — 03:23 PM

[-]
Follow us on Facebook