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
#1 Rated Sweet Harmony Blood Support [Official] Shark-Tank Episode
Sweet Harmony Blood Support offers a natural and effective way to manage blood sugar and ...Victoriya — 06:34 PM
Fitspresso (Reviews) Helps with Fat Breakdown! Is it Worth Buying?
Fitspresso Reviews:>> DISCRIPTION =>> As indicated by the makers, espresso ...LataShiu — 04:05 PM
Smart Hemp CBD Gummies Au/Nz: Official Website Price & Where To Buy
Smart Hemp CBD Gummies Au/Nz: Smart Hemp CBD Gummies Au/New Zealand are a kind of consu...vhdfhaft — 03:20 PM
Google SERP Changes & Algorithm Updates - May 2024
@"ecampbell"#1850  Strange I saw something similar but it didn't last more...ecampbell — 02:50 PM
Google SERP Changes & Algorithm Updates - May 2024
@"vk_lord"#1989 Fell yesterday. Then it rose tremendously today. G is testing s...barcode — 02:48 PM

[-]
Follow us on Facebook