Archive for the ‘ASP.NET MVCV 4’ Category

Like i had anouced in my last post yesterday i had been the speaker in a session about Web and Cloud Development at the Launch event of Visual Studio 2012 in Portugal.

After my session some questions had arrived to my email. On off the most common questions was if ASP.NET MVC will kill ASP.NET WebForms. That was what made my write this post in the reality each technology has is one scope and is better at something i use them both depending on my goals.

Let’s take a look at the advantages of each one

Advantages of an MVC-Based Web Application

  • It makes it easier to manage complexity by dividing an application into the model, the view, and the controller.
  • It does not use view state or server-based forms. This makes the MVC framework ideal for developers who want full control over the behavior of an application.
  • It uses a Front Controller pattern this enables you to design an application that supports a rich routing infrastructure.
  • It provides better support for test-driven development (TDD).

 

Advantages of a Web Forms-Based Web Application

  • It supports an event model that preserves state over HTTP, which benefits line-of-business Web application development. The Web Forms-based application provides dozens of events that are supported in hundreds of server controls.
  • It uses a Page Controller pattern that adds functionality to individual pages.
  • It uses view state on server-based forms, which can make managing state information easier.
  • In general, it is less complex for application development, because the components (the Page class, controls, and so on) are tightly integrated and usually require less code than the MVC model.

For my point of view this is the most relevant points of each technology. Another point off choice can be the size of the development team envolved. If you have big and multidisciplinar teams MVC is better if you have produtivity issues and a very small team and you don t need to have full control of front end WebForms will be the winner.

I hope this post help you when you are looking for chose the right aim in the Microsoft Web development stack.

Any Question feel free to contact me.

I Was invited my Microsoft to speak in the event next monday 24 of sptember in Lisbo LX Experience. In this event i will talk about ASP.NET 4.0.

I had end the preparation off the presentation this night, and i am very motivated and happy for presenting this version off a web technology that i had since the version 1 study and use.

ASP.NET MVC was a refresh and one off the good things that happen to ASP.Net puting the needed abstration to have .NET technology working with one off the more interested design pattern for the WEB.

I hope in my session i could help the atendence to ignite in this version of ASP.Net MVC and to share with you a good session of KB.

If you are around Lisbon and want to know more about ASP.NET MVC come to visit my session.

https://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032529709&Culture=pt-PT&community=0

Evento de Lançamento: Visual Studio 2012

15h00 16h00 Web & Cloud Development Alexandre Marreiros Developing ASP.NET MVC4 web-sites, and modern apps with Web-API Services consumed by HTML5 clients (JQuery & JavaScript).

Then, showing the application deployment possibilities offered by Windows Azure.