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 many backlinks per day?
There are noting define to create a backlinks. so we can't say that how many backlinks sh...cpjimt — 08:36 AM
https://www.facebook.com/Neo.Drops.Germany.Official/
Many humans want to lose weight and be healthy in nowadays international. One diet that ...Neesenetties — 07:32 AM
https://veelobooster-capsules.company.site/
VeeloBooster Capsules Sexual health depends on many various factors, and has a deep ...arsonjoey — 06:51 AM
Best web development and website designing company in Dubai UAE
Unlocking the Power of Digital Marketing: SEO, Social Media, and Content Writing I...webdesigninguae — 06:18 AM
Can AI tools replace search engines in terms of giving good answers?
It will be a bubble actually for the people who will use AI tools as a search engine. And...zeus — 05:45 AM

[-]
Follow us on Facebook