ASP.NEXT Mike Ormond Developer & Platform Group Microsoft Ltd 10/4/2019 5:48 AM ASP.NEXT Mike Ormond Developer & Platform Group Microsoft Ltd mike.ormond@microsoft.com http://mikeo.co.uk © 2007 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.
Agenda AJAX Dynamic Data Silverlight Controls Model View Controller
ASP.NET and “AJAX” AJAX History Support AJAX Script Combining Provides a way of marking and restoring navigation points in an AJAX application AJAX Script Combining <CompositeScript/> element JavaScript IDE Enhanced formatting & options Intellisense support for 3rd Party libraries Eg jQuery, Prototype, Scriptaculous, ExtJS
asp.net ajax { managing history } 10/4/2019 5:48 AM asp.net ajax { managing history } demo © 2007 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.
Dynamic Data
ASP.NET Routing ASP.NET Webforms default.aspx default.aspx search.aspx?q=a
ASP.NET Routing System.Web.Routing UrlRoutingModule RouteTable http://../mikeormond UrlRoutingModule RouteTable RouteHandler IHttphandler ../default ../search/a
system.web.routing { i pull this lever } 10/4/2019 5:48 AM system.web.routing { i pull this lever } demo © 2007 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.
Data Driven Web Apps Traditional ASP.NET Dynamic ASP.NET Create Data Model Create aspx Page Add controls Add validation You have a web page Create Data Model You have a website Customise
dynamic data { ooh - shiny things } demo © 2007 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.
MVC Separation of Concerns Partition the problem Model View Controller MVC Separation of Concerns Partition the problem Update parts in isolation Multiple views Simplifies testing
Model View Controller (MVC) 10/4/2019 Model View Controller (MVC) Controller Model ViewPage ViewPage ViewPage Views Defines application behavior Reacts to user actions Controls business logic Present user Interface Renders Model data Converts user input to routes Connects to datastore Persists data Maintains state © 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.
ASP.NET MVC Lifecycle Web Server Browser ProductsController http://hostname/Products/[List] Browser Web Server http://hostname/Products/Edit/5 List.aspx (View) ViewData ProductsController (Controller) Edit.aspx (View) Product (Model) SQL
demo mvc { hello mvc world } 10/4/2019 5:48 AM © 2007 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.
Silverlight Silverlight <asp:Silverlight> Rich Content Cross-browser Cross platform Silverlight <asp:Silverlight> Easily add rich content to any ASP.NET page <asp:MediaPlayer> Easily add rich media to any ASP.NET page
silverlight { asp.net controls } 10/4/2019 5:48 AM silverlight { asp.net controls } demo © 2007 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.
Woha! That’s a lot of stuff. AJAX Fx 3.5 SP1 Routing Dynamic Data Silverlight Controls Silverlight 2 SDK ASP.NET MVC ASP.NET MVC Beta
Resources http://www.msdnroadshow.co.uk
10/4/2019 5:48 AM © 2007 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. © 2007 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.