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
BuyDo - All in One Thread
Share your thoughts about this network. Your reviews, feedbacks, any suggestion for the o...Aff — 04:51 AM
Adtrafico - All in One Thread
Are their offers just dating ones? Or, related to adult entertainment? I have come in con...avinash29 — 04:46 AM
HostXNow - All in One Thread
I will take your advice into consideration, I need a new host these days. What are...virtual_gambler — 04:37 AM
Metrics to look at before getting a link from - DA or PA or Spam Scor...
I do believe in domain Authority and page authority. As the website passes its link j...virtual_gambler — 04:35 AM
Google gives a Manual Action Penalty after March 2024 update
Found it. It was one of the couple of comments. Removed the entire plugin of comments.lolab — 04:31 AM

[-]
Follow us on Facebook