asp.net 3.5 sp1 (vslive san francisco 2009)
DESCRIPTION
This is the slide deck of the session I presented at VSLive San Francisco 2009 on Feb. 24, 2009.TRANSCRIPT
ASP.NET 3.5 SP1ASP.NET 3.5 SP1 … and then Some… and then Some
Dave BostDave BostDeveloper Evangelist
Pre-requisites for this presentation:
1) ASP.NET 2) JavaScript
Level: Beginner / Intermediate
http://thirstydeveloper.comhttp://thirstydeveloper.com
“Looking at someone’s code, but with audio”
AgendaAgenda
AJAX Enhancements– AJAX History– AJAX Script Combining
ASP.NET Routing (overview) ASP.NET Dynamic Data Framework ASP.NET MVC (overview) ASP.NET Silverlight controls
.NET Framework SP1 features and beyond.NET Framework SP1 features and beyond
ASP.NET AJAX EnhancementsASP.NET AJAX Enhancements
Browser history Script Combining
AJAX HistoryAJAX History
History framework allows you to:–Create History and Bookmark entries that behave as users expect
–Leverage either ScriptManager controls or JavaScript code
–Save and encrypt partial page state
Script CombiningScript Combining
Exploring AJAX Exploring AJAX EnhancementsEnhancements
ASP.NET RoutingASP.NET Routing
Introduces programmatic URL generation
Decouples resources from URL “path”
Key “building block” for “Dynamic Data Framework” and “Model View Controller” framework
ASP.NET Dynamic Data ASP.NET Dynamic Data FrameworkFramework
Data Model Scaffolding Templating Customization
ASP.NET Dynamic ASP.NET Dynamic DataData
ASP.NET & Silverlight 2.0ASP.NET & Silverlight 2.0
Media Player control SilverLight control
Silverlight ControlsSilverlight Controls
Model View Controller (Overview)Model View Controller (Overview)
Controller
ViewModel
Using the MVC Using the MVC FrameworkFramework
Client IDs:– Developers can manage control
IDs that affect rendered client ID– Remove ID bloat, and ‘mangling’
CSS:– (Ideally) remove the need to use CSS
adapters – Defer to CSS styles and bypass
existing style propertiesNon-inline style attributes
– Support non-table-based HTML rendering
ASP.NET Web-Forms ASP.NET Web-Forms
URL routing for web-forms:– Friendly-URL handling for web-forms– Configuration model for URL routing
View-state:– Disable on page, enable on specific
controls– Disable on control, enable on child controls– GridView/ListView work
better without view-state
ASP.NET Web-Forms ASP.NET Web-Forms
Ajax higher-level components:– Ajax Control Toolkit is a part of the strategy– New controls
Centralized script libraries and break-up of libraries leads to better performance
jQuery including IntelliSense Templates and data binding:
– Client-side handling, REST or Web services– Covers page developer and
component developer scenarios DOM manipulation, selectors ..
ASP.NET AjaxASP.NET Ajax
On the server:<ItemTemplate> <li><%# Eval("Name") %></li></ItemTemplate>
On the client:<lu class=“sys-template”> <li>{{ Name }}</li></lu>
Asynchronous controllers Sub-controllers & views Declarative controls, form
validation + Dynamic-data:
– Patterns for CRUD and scaffolding + Ajax:
– Partial rendering, JSON …– Register scripts, and
create control and behaviors
ASP.NET MVCASP.NET MVC
Enhanced filtering:–Auto-complete, search filters and cascading filters
Enhanced meta-data: –Control over column order and filtering
New field templates:–EmailAddress, Url and Enum are more richly supported
ASP.NET Dynamic DataASP.NET Dynamic Data
Address customer pain points Improve scale and performance
Cache extensibility and performance:– Enable caching products like Velocity
to plug-in as a cache provider– Enhance ASP.NET session state APIs:
Expose advanced features available through cache extensibility
ASP.NET 'core'ASP.NET 'core'
The Official Microsoft ASP.NET Site– http://www.asp.net
Learn 3.5 SP1 Videos– http://www.asp.net/learn/3.5-SP1/
Blogs:– http://blogs.msdn.com/scottgu– http://weblogs.asp.net/bleroy– http://haacked.com– http://StephenWalther.com
Forums:– http://forums.asp.net
Call to ActionCall to Action
View the PDC Sessions– ASP.NET MVC –
http://channel9.msdn.com/pdc2008/PC21/
– ASP.NET Dynamic Data – http://channel9.msdn.com/pdc2008/PC30/
– ASP.NET and jQuery - http://channel9.msdn.com/pdc2008/PC31/
– ASP.NET 4.0 Roadmap - http://channel9.msdn.com/pdc2008/PC20/
– ASP.NET AJAX Futures - http://channel9.msdn.com/pdc2008/PC32/
Call to ActionCall to Action
http://microsoftpdc.com
Dave Bost
thank you!
http://davebost.comhttp://twitter.com/davebost
Q&A