1 / 23

What’s new in .NET Framework 3.5 SP1 for Web Developers

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. Agenda. ASP.NET Dynamic Data Scaffolding Model Metadata Model Validation Customization Page Templates

grady-fox
Download Presentation

What’s new in .NET Framework 3.5 SP1 for Web Developers

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  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 Evangelist

  2. Agenda • ASP.NET Dynamic Data • Scaffolding • Model Metadata • Model Validation • Customization • Page Templates • Field Templates • Custom Pages • ASP.NET Routing • What is ASP.NET Routing? • Routing taxonomy • Route • Route Table/ Route Collection • Pipeline • ASP.NET AJAX • AJAX History • Server-Side • Client-Side • Script Combining • ScriptReferenceProfiler

  3. Scaffolding • Data-driven web application • Full CRUD • Templated • AJAX • Extensible

  4. Demo Scaffolding

  5. Model Metadata • Data Type • Display Column • Display Format • Display Name • Scaffold • UI Hint

  6. Demo Model Metadata

  7. Validation • Validation • Range • Regular Expression • Required • String Length • Model Validation

  8. Demo Model Validation

  9. Customization • Page Templates • Custom Pages • Field Templates • FieldTemplateUserControl • Read-only/Edit/Insert Views

  10. Demo Customization

  11. ASP.NET Routing

  12. What is ASP.NET Routing? • Route-to-resource mapping 2. URL Generation Route Resource Resource Route

  13. Route • Resource map • URL (w/Parameters) • Constraints • Defaults • Route handler Route URL: /Customers/{id}/{action} Defaults: action = “View” Constraints: id = “\d{2}” Route Handler: MvcRouteHandler

  14. Route Table/Route Collection • Shared route container • Application-wide cache Route Table Route Collection Route Matching URL Generation Route Route Route

  15. Pipeline Stores all route definitions Route Table Request Responsible For Determining Match URL Routing Module Route Response Responsible For Creating / Selecting HTTP Handler HTTP Handler Route Handler

  16. Demo ASP.NET Routing

  17. ASP.NET AJAX

  18. History Back Button History Point #1 History Point #2

  19. AJAX History • Take advantage of browser… • Back/Forward Buttons • Bookmarks • Server-Side • UpdatePanel • ScriptManager • Client-Side • Sys.Application • ScriptManager

  20. Demo History and ScriptCombining

  21. 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 vtd@microsoft.com • Use the Question Manager on LiveMeeting to ask your questions now!

  22. Contact (optional slide) • Blog Address www.dotnetbetaworks.com • Email Address sarang.datye@microsoft.com

More Related