23
What’s new in .NET Framework 3.5 SP1 for Web Developers Sarang S. Datye Consultant – Microsoft Global Services India. Harish Ranganathan Live – Web Developer Evangelist

What’s new in.NET Framework 3.5 SP1 for Web Developers Sarang S. Datye Consultant – Microsoft Global Services India. Harish Ranganathan Live – Web Developer

Embed Size (px)

Citation preview

Page 1: What’s new in.NET Framework 3.5 SP1 for Web Developers Sarang S. Datye Consultant – Microsoft Global Services India. Harish Ranganathan Live – Web Developer

What’s new in .NET Framework 3.5 SP1 for Web DevelopersSarang S. DatyeConsultant – Microsoft Global Services India.

Harish RanganathanLive – Web Developer Evangelist

Page 2: What’s new in.NET Framework 3.5 SP1 for Web Developers Sarang S. Datye Consultant – Microsoft Global Services India. Harish Ranganathan Live – Web Developer

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

Page 3: What’s new in.NET Framework 3.5 SP1 for Web Developers Sarang S. Datye Consultant – Microsoft Global Services India. Harish Ranganathan Live – Web Developer

Scaffolding

Data-driven web applicationFull CRUDTemplatedAJAXExtensible

Page 4: What’s new in.NET Framework 3.5 SP1 for Web Developers Sarang S. Datye Consultant – Microsoft Global Services India. Harish Ranganathan Live – Web Developer

DemoScaffolding

Page 5: What’s new in.NET Framework 3.5 SP1 for Web Developers Sarang S. Datye Consultant – Microsoft Global Services India. Harish Ranganathan Live – Web Developer

Model Metadata

Data TypeDisplay ColumnDisplay FormatDisplay NameScaffoldUI Hint

Page 6: What’s new in.NET Framework 3.5 SP1 for Web Developers Sarang S. Datye Consultant – Microsoft Global Services India. Harish Ranganathan Live – Web Developer

DemoModel Metadata

Page 7: What’s new in.NET Framework 3.5 SP1 for Web Developers Sarang S. Datye Consultant – Microsoft Global Services India. Harish Ranganathan Live – Web Developer

Validation

ValidationRangeRegular ExpressionRequiredString Length

Model Validation

Page 8: What’s new in.NET Framework 3.5 SP1 for Web Developers Sarang S. Datye Consultant – Microsoft Global Services India. Harish Ranganathan Live – Web Developer

DemoModel Validation

Page 9: What’s new in.NET Framework 3.5 SP1 for Web Developers Sarang S. Datye Consultant – Microsoft Global Services India. Harish Ranganathan Live – Web Developer

Customization

Page TemplatesCustom Pages

Field TemplatesFieldTemplateUserControlRead-only/Edit/Insert Views

Page 10: What’s new in.NET Framework 3.5 SP1 for Web Developers Sarang S. Datye Consultant – Microsoft Global Services India. Harish Ranganathan Live – Web Developer

DemoCustomization

Page 11: What’s new in.NET Framework 3.5 SP1 for Web Developers Sarang S. Datye Consultant – Microsoft Global Services India. Harish Ranganathan Live – Web Developer

ASP.NET Routing

Page 12: What’s new in.NET Framework 3.5 SP1 for Web Developers Sarang S. Datye Consultant – Microsoft Global Services India. Harish Ranganathan Live – Web Developer

What is ASP.NET Routing?

1. Route-to-resource mapping

2. URL Generation

Route Resource

Resource Route

Page 13: What’s new in.NET Framework 3.5 SP1 for Web Developers Sarang S. Datye Consultant – Microsoft Global Services India. Harish Ranganathan Live – Web Developer

Route

Resource mapURL (w/Parameters)ConstraintsDefaultsRoute handlerRoute

URL: /Customers/{id}/{action}

Defaults: action = “View”

Constraints: id = “\d{2}”

Route Handler:MvcRouteHandler

Page 14: What’s new in.NET Framework 3.5 SP1 for Web Developers Sarang S. Datye Consultant – Microsoft Global Services India. Harish Ranganathan Live – Web Developer

Route Table/Route Collection

Shared route containerApplication-wide cache

Route Table

Route Collection

Route Route Route

Route MatchingURL Generation

Page 15: What’s new in.NET Framework 3.5 SP1 for Web Developers Sarang S. Datye Consultant – Microsoft Global Services India. Harish Ranganathan Live – Web Developer

Pipeline

URL RoutingModule

Route

Route Table

HTTPHandler

RouteHandler

Request

Response

Responsible ForDeterminingMatch

Responsible ForCreating /Selecting HTTPHandler

Stores all routedefinitions

Page 16: What’s new in.NET Framework 3.5 SP1 for Web Developers Sarang S. Datye Consultant – Microsoft Global Services India. Harish Ranganathan Live – Web Developer

DemoASP.NET Routing

Page 17: What’s new in.NET Framework 3.5 SP1 for Web Developers Sarang S. Datye Consultant – Microsoft Global Services India. Harish Ranganathan Live – Web Developer

ASP.NET AJAX

Page 18: What’s new in.NET Framework 3.5 SP1 for Web Developers Sarang S. Datye Consultant – Microsoft Global Services India. Harish Ranganathan Live – Web Developer

History

History Point #1 History Point #2

Back Button

Page 19: What’s new in.NET Framework 3.5 SP1 for Web Developers Sarang S. Datye Consultant – Microsoft Global Services India. Harish Ranganathan Live – Web Developer

AJAX History

Take advantage of browser…Back/Forward ButtonsBookmarks

Server-SideUpdatePanelScriptManager

Client-SideSys.ApplicationScriptManager

Page 20: What’s new in.NET Framework 3.5 SP1 for Web Developers Sarang S. Datye Consultant – Microsoft Global Services India. Harish Ranganathan Live – Web Developer

DemoHistory and ScriptCombining

Page 21: What’s new in.NET Framework 3.5 SP1 for Web Developers Sarang S. Datye Consultant – Microsoft Global Services India. Harish Ranganathan Live – Web Developer

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!

Page 22: What’s new in.NET Framework 3.5 SP1 for Web Developers Sarang S. Datye Consultant – Microsoft Global Services India. Harish Ranganathan Live – Web Developer

Contact (optional slide)

Blog Addresswww.dotnetbetaworks.com

Email [email protected]

Page 23: What’s new in.NET Framework 3.5 SP1 for Web Developers Sarang S. Datye Consultant – Microsoft Global Services India. Harish Ranganathan Live – Web Developer

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