Developing great applications using ASP.NET MVC and ASP.NET AJAX

Post on 15-Feb-2017

2,850 views 4 download

transcript

Developing great applications using ASP.NET MVC and ASP.NET AJAX

Tatham OddieMVPSenior Consultant, Readify

What is this MVC thing anyway?

PageModel

ViewModel Controller

Page Controller

Front Controller

Page Controller

Front Controller

How is it useful on the web?

How do we use it?

Other random cool bits ...

System.Web.Routing

public class MyRouteHandler : IRouteHandler

{

public IHttpHandler GetHttpHandler

(RequestContext requestContext)

{

throw new NotImplementedException();

}

}

System.Web.Abstraction

HttpContextBase

HttpContextWrapper : HttpContextBase

HttpContextBase realContext =

new HttpContextWrapper

(HttpContext.Current);

HttpContextBase mockContext =

new MyMockContext();

IViewEngine

WebFormsViewEngine : IViewEngine

NVelocityViewEngine : IViewEngine

Why couldn’t we do this already?

We could.

MonoRail.

Why ASP.NET MVC then?

When do we get it?

AJAX

This doesn’t exist yet ...

... but that doesn’t need to stop you.

http://blog.tatham.oddie.com.autatham@oddie.com.au

© 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.