Tuesday, February 1, 2011

15 Reasons why ASP.NET MVC Rocks

Here's my list of why ASP.NET MVC rocks.

1.) Absolute Control over HTML. Any developer from outside ASP.NET webforms response to <asp:label id="lblName" runat="server"> is WTF.
2.) Easier to make your site mobile friendly compared to web forms.
3.) Much easier to incorporate themes from template vendors. Many templates are written in php, and translating PHP into MVC is easy-peasy.
4.) Ability to break away from 3rd party component vendors. There are so many jQuery plug-ins, that you can make a kick ass site without their support.
5.) No Viewstate, much lighter pages!!
6.) jQuery Plugins - Grids, Trees, Dialogs, Accordions, Menues, Splitters, Photo Galleries, Modals, multi-upload, tabs, etc... You also get to leverage what people have done with jQuery in other languages such as PHP, Ruby on Rails, etc...
7.) Razor View Engine is tight. You have to see it to believe it.
8.) No more viewstate black box magic.
9.) Tons of support and available vendors to pick and choose components.
10.) Microsoft's great ORM support. Entity Framework rocks and Lambda expressions get you away from writing tons of SQL. Data Annotations and Validation will save you a ton of time.
11.) Templating / Scaffold support speeds you up significantly. T4
12.) So much easier to TEST!!!! Testing a ASP.NET web forms app is so awkward and often impossible to do without using a integration test suite such as Selenium.
14.) Visual Studio 2010 is a great IDE and C# is an unbelievable language.
15.) The community. Ask a question on StackOverflow and you'll probably have an answer in less than 24 hours.

Yeah, you might cry like Smurfette when you get stuck, but believe me, you will get faster with time. Besides, you didn't pick up ASP.NET Web Forms right away...

Pick up a book, write an example app, and get to know it now.


0 comments: