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
https://prestigenes-blood-flow-support.company.site/
Prestigenes Blood Flow Support Keeping up with solid blood sugar levels includes a rea...pankinsamelah — 05:48 AM
E-commerce
In today's digital world, a robust and user-friendly ecommerce website is essential for b...johndav12 — 05:45 AM
https://www.facebook.com/Aizen.Power.Australia.Official/
Aizen Power Australia Power contains various normal fixings, each picked for its partic...Rukama026 — 05:36 AM
Contabo Cloud Storage Server is just slow !!
The server is a back up of nearly 80 sites. The thing is it isn't showing any errors or s...marketingS — 05:07 AM
HaBangNet Review from Asian Users
Currently I have been searching for a good VPS service provider for our casino related ba...macaulead — 04:45 AM

[-]
Follow us on Facebook