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 Ketosyn ACV Gummies [Official] Shark-Tank Episode
On the other hand, irregular weight loss strategies are promoted by the use of weight dec...smithre — 04:18 PM
Google SERP Changes & Algorithm Updates - April 2024
EU traffic is down for us anyway since March. But UK traffic is really performing well.UKcart — 02:44 PM
Google SERP Changes & Algorithm Updates - April 2024
Try to diverse your targeted traffic. It shall increase your rpm. Indeed it's a good...vk_lord — 02:41 PM
Does Social Bookmarking really helps??
Social bookmarking is an effective way to promote content and increase traffic to a websi...charlesprabhu — 11:13 AM
ClickDealer - Join the Leaders of Affiliate Marketing!
Sometimes, a deal is so nice you have to post it twice. StockX is offering a 4% commissio...ClickDealer — 09:00 AM

[-]
Follow us on Facebook