developing great applications using asp.net mvc and asp.net ajax
TRANSCRIPT
![Page 1: Developing great applications using ASP.NET MVC and ASP.NET AJAX](https://reader035.vdocuments.us/reader035/viewer/2022062522/58a343b71a28ab62248b5209/html5/thumbnails/1.jpg)
![Page 2: Developing great applications using ASP.NET MVC and ASP.NET AJAX](https://reader035.vdocuments.us/reader035/viewer/2022062522/58a343b71a28ab62248b5209/html5/thumbnails/2.jpg)
Developing great applications using ASP.NET MVC and ASP.NET AJAX
Tatham OddieMVPSenior Consultant, Readify
![Page 3: Developing great applications using ASP.NET MVC and ASP.NET AJAX](https://reader035.vdocuments.us/reader035/viewer/2022062522/58a343b71a28ab62248b5209/html5/thumbnails/3.jpg)
What is this MVC thing anyway?
![Page 4: Developing great applications using ASP.NET MVC and ASP.NET AJAX](https://reader035.vdocuments.us/reader035/viewer/2022062522/58a343b71a28ab62248b5209/html5/thumbnails/4.jpg)
PageModel
ViewModel Controller
Page Controller
Front Controller
![Page 5: Developing great applications using ASP.NET MVC and ASP.NET AJAX](https://reader035.vdocuments.us/reader035/viewer/2022062522/58a343b71a28ab62248b5209/html5/thumbnails/5.jpg)
Page Controller
Front Controller
![Page 6: Developing great applications using ASP.NET MVC and ASP.NET AJAX](https://reader035.vdocuments.us/reader035/viewer/2022062522/58a343b71a28ab62248b5209/html5/thumbnails/6.jpg)
How is it useful on the web?
![Page 7: Developing great applications using ASP.NET MVC and ASP.NET AJAX](https://reader035.vdocuments.us/reader035/viewer/2022062522/58a343b71a28ab62248b5209/html5/thumbnails/7.jpg)
How do we use it?
![Page 8: Developing great applications using ASP.NET MVC and ASP.NET AJAX](https://reader035.vdocuments.us/reader035/viewer/2022062522/58a343b71a28ab62248b5209/html5/thumbnails/8.jpg)
Other random cool bits ...
![Page 9: Developing great applications using ASP.NET MVC and ASP.NET AJAX](https://reader035.vdocuments.us/reader035/viewer/2022062522/58a343b71a28ab62248b5209/html5/thumbnails/9.jpg)
System.Web.Routing
![Page 10: Developing great applications using ASP.NET MVC and ASP.NET AJAX](https://reader035.vdocuments.us/reader035/viewer/2022062522/58a343b71a28ab62248b5209/html5/thumbnails/10.jpg)
public class MyRouteHandler : IRouteHandler
{
public IHttpHandler GetHttpHandler
(RequestContext requestContext)
{
throw new NotImplementedException();
}
}
![Page 11: Developing great applications using ASP.NET MVC and ASP.NET AJAX](https://reader035.vdocuments.us/reader035/viewer/2022062522/58a343b71a28ab62248b5209/html5/thumbnails/11.jpg)
System.Web.Abstraction
![Page 12: Developing great applications using ASP.NET MVC and ASP.NET AJAX](https://reader035.vdocuments.us/reader035/viewer/2022062522/58a343b71a28ab62248b5209/html5/thumbnails/12.jpg)
HttpContextBase
HttpContextWrapper : HttpContextBase
![Page 13: Developing great applications using ASP.NET MVC and ASP.NET AJAX](https://reader035.vdocuments.us/reader035/viewer/2022062522/58a343b71a28ab62248b5209/html5/thumbnails/13.jpg)
HttpContextBase realContext =
new HttpContextWrapper
(HttpContext.Current);
![Page 14: Developing great applications using ASP.NET MVC and ASP.NET AJAX](https://reader035.vdocuments.us/reader035/viewer/2022062522/58a343b71a28ab62248b5209/html5/thumbnails/14.jpg)
HttpContextBase mockContext =
new MyMockContext();
![Page 15: Developing great applications using ASP.NET MVC and ASP.NET AJAX](https://reader035.vdocuments.us/reader035/viewer/2022062522/58a343b71a28ab62248b5209/html5/thumbnails/15.jpg)
IViewEngine
![Page 16: Developing great applications using ASP.NET MVC and ASP.NET AJAX](https://reader035.vdocuments.us/reader035/viewer/2022062522/58a343b71a28ab62248b5209/html5/thumbnails/16.jpg)
WebFormsViewEngine : IViewEngine
![Page 17: Developing great applications using ASP.NET MVC and ASP.NET AJAX](https://reader035.vdocuments.us/reader035/viewer/2022062522/58a343b71a28ab62248b5209/html5/thumbnails/17.jpg)
NVelocityViewEngine : IViewEngine
![Page 18: Developing great applications using ASP.NET MVC and ASP.NET AJAX](https://reader035.vdocuments.us/reader035/viewer/2022062522/58a343b71a28ab62248b5209/html5/thumbnails/18.jpg)
Why couldn’t we do this already?
![Page 19: Developing great applications using ASP.NET MVC and ASP.NET AJAX](https://reader035.vdocuments.us/reader035/viewer/2022062522/58a343b71a28ab62248b5209/html5/thumbnails/19.jpg)
We could.
![Page 20: Developing great applications using ASP.NET MVC and ASP.NET AJAX](https://reader035.vdocuments.us/reader035/viewer/2022062522/58a343b71a28ab62248b5209/html5/thumbnails/20.jpg)
MonoRail.
![Page 21: Developing great applications using ASP.NET MVC and ASP.NET AJAX](https://reader035.vdocuments.us/reader035/viewer/2022062522/58a343b71a28ab62248b5209/html5/thumbnails/21.jpg)
Why ASP.NET MVC then?
![Page 22: Developing great applications using ASP.NET MVC and ASP.NET AJAX](https://reader035.vdocuments.us/reader035/viewer/2022062522/58a343b71a28ab62248b5209/html5/thumbnails/22.jpg)
When do we get it?
![Page 23: Developing great applications using ASP.NET MVC and ASP.NET AJAX](https://reader035.vdocuments.us/reader035/viewer/2022062522/58a343b71a28ab62248b5209/html5/thumbnails/23.jpg)
AJAX
![Page 24: Developing great applications using ASP.NET MVC and ASP.NET AJAX](https://reader035.vdocuments.us/reader035/viewer/2022062522/58a343b71a28ab62248b5209/html5/thumbnails/24.jpg)
This doesn’t exist yet ...
![Page 25: Developing great applications using ASP.NET MVC and ASP.NET AJAX](https://reader035.vdocuments.us/reader035/viewer/2022062522/58a343b71a28ab62248b5209/html5/thumbnails/25.jpg)
... but that doesn’t need to stop you.
![Page 26: Developing great applications using ASP.NET MVC and ASP.NET AJAX](https://reader035.vdocuments.us/reader035/viewer/2022062522/58a343b71a28ab62248b5209/html5/thumbnails/26.jpg)
http://[email protected]
![Page 27: Developing great applications using ASP.NET MVC and ASP.NET AJAX](https://reader035.vdocuments.us/reader035/viewer/2022062522/58a343b71a28ab62248b5209/html5/thumbnails/27.jpg)
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.
The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after
the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.