Download presentation
Presentation is loading. Please wait.
Published byConstance Marie-Dominique Patel Modified over 6 years ago
1
ASP.NEXT The ASP.NET 3.5 Extensions
11/21/2018 9:07 PM ASP.NEXT The ASP.NET 3.5 Extensions Mike Ormond Developer & Platform Group Microsoft Ltd © 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.
2
Agenda Silverlight Controls AJAX History MVC Dynamic Data
3
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
4
silverlight { asp.net controls }
11/21/2018 9:07 PM 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.
5
ASP.NET AJAX
6
Managing Browser History
AJAX Partial Page Updates Lots of benefits Pay a price Navigation surprises
7
asp.net ajax { managing history }
11/21/2018 9:07 PM 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.
8
ASP.NET Routing
9
What’s in a Lifecycle? ASP.NET Webforms default.aspx default.aspx
search.aspx?q=a
10
What’s in a Lifecycle? System.Web.Routing UrlRoutingModule RouteTable
UrlRoutingModule RouteTable RouteHandler IHttphandler default.aspx search.aspx?q=a
11
routing { i pull this lever }
11/21/2018 9:07 PM 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.
12
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
13
Model View Controller (MVC)
11/21/2018 Model View Controller (MVC) Controller Model 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.
14
What’s in a Lifecycle? ASP.NET MVC Routing Controller Action View
mikeormond/default Routing Controller Action View mikeormond/post/1 mikeormond/search/term
15
demo mvc { hello mvc world } 11/21/2018 9:07 PM
© 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.
16
Simplifies maintenance
Brave Different World Differences No “postback” model No viewstate No server controls Benefits Simplifies testing Simplifies maintenance WYSIWYG HTML Customisation Clean URLs It’s another choice Swings and roundabouts and horses for courses It’s not webforms or webforms v next Might be for you, might not be for you
17
Dynamic Data
18
Dynamic Data Scaffolding Framework for ASP.NET
Quickly build data-driven web apps Easy Flexible Makes intelligent use of data model / schema Customisable
19
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
20
dynamic data { ooh - shiny things }
11/21/2018 9:08 PM 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.
21
Dynamic Data Lots of things for free One size fits all? User Interface
Validation Filtering & Paging Navigation Lots of things for free What if I want to customise? The model Fields Pages One size fits all?
22
dynamic data { customisation }
11/21/2018 9:08 PM dynamic data { customisation } 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.
23
Woha! That’s a lot of stuff.
Silverlight Controls Silverlight 2 Beta 1 SDK ASP.NET MVC ASP.NET MVC Preview 2 Dynamic Data ASP.NET Dynamic Data Preview AJAX History ASP.NET 3.5 Extensions Preview Silverlight Controls ASP.NET MVC Dynamic Data
24
Resources
25
11/21/2018 9:08 PM © 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.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.