Presentation is loading. Please wait.

Presentation is loading. Please wait.

Microsoft Ajax Taking Ajax to the Next Level

Similar presentations


Presentation on theme: "Microsoft Ajax Taking Ajax to the Next Level"— Presentation transcript:

1

2 Microsoft Ajax Taking Ajax to the Next Level
Stephen Walther Senior Program Manager Microsoft ASP.NET WIA303

3 Overview Microsoft Ajax CDN Microsoft Ajax Tools
Microsoft Ajax Library

4 Microsoft Ajax CDN Content Delivery Networks improve your website performance because: Files get cached across the world Files get cached across domains Files get compressed Files get cached on the browser with a far future header

5 Microsoft Ajax CDN What’s on the CDN? Microsoft Ajax Library jQuery
jQuery Validation Library ASP.NET Framework JavaScript

6 Microsoft Ajax CDN You can start using Microsoft Ajax like this:
<script src=“ajax.microsoft.com/ajax/beta/0911/Start.js”> </Script>

7 Microsoft Ajax CDN Quickly improve ASP.NET Web Forms performance:
<ScriptManager EnableCdn=“true” Runat=“Server” />

8 Using jQuery from the Microsoft Ajax CDN
demo Using jQuery from the Microsoft Ajax CDN

9 Microsoft Ajax Minifier
Reduces the size of JavaScript files: Normal Minification – Remove whitespace, comments, and unnecessary semi-colons and curly braces. Hypercrunching – Reduce variable names and remove unreachable statements, functions, and variables.

10 Microsoft Ajax Minifier
Command Line Tool MSBuild Task Component

11 Using the Microsoft Ajax Minifier
demo Using the Microsoft Ajax Minifier

12 Microsoft Ajax Library
Rich library for building Ajax applications: Compatible with all modern browsers including Microsoft Internet Explorer, Google Chrome, Apple Safari, Opera, and Mozilla Firefox. Includes a rich set of server-side controls for ASP.NET Web Forms developers. Includes pure client library for ASP.NET MVC, PHP, or pure HTML applications.

13 Microsoft Ajax Library Features
Powerful Client Data Access Library Client Script Loader Seamless jQuery Integration

14 Powerful Client Data Access Library
ASMX Web Services WCF Services ADO.NET Data Services MVC Controllers Any JSON End-Point Client Templates Client Data-Binding 2 way data-binding

15 Displaying Data from a WCF Service
demo Displaying Data from a WCF Service

16 Creating a Master/Detail form
demo Creating a Master/Detail form

17 Updating Database Data
Demo Updating Database Data

18 Client Script Loader Loads all scripts required by a component and executes the scripts in the right order automatically. Supports combining scripts automatically for improved performance. Supports on-demand loading. Enables AJAX Control Toolkit controls to be used in ASP.NET Web Forms, ASP.NET MVC, HTML, PHP, and any other type of web application.

19 Using the client script loader
Demo Using the client script loader

20 Using Microsoft Ajax client controls
Demo Using Microsoft Ajax client controls

21 jQuery Integration All Microsoft Ajax Library controls are exposed as jQuery plug-ins automatically: $(“#input1”).watermark( “Enter some text” );

22 Client data access with jQuery
Demo Client data access with jQuery

23 Summary Microsoft Ajax Library :
Compatible with all modern browsers including Google Chrome, Microsoft Internet Explorer, Apple Safari, Opera, and Mozilla Firefox Compatible with ASP.NET MVC, ASP.NET Web Forms, and any other type of web application Open Source (Please get involved!) CDN – You can use the Microsoft Ajax Library directly from the Microsoft Ajax CDN

24 Summary Microsoft Ajax Library Features: Powerful Client Data Access
Enables you to retrieve and modify data from ASMX, WCF, and ADO.NET Data Services (any JSON End Point). Enables you to format data with client templates. Client Script Loader Loads all scripts required by a control automatically and executes the scripts in the right order. Supports script combining. Supports on-demand loading. Seamless jQuery Integration All Microsoft Ajax controls are exposed as jQuery plug-ins automatically.

25 Additional Resources Watch for Microsoft Ajax Library Beta
Check out Channel 9 Learn center

26 Required Slide Speakers, please list the Breakout Sessions, TLC Interactive Theaters and Labs that are related to your session. Related Content Data Driven Microsoft ASP.NET Web Forms Applications Deep Dive – Jeff King Wednesday 17:30 A Lap around ASP.NET 4 and Microsoft Visual Studio 2010 – Jeff King Monday 10:45

27 question & answer

28 Resources Required Slide Speakers, www.microsoft.com/teched
TechEd 2009 is not producing a DVD. Please announce that attendees can access session recordings at TechEd Online. Resources Sessions On-Demand & Community Microsoft Certification & Training Resources Resources for IT Professionals Resources for Developers

29 Complete an evaluation on CommNet and enter to win an Xbox 360 Elite!

30 Required Slide © 2009 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.


Download ppt "Microsoft Ajax Taking Ajax to the Next Level"

Similar presentations


Ads by Google