asp.net 3.5 sp1 (vslive san francisco 2009)

26
ASP.NET 3.5 SP1 ASP.NET 3.5 SP1 … and then … and then Some Some Dave Bost Dave Bost Developer Evangelist e-requisites for this presentation: ) ASP.NET ) JavaScript vel: Beginner / Intermediate

Upload: dave-bost

Post on 10-May-2015

1.437 views

Category:

Technology


4 download

DESCRIPTION

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

TRANSCRIPT

Page 1: ASP.NET 3.5 SP1 (VSLive San Francisco 2009)

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

Page 2: ASP.NET 3.5 SP1 (VSLive San Francisco 2009)

http://thirstydeveloper.comhttp://thirstydeveloper.com

“Looking at someone’s code, but with audio”

Page 3: ASP.NET 3.5 SP1 (VSLive San Francisco 2009)

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

Page 4: ASP.NET 3.5 SP1 (VSLive San Francisco 2009)

.NET Framework SP1 features and beyond.NET Framework SP1 features and beyond

Page 5: ASP.NET 3.5 SP1 (VSLive San Francisco 2009)

ASP.NET AJAX EnhancementsASP.NET AJAX Enhancements

Browser history Script Combining

Page 6: ASP.NET 3.5 SP1 (VSLive San Francisco 2009)

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

Page 7: ASP.NET 3.5 SP1 (VSLive San Francisco 2009)

Script CombiningScript Combining

Page 8: ASP.NET 3.5 SP1 (VSLive San Francisco 2009)

Exploring AJAX Exploring AJAX EnhancementsEnhancements

Page 9: ASP.NET 3.5 SP1 (VSLive San Francisco 2009)

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

Page 10: ASP.NET 3.5 SP1 (VSLive San Francisco 2009)

ASP.NET Dynamic Data ASP.NET Dynamic Data FrameworkFramework

Data Model Scaffolding Templating Customization

Page 11: ASP.NET 3.5 SP1 (VSLive San Francisco 2009)

ASP.NET Dynamic ASP.NET Dynamic DataData

Page 12: ASP.NET 3.5 SP1 (VSLive San Francisco 2009)

ASP.NET & Silverlight 2.0ASP.NET & Silverlight 2.0

Media Player control SilverLight control

Page 13: ASP.NET 3.5 SP1 (VSLive San Francisco 2009)

Silverlight ControlsSilverlight Controls

Page 14: ASP.NET 3.5 SP1 (VSLive San Francisco 2009)

Model View Controller (Overview)Model View Controller (Overview)

Controller

ViewModel

Page 15: ASP.NET 3.5 SP1 (VSLive San Francisco 2009)

Using the MVC Using the MVC FrameworkFramework

Page 16: ASP.NET 3.5 SP1 (VSLive San Francisco 2009)
Page 17: ASP.NET 3.5 SP1 (VSLive San Francisco 2009)

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

Page 18: ASP.NET 3.5 SP1 (VSLive San Francisco 2009)

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

Page 19: ASP.NET 3.5 SP1 (VSLive San Francisco 2009)

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

Page 20: ASP.NET 3.5 SP1 (VSLive San Francisco 2009)

On the server:<ItemTemplate> <li><%# Eval("Name") %></li></ItemTemplate>

On the client:<lu class=“sys-template”> <li>{{ Name }}</li></lu>

Page 21: ASP.NET 3.5 SP1 (VSLive San Francisco 2009)

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

Page 22: ASP.NET 3.5 SP1 (VSLive San Francisco 2009)

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

Page 23: ASP.NET 3.5 SP1 (VSLive San Francisco 2009)

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'

Page 24: ASP.NET 3.5 SP1 (VSLive San Francisco 2009)

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

Page 25: ASP.NET 3.5 SP1 (VSLive San Francisco 2009)

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

Page 26: ASP.NET 3.5 SP1 (VSLive San Francisco 2009)

Dave Bost

thank you!

http://davebost.comhttp://twitter.com/davebost

Q&A