Stephen Walther Senior Program Manager Microsoft ASP.NET WIA303 Overview Microsoft Ajax CDN Microsoft Ajax Tools Microsoft Ajax Library.

Download Report

Transcript Stephen Walther Senior Program Manager Microsoft ASP.NET WIA303 Overview Microsoft Ajax CDN Microsoft Ajax Tools Microsoft Ajax Library.

Stephen Walther
Senior Program Manager
Microsoft ASP.NET
WIA303
Overview
Microsoft Ajax CDN
Microsoft Ajax Tools
Microsoft Ajax Library
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
Microsoft Ajax CDN
What’s on the CDN?
Microsoft Ajax Library
jQuery
jQuery Validation Library
ASP.NET Framework JavaScript
Microsoft Ajax CDN
You can start using Microsoft Ajax like this:
<script src=“ajax.microsoft.com/ajax/beta/0911/Start.js”>
</Script>
Microsoft Ajax CDN
Quickly improve ASP.NET Web Forms
performance:
<ScriptManager
EnableCdn=“true”
Runat=“Server” />
Using jQuery from the Microsoft Ajax CDN
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.
Microsoft Ajax Minifier
Command Line Tool
MSBuild Task
Component
Using the Microsoft Ajax Minifier
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.
Microsoft Ajax Library Features
Powerful Client Data Access Library
Client Script Loader
Seamless jQuery Integration
Powerful Client Data Access Library
Client Data Access
ASMX Web Services
WCF Services
ADO.NET Data Services
MVC Controllers
Any JSON End-Point
Client Templates
Client Data-Binding
2 way data-binding
Displaying Data from a WCF Service
Creating a Master/Detail form
Updating Database Data
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.
Using the client script loader
Using Microsoft Ajax client controls
jQuery Integration
All Microsoft Ajax Library controls are exposed as
jQuery plug-ins automatically:
$(“#input1”).watermark( “Enter some text” );
Client data access with jQuery
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
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.
Additional Resources
Watch for Microsoft Ajax Library Beta
http://www.ASP.net/ajax
Check out Channel 9 Learn center
http://channel9.msdn.com/learn/
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
Resources
www.microsoft.com/teched
www.microsoft.com/learning
Sessions On-Demand & Community
Microsoft Certification & Training Resources
http://microsoft.com/technet
http://microsoft.com/msdn
Resources for IT Professionals
Resources for Developers
Complete an evaluation
on CommNet and enter to
win an Xbox 360 Elite!
© 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.