what’s new in.net framework 3.5 sp1 for web developers sarang s. datye consultant – microsoft...
TRANSCRIPT
What’s new in .NET Framework 3.5 SP1 for Web DevelopersSarang S. DatyeConsultant – Microsoft Global Services India.
Harish RanganathanLive – Web Developer Evangelist
AgendaASP.NET Dynamic Data
ScaffoldingModel MetadataModel ValidationCustomization
Page TemplatesField TemplatesCustom Pages
ASP.NET RoutingWhat is ASP.NET Routing?Routing taxonomy
RouteRoute Table/ Route Collection
Pipeline
ASP.NET AJAXAJAX History
Server-SideClient-Side
Script Combining ScriptReferenceProfiler
Scaffolding
Data-driven web applicationFull CRUDTemplatedAJAXExtensible
DemoScaffolding
Model Metadata
Data TypeDisplay ColumnDisplay FormatDisplay NameScaffoldUI Hint
DemoModel Metadata
Validation
ValidationRangeRegular ExpressionRequiredString Length
Model Validation
DemoModel Validation
Customization
Page TemplatesCustom Pages
Field TemplatesFieldTemplateUserControlRead-only/Edit/Insert Views
DemoCustomization
ASP.NET Routing
What is ASP.NET Routing?
1. Route-to-resource mapping
2. URL Generation
Route Resource
Resource Route
Route
Resource mapURL (w/Parameters)ConstraintsDefaultsRoute handlerRoute
URL: /Customers/{id}/{action}
Defaults: action = “View”
Constraints: id = “\d{2}”
Route Handler:MvcRouteHandler
Route Table/Route Collection
Shared route containerApplication-wide cache
Route Table
Route Collection
Route Route Route
Route MatchingURL Generation
Pipeline
URL RoutingModule
Route
Route Table
HTTPHandler
RouteHandler
Request
Response
Responsible ForDeterminingMatch
Responsible ForCreating /Selecting HTTPHandler
Stores all routedefinitions
DemoASP.NET Routing
ASP.NET AJAX
History
History Point #1 History Point #2
Back Button
AJAX History
Take advantage of browser…Back/Forward ButtonsBookmarks
Server-SideUpdatePanelScriptManager
Client-SideSys.ApplicationScriptManager
DemoHistory and ScriptCombining
Feedback / QnA
Your Feedback is Important!Please take a few moments to fill out our
online feedback form at: << Feedback URL – Ask your organizer for this in advance>>
For detailed feedback, use the form at http://www.connectwithlife.co.in/vtd/helpdesk.aspx
Or email us at [email protected]
Use the Question Manager on LiveMeeting to ask your questions now!
© 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.