microsoft uk techdays - top 10 asp.net 4.0 features

21

Upload: ukdpe

Post on 10-May-2015

3.477 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Microsoft UK TechDays - Top 10 ASP.NET 4.0 Features
Page 2: Microsoft UK TechDays - Top 10 ASP.NET 4.0 Features

Mike Ormond, Microsoft

@MikeOrmondhttp://bit.ly/[email protected]

What’s new and interesting in ASP.NET 4

Page 3: Microsoft UK TechDays - Top 10 ASP.NET 4.0 Features

3

Better ToolingCore - Productivity 1

Page 4: Microsoft UK TechDays - Top 10 ASP.NET 4.0 Features

4

Control over ClientIDsControl over ViewstateDefault HTML EncodingStandards

CheckboxList / RadioButtonListMenu ControlRenderOuterTableHidden <div> elements for system fields

Markup CleanupWeb Forms – Performance / Standards 2

Page 5: Microsoft UK TechDays - Top 10 ASP.NET 4.0 Features

5

Output CachingCore - Performance 3

Default.aspxDefault.aspxPage.aspxUC.ascx

OutputCache

OutputCacheProvider

Windows Azure

AppFabric

Page 6: Microsoft UK TechDays - Top 10 ASP.NET 4.0 Features

6

Session StateCore - Performance

Flick switch to compress Session across the wire4

Page 7: Microsoft UK TechDays - Top 10 ASP.NET 4.0 Features

7

Application MonitoringCore - Debugging

App Domain Resource Management5

Page 8: Microsoft UK TechDays - Top 10 ASP.NET 4.0 Features

8

Helpers, Templates & ValidationMVC – Productivity

Strongly-typed helpersTemplatesValidation

6

Page 9: Microsoft UK TechDays - Top 10 ASP.NET 4.0 Features

9

RoutingWeb Forms - SEO 7

Page 10: Microsoft UK TechDays - Top 10 ASP.NET 4.0 Features

10

DeploymentCore - Productivity 8

Page 11: Microsoft UK TechDays - Top 10 ASP.NET 4.0 Features

11

Microsoft AJAX & jQueryCore - Productivity

Client-side databindingTemplatesDataView controlRefactored librariesScriptLoader

Ships with VS 2010MS ContributingClient-side templates

http://www.asp.net/ajaxLibrary/CDN.ashx

9

Page 12: Microsoft UK TechDays - Top 10 ASP.NET 4.0 Features

12

Data VisualisationCore - Features 0

Page 13: Microsoft UK TechDays - Top 10 ASP.NET 4.0 Features

13

In Summary

Mature frameworkASP.NET 4.0 – wealth of enhancementsWhether Web Forms or MVCCommitment to jQueryVisual Studio 2010

More informationhttp://asp.net http://bit.ly/NewInAsp4

Page 14: Microsoft UK TechDays - Top 10 ASP.NET 4.0 Features

Mike Ormond, Microsoft

@MikeOrmondhttp://bit.ly/[email protected]

Using jQuery with ASP.NET

Page 15: Microsoft UK TechDays - Top 10 ASP.NET 4.0 Features

15

AgendaUsing jQuery with ASP.NET

A little backgrounderA jQuery primerjQuery plug-insjQuery templatesAdding jQuery sauce to your ASP.NET app

Page 16: Microsoft UK TechDays - Top 10 ASP.NET 4.0 Features

16

What is it?jQuery that is“jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development.jQuery is designed to change the way that you write JavaScript.”

Source: http://jquery.com/

Page 17: Microsoft UK TechDays - Top 10 ASP.NET 4.0 Features

17

About jQueryCreated by John ResigFirst announced Jan 2006 at BarCampNYCMost popular JavaScript library in use todayFree, open source (MIT, GPL)Cross Browser

IE6+, FF2+, Sarari 3+, Chrome, Opera 9+Lightweight (24kb)Find it at http://jquery.com It’s a joy to use

Image courtesy of mixevent@flickr

Page 18: Microsoft UK TechDays - Top 10 ASP.NET 4.0 Features

18

Microsoft & jQueryJan 2009 announcement to ship with VSjQuery included as-is under existing MIT licence

Not a fork of jQuery, it’s just jQueryMicrosoft will contribute to jQuery project

Full product support for jQueryGreat Intellisense supportMIX10 we extended our commitment

Additional resourcesjQuery templatesjQuery vs ASP.NET AJAX

Page 19: Microsoft UK TechDays - Top 10 ASP.NET 4.0 Features

jQuery Primer etc

Image courtesy of kingdavera@flickr

Page 20: Microsoft UK TechDays - Top 10 ASP.NET 4.0 Features

20

In SummaryjQuery

simple to use but extremely powerful Fxcompliments existing ASP.NET nicely

Microsoft investing in jQueryjQuery focus is “client side” AJAX

ASP.NET AJAX Library -> AJAX Control ToolkitACT focus is “server-side” AJAX

Resourceshttp://jquery.com http://asp.net/ajax

Page 21: Microsoft UK TechDays - Top 10 ASP.NET 4.0 Features

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