Weather (state,county)

ASP.NET Web Forms VS MVC

ASP.NET Web Forms and MVC are two web frameworks developed by Microsoft - they are both good choices. Neither of the web frameworks are to be replaced by the other nor are there plans to have them 'merged' into a single framework. Continued support and development are done in parallel by Microsoft and neither will be 'going away'.

The main advantages of ASP.net MVC are:
  1. Enables the full control over the rendered HTML.
  2. Provides clean separation of concerns(SoC).
  3. Enables Test Driven Development (TDD).
  4. Easy integration with JavaScript frameworks.
  5. Following the design of stateless nature of the web.
  6. RESTful urls that enables SEO.
  7. No ViewState and PostBack events.
The main advantage of ASP.net Web Form are:
  1. It provides RAD development
  2. Easy development model for developers those coming from winform development.
  3. Web Form have been in the market since long time, It has so many third party controls available and Web Form development can also make use of server and html controls available.
  4. Lot of information is available online for web forms.
  5. 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.
  6. It uses a Page Controller pattern that adds functionality to individual pages. For more information, see Page Controller.
  7. It uses view state on server-based forms, which can make managing state information easier.
  8. It works well for small teams of Web developers and designers who want to take advantage of the large number of components available for rapid application development.
  9. 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.

No comments:

Powered by Blogger.