I like having control over exactly what's going on under the hood (the MVC way), but I'm also lazy, and don't like writing tons of javascript GUI things. Should I or should I not switch to MVC? Thanks, Nestor
Asp.Net Web Form has built-in data controls and best for rapid development with powerful data access. Asp.Net MVC is lightweight, provide full control over markup and support many features that allow fast & agile development. Hence it is best for developing an interactive web application with the latest web standards.
The short answer is no – ASP.NET Web Forms is dying. You can continue running Web Forms applications for decades to come because it is tied to the operating system.
Advantages of MVC Over WebformsLight Weight: MVC pages are lighter as compared to webforms as they don't carry bulky viewstate with them. Better Control over Design: MVC has dropped concept of server controls and instead use HTML controls or HTML helpers to generate HTML controls.
Following are the advantages of ASP.NET MVC over Web Forms: Absence of statefulness and ViewState makes the page lighter compared to WebForms. Shorter page life-cycle makes it easy to understand and less complex. Higher control over HTML, JavaScript(DOM elements) and CSS makes customization and accessibility easier.
It depends. If you are good at writing Webforms applications, you have lots of ASP.NET server controls already at your disposal, and you don't need a lot of finesse (read: code behind) in your application, then Webforms is probably a better choice.
On the other hand, if you like applications that are highly performant and cleanly architected, need precise control over your markup, and would like your application to be testable, then ASP.NET MVC is a better choice.
There are lots of easy to use JQuery widgets available for ASP.NET MVC, so your dislike of Javascript shouldn't hold you back. But there is a learning curve to MVC, so if you are averse to learning new things, I would stick with Webforms.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With