ASP.NET 3.5 SP1 (VSLive San Francisco 2009)


Published on

This is the slide deck of the session I presented at VSLive San Francisco 2009 on Feb. 24, 2009.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide
  • MGB 2003 © 2003 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • ASP.NET 3.5 SP1 (VSLive San Francisco 2009)

    1. 1. ASP.NET 3.5 SP1 … and then Some Dave Bost Developer Evangelist Pre-requisites for this presentation: 1) ASP.NET 2) JavaScript Level: Beginner / Intermediate
    2. 2. “ Looking at someone’s code, but with audio”
    3. 3. Agenda <ul><li>AJAX Enhancements </li></ul><ul><ul><li>AJAX History </li></ul></ul><ul><ul><li>AJAX Script Combining </li></ul></ul><ul><li>ASP.NET Routing (overview) </li></ul><ul><li>ASP.NET Dynamic Data Framework </li></ul><ul><li>ASP.NET MVC (overview) </li></ul><ul><li>ASP.NET Silverlight controls </li></ul>
    4. 4. .NET Framework SP1 features and beyond
    5. 5. ASP.NET AJAX Enhancements <ul><li>Browser history </li></ul><ul><li>Script Combining </li></ul>
    6. 6. AJAX History <ul><li>History framework allows you to: </li></ul><ul><ul><li>Create History and Bookmark entries that behave as users expect </li></ul></ul><ul><ul><li>Leverage either ScriptManager controls or JavaScript code </li></ul></ul><ul><ul><li>Save and encrypt partial page state </li></ul></ul>
    7. 7. Script Combining
    8. 8. Exploring AJAX Enhancements
    9. 9. ASP.NET Routing <ul><li>Introduces programmatic URL generation </li></ul><ul><li>Decouples resources from URL “path” </li></ul><ul><li>Key “building block” for “Dynamic Data Framework” and “Model View Controller” framework </li></ul>
    10. 10. ASP.NET Dynamic Data Framework <ul><li>Data Model </li></ul><ul><li>Scaffolding </li></ul><ul><li>Templating </li></ul><ul><li>Customization </li></ul>
    11. 11. ASP.NET Dynamic Data
    12. 12. ASP.NET & Silverlight 2.0 <ul><li>Media Player control </li></ul><ul><li>SilverLight control </li></ul>
    13. 13. Silverlight Controls
    14. 14. Model View Controller (Overview) Controller View Model
    15. 15. Using the MVC Framework
    16. 17. <ul><li>Client IDs: </li></ul><ul><ul><li>Developers can manage control IDs that affect rendered client ID </li></ul></ul><ul><ul><li>Remove ID bloat, and ‘mangling’ </li></ul></ul><ul><li>CSS: </li></ul><ul><ul><li>(Ideally) remove the need to use CSS adapters </li></ul></ul><ul><ul><li>Defer to CSS styles and bypass existing style properties </li></ul></ul><ul><ul><ul><li>Non-inline style attributes </li></ul></ul></ul><ul><ul><li>Support non-table-based HTML rendering </li></ul></ul>ASP.NET Web-Forms
    17. 18. <ul><li>URL routing for web-forms: </li></ul><ul><ul><li>Friendly-URL handling for web-forms </li></ul></ul><ul><ul><li>Configuration model for URL routing </li></ul></ul><ul><li>View-state: </li></ul><ul><ul><li>Disable on page, enable on specific controls </li></ul></ul><ul><ul><li>Disable on control, enable on child controls </li></ul></ul><ul><ul><li>GridView/ListView work better without view-state </li></ul></ul>ASP.NET Web-Forms
    18. 19. <ul><li>Ajax higher-level components: </li></ul><ul><ul><li>Ajax Control Toolkit is a part of the strategy </li></ul></ul><ul><ul><li>New controls </li></ul></ul><ul><li>Centralized script libraries and break-up of libraries leads to better performance </li></ul><ul><li>jQuery including IntelliSense </li></ul><ul><li>Templates and data binding: </li></ul><ul><ul><li>Client-side handling, REST or Web services </li></ul></ul><ul><ul><li>Covers page developer and component developer scenarios </li></ul></ul><ul><li>DOM manipulation, selectors .. </li></ul>ASP.NET Ajax
    19. 20. <ul><li>On the server: </li></ul><ul><li><ItemTemplate> <li><%# Eval(&quot;Name&quot;) %></li> </ItemTemplate> </li></ul><ul><li>On the client: </li></ul><ul><li><lu class=“sys-template”> <li>{{ Name }}</li> </lu> </li></ul>
    20. 21. <ul><li>Asynchronous controllers </li></ul><ul><li>Sub-controllers & views </li></ul><ul><li>Declarative controls, form validation </li></ul><ul><li>+ Dynamic-data: </li></ul><ul><ul><li>Patterns for CRUD and scaffolding </li></ul></ul><ul><li>+ Ajax: </li></ul><ul><ul><li>Partial rendering, JSON … </li></ul></ul><ul><ul><li>Register scripts, and create control and behaviors </li></ul></ul>ASP.NET MVC
    21. 22. <ul><li>Enhanced filtering: </li></ul><ul><ul><li>Auto-complete, search filters and cascading filters </li></ul></ul><ul><li>Enhanced meta-data: </li></ul><ul><ul><li>Control over column order and filtering </li></ul></ul><ul><li>New field templates: </li></ul><ul><ul><li>EmailAddress, Url and Enum are more richly supported </li></ul></ul>ASP.NET Dynamic Data
    22. 23. <ul><li>Address customer pain points </li></ul><ul><li>Improve scale and performance </li></ul><ul><li>Cache extensibility and performance: </li></ul><ul><ul><li>Enable caching products like Velocity to plug-in as a cache provider </li></ul></ul><ul><ul><li>Enhance ASP.NET session state APIs: </li></ul></ul><ul><ul><ul><li>Expose advanced features available through cache extensibility </li></ul></ul></ul>ASP.NET 'core'
    23. 24. <ul><li>The Official Microsoft ASP.NET Site </li></ul><ul><ul><li> </li></ul></ul><ul><li>Learn 3.5 SP1 Videos </li></ul><ul><ul><li> </li></ul></ul><ul><li>Blogs: </li></ul><ul><ul><li> </li></ul></ul><ul><ul><li> </li></ul></ul><ul><ul><li> </li></ul></ul><ul><ul><li> </li></ul></ul><ul><li>Forums: </li></ul><ul><ul><li> </li></ul></ul>Call to Action
    24. 25. <ul><li>View the PDC Sessions </li></ul><ul><ul><li>ASP.NET MVC – </li></ul></ul><ul><ul><li>ASP.NET Dynamic Data – </li></ul></ul><ul><ul><li>ASP.NET and jQuery - </li></ul></ul><ul><ul><li>ASP.NET 4.0 Roadmap - </li></ul></ul><ul><ul><li>ASP.NET AJAX Futures - </li></ul></ul>Call to Action
    25. 26. Dave Bost thank you! http:// http:// Q&A