This document provides an introduction and overview of ASP.NET Webforms and ASP.NET MVC. It discusses the key concepts of each including pages, page lifecycle, and controls for Webforms. For MVC, it outlines the model-view-controller pattern, routing, controllers and actions. It also compares the pros and cons of each approach and provides references for further reading.
4. ASP.NET Webforms
• It’s all about Pages
• Request pages (*.aspx)
• Page lifecycle
• Control within the page
• Postback & Viewstate
• Tree of controls
21. RESTful (by Roy Fielding)
It’s all about nouns (Resources)
A representation of a resource is typically a document
that captures the current or intended state of a
resource.
URI
Stateless
Utilizes web architecture (Methods: GET, POST,
PUT, and DELETE)
Simple
Less bandwidth
Generality
Human readable
22. References
www.asp.net/mvc
Comparing Web Forms And ASP.NET MVC (Dino Esposito)
Scott Guthrie: http://weblogs.asp.net/scottgu
Scott Hanselman: www.computerzen.com
Wikipedia: MVC, RESTful
“Pro ASP.NET MVC 2 Framework” book by Steven
Sanderson
ASP.net MVC Vs ASP.net Web Form
REST vs. SOAP – The Right WebService
REST (Representational State Transfer) and RESTful web
services: Methods, Concepts and Examples
23. Q & A
Emad Alashi
www.emadashi.com
www.dotnetarabi.com
@EmadAshi