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
Discovering Memphis: Gateway to the Blues - How Far is Memphis from Na...
Nestled along the banks of the mighty Mississippi River, Memphis stands as a cultural bea...Tourreview — 11:32 AM
Are You Ready To Performer 8 Male Enhancement ? Here'S How
PURCHASE LINK - ➢Product Name — Performer 8 Male Enhancement ➢Main Benefits — improve ...boosteupe — 11:17 AM
Links to the internal pages, to get ranked !!
Around 10-15 active DA 50+ links can be found to my homepage. Now, since the purchase o...jahnvi arora — 11:17 AM
Effortless Guide: How to Connect Amazon Prime to TV
Wondering how to connect Amazon Prime to TV? Don't worry, I've got you covered! I recentl...tech2review — 10:30 AM
Ignou MFNP 12 solved project
Get Ignou MFNP 12 solved project & report at an affordable price. Book your Ignou MFN...Smith29 — 10:24 AM

[-]
Follow us on Facebook