Asp.Net MVC framework And Asp.Net Webform

來源:互聯網
上載者:User
The ASP.NET MVC framework offers the following advantages:Complexity of application logic is made easier to manage because of theseparation of an application into model, view, and controller.It allows for easier parallel development; each developer can work on aseparate component of the MVC pattern.It provides good support for TDD, mocking, and unit testing frameworks.TDD enables you to write tests for an application first, after which theapplication logic is developed. TDD, mocking, and unit testing are explainedin Chapter 9, Testing an Application.It does not use ViewState or server-based forms, which allows you to havefull control over the application's behavior and HTML markup.It uses RESTful interfaces for URLs, which is better for SEO (Search EngineOptimization). REST is short for REpresentational State Transfer—theconcept of using URLs as the link to a resource, which can be a controlleraction method, rather than to physical files on the web server.A typical page size is small, because no unnecessary data is transferred in theform of hidden ViewState data.It integrates easily with client-side JavaScript frameworks such as jQueryor ExtJS.ASP.NET Webforms offers the following advantages:It offers an event model over HTTP that is familiar to any developer. Thisevent model also benefits the creation of business web applications.It provides a lot of controls that are familiar to any developer—datacomponents such as data grids and lists, validation controls, and so on.These components are highly integrated in the development environment.There are numerous third-party control vendors that can deliver almost anypossible control.Being familiar to developers allows ASP.NET Webforms to facilitate rapidapplication development.Functionality is concentrated per page. It uses ViewState and server-basedforms, which makes state management easier.
相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.