Building AJAX-Enabled Applications with ASP.NET AJAX Framework Peter Ty Developer Evangelist Microsoft Hong Kong

Slides:



Advertisements
Similar presentations
Svetlin Nakov Director Training and Consulting Activities National Academy for Software Development (NASD) ASP.NET 3.5 New Features.
Advertisements

Module 1: Creating Responsive Pages with Ajax Creating Partial-Page Updates by Using AJAX Scripting Actions on the Web Client.
AJAX Development By Gary Mandela December 26,
ASP.NET Ajax Supplementary Tutorial. Why Use ASP.NET AJAX? - I ASP.NET AJAX enables you to build rich Web applications that have many advantages over.
Current Popular IT I Pertemuan 4 Matakuliah: T0403/Current Popular IT I Tahun: 2008.
AJAX Development Mike Ormond Developer & Platform Group Microsoft Ltd
DEV392: Extending SharePoint Products And Technologies Through Web Parts And ASP.NET Clint Covington, Program Manager Data And Developer Services - Office.
By Gyan Deo Singh Building Rich Web UI with the Microsoft AJAX Library, Extensions, and Toolkit.
ASP.NET 3.5 Mike Ormond Developer & Platform Group Microsoft Ltd
© 2007 IBM Corporation IBM Emerging Technologies Enabling an Accessible Web 2.0 Becky Gibson Web Accessibility Architect.
AJAX Presented by: Dickson Fu Dimas Ariawan Niels Andreassen Ryan Dial Jordan Nielson CMPUT 410 University of Alberta 2006.
IS 360 Course Introduction. Slide 2 What you will Learn (1) The role of Web servers and clients How to create HTML, XHTML, and HTML 5 pages suitable for.
T.N.C.Venkata Rangan CMD, Vishwak Solutions Pvt. Ltd. Microsoft (MSDN) Regional Director, Chennai Microsoft MVP – Windows Live Platform Living with Heterogeneity.
AJAX & By – Anupama Sharma. Defining Ajax Ajax isn’t a technology. It’s really several technologies, each flourishing in its own right, coming together.
Microsoft ASP.NET AJAX - AJAX as it has to be Presented by : Rana Vijayasimha Nalla CSCE Grad Student.
What’s new in ASP.NET 3.5? Mike Ormond Developer & Platform Group Microsoft Ltd
It’s always better live. MSDN Events Developing ASP.NET AJAX Controls with Silverlight.
The Microsoft Technical Roadshow 2006 A Web-enabled Experience with Altas Mike Ormond Developer & Platform Evangelism Group, Microsoft Ltd
© 2006 by IBM 1 How to use Eclipse to Build Rich Internet Applications With PHP and AJAX Phil Berkland IBM Software Group Emerging.
Microsoft SharePoint 2010 Upgrade Preview FSU SharePoint Users Group Presents: Thursday, December 1 st, 2011.
ASP.NET AJAX. Content ASP.NET AJAX Ajax Control Toolkit Muzaffer DOĞAN - Anadolu University2.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
JavaScript & jQuery the missing manual Chapter 11
CIS 375—Web App Dev II ASP.NET 2 Introducing Web Forms.
May 16 – 18, 2007 Copyright 2007, Data Access Worldwide May 16 – 18, 2007 Copyright 2007, Data Access Worldwide Build Great Web Application 'Fast and Easy'
ASP.NET + Ajax Jesper Tørresø ITNET2 F08. Ajax Ajax (Asynchronous JavaScript and XML) A group of interrelated web development techniques used for creating.
Building rich web applications with the ‘Atlas’ framework Mike Ormond Developer & Platform Evangelism Group, Microsoft Ltd Developer & Platform Evangelism.
AJAX in ASP.NET James Crowley Developer Fusion
ASP.NET AJAX 1. Ordinary web applications vs. AJAX Ordinary web application The full page is updated at each request The page is not available while being.
Power ASP.NET AJAX Programming. Agenda Partial-page rendering –With UpdatePanel –Without UpdatePanel PageRequestManager Drag-and-drop user interfaces.
TechNet Connection Krittiya Eamsiri Product Manager Microsoft Thailand.
Spicing Up Web Parts Randy Williams SharePoint Hawaii User Group May 11, 2011.
AJAX and Atlas in ASP.NET 2.0 William J. Steele MSDN Developer Evangelist Microsoft Corporation
Microsoft Office InfoPath 2007 Development, Deployment, And Hosting For Rich And Browser Forms Jessica Gruber Consultant Microsoft Corporation.
Silverlight Technology. Table of Contents 1.What is Silverlight Technology? 2.Silverlight Overview. 2.1 How it works 2.2 Silverlight development tools.
Web Applications meets Life Microsoft ASP.NET “Atlas” Saurabh Verma Chief Software Architect | The Perfect Future
StockWatch Developers: Nimrod Hagay Hagai Barkan Supervisors: Assaf Solomovitch Viktor Kulikov June 2009.
ASP.NET 2.0 : Future Directions Developing Rich Web Applications with “Atlas” 7 & 8 March 2006 ICC Gent Contact me :
Joe Hummel, PhD Dept of Mathematics and Computer Science Lake Forest College
Ventsislav Popov Crossroad Ltd.. 1. What is AJAX?  AJAX Concept  ASP.NET AJAX Framework 2. ASP.NET AJAX Server Controls  ScriptManager, UpdatePanel.
1 Geospatial and Business Intelligence Jean-Sébastien Turcotte Executive VP San Francisco - April 2007 Streamlining web mapping applications.
Introducing ASP.NET 2.0. Internet Technologies WWW Architecture Web Server Client Server Request Response Network HTTP TCP/IP PC/Mac/Unix + Browser (IE,
WebSphere Portal Technical Conference U.S Creating Rich Internet (AJAX) Applications with WebSphere Portlet Factory.
What’s New for Web Developers in ASP.NET and Visual Studio 2008 Kate Gregory Microsoft Regional Director
Database Handling, Sessions, and AJAX. Post Back ASP.NET Functionality The IsPostBack method in ASP.NET is similar to the BlackBerry.refresh method –IsPostBack.
Telerik Software Academy ASP.NET Web Forms Telerik Software Academy ASP.NET Web Forms.
Concepts Telerik Software Academy Telerik School Academy.
Real-World AJAX Seminar - March 13, 2006 Bringing the Richness and Responsiveness of Desktop Applications to the Web Sahil Malik telerik.
Developing ASP.NET AJAX Controls with Silverlight Barry Gervin Microsoft Regional Director John Bristowe Developer Advisor, Microsoft.
Keynote Shawn Burke Director Microsoft Corporation.
Quick overview of ASP.NET Ajax Ajax deep-dive Cover some key real-world problems Discuss solutions, patterns, opportunities Lots of demos And more of.
IT533 Lectures ASP.NET AJAX.
DEV221 Windows Forms in Visual Studio 2005: An Overview Saurabh Pant Program Manager Microsoft Corporation.
Name Title Microsoft Corporation
Building Complete Web Application Using ASP.NET 3.5 & Visual Studio 2008 Omar Khan Group Program Manager Visual Studio.
The Microsoft Technical Roadshow 2007 AJAX Development Mike Ormond Developer & Platform Group Microsoft Ltd
Building rich web applications with ASP.NET AJAX Mike Ormond Developer & Platform Evangelism Group, Microsoft Ltd Developer & Platform Evangelism Group,
INNOV-16: Rich User Interface for the Web???? AJAX to the Rescue Ken Wilner VP of Technology Progress Software.
Shanku Niyogi PRS 312 Group Program Manager Microsoft Corporation
ASP.NET AJAX – Basics Svetlin Nakov Telerik Corporation
Shanku Niyogi PRS 312 Group Program Manager Microsoft Corporation
ASP.NET 3.5 Mike Ormond Developer & Platform Group Microsoft Ltd
By Gary Mandela December 26, 2006
Jim Fawcett CSE686 – Internet Programming Summer 2008
IS 360 Course Introduction
Web Development Using ASP .NET
Silverlight Technology
ASP.NET Module Subtitle.
Choosing between Silverlight and AJAX
Success is not in future it is under your feet Gain knowledge with us
Presentation transcript:

Building AJAX-Enabled Applications with ASP.NET AJAX Framework Peter Ty Developer Evangelist Microsoft Hong Kong

What Is AJAX? The AJAX buzzword The AJAX buzzword  AJAX == Asynchronous JavaScript and XML  It’s a Web development technique for creating interactive Web applications using a combination of DHTML, JavaScript, and XMLHTTP Bottom Line: AJAX is really about improving the “User Experience” Bottom Line: AJAX is really about improving the “User Experience”  Improve the perceived performance of app  Refreshing parts of the page, instead of the whole page  Improving navigation  Enabling richer/natural user interactions while still leveraging cascading style sheets (CSS) for positioning and layout  Using the Web as an “Application Platform” by exposing and consume Web services You can see it on the Web today! You can see it on the Web today!  Map – MSN® Virtual Earth™ & Windows Live Local, Google Maps  – Windows Live Mail, Google Mail, Yahoo Mail

What is ASP.NET AJAX? An end-to-end framework for building rich, interactive Web experiences and browser-based applications An end-to-end framework for building rich, interactive Web experiences and browser-based applications ASP.NET 2.0 AJAX Extensions ASP.NET 2.0 AJAX Extensions  Server controls that very simply enable AJAX in any ASP.NET application Microsoft AJAX Library Microsoft AJAX Library  Client script framework that works cross-browser, and back-end server ASP.NET AJAX Control Toolkit ASP.NET AJAX Control Toolkit  Rich set of server controls and client script functionality  Community development model Key Goals Key Goals  Simple, Yet Powerful .NET-like feel to script framework  Reduce the need for scripting by every developer in mainline scenarios

ASP.NET AJAX Web Server IE Firefox Safari BrowserClients Microsoft AJAX Library AtlasUIGlitz.js AtlasGadgets.js AtlasFX.js AtlasCompat.js AtlasRuntime.js JSON Bridge Support Membership and Personalization Support ASP.NET Server Control Integration IIS and ASP.NET Apache and PHP ColdFusion ASP.NET 2.0 AJAX Extensions ASP.NET AJAX Control Toolkit

Which audience does ASP.NET AJAX target? ASP.NET 2.0 AJAX Extensions ASP.NET 2.0 AJAX Extensions  Typical ASP.NET (server) page developer  “Server-centric developer” Microsoft AJAX Library Microsoft AJAX Library  ASP.NET server control developer  “Client-centric” developer ASP.NET AJAX Control Toolkit ASP.NET AJAX Control Toolkit  Typical ASP.NET (server) page developer  ASP.NET server control developer

ASP.NET 2.0 AJAX Extensions (Server-Centric Programming Model) ASP.NET Application Services Page Framework, Server Controls Page Framework, Server Controls Microsoft AJAX Library Client Application Services Component/UI Framework, Controls Component/UI Framework, Controls Browser Presentation(HTML/CSS)Presentation(HTML/CSS) ASP.NET Application PagesPages UI Behavior (ManagedCode) (ManagedCode) Input Data Updated UI + Behavior Initial Rendering (UI + Behavior)

Server Controls Goal: Easily enhance any ASP.NET Web application Goal: Easily enhance any ASP.NET Web application  Application UI and core logic still runs on server  Avoid need to master JavaScript and asynchronous programming Use AJAX techniques to reduce roundtrips Use AJAX techniques to reduce roundtrips  Enable incremental page UI updates (avoid full page refreshes)  Scenarios: data navigation and editing, form validation, auto refresh  Fall back for downlevel browsers Enable richer interactivity for existing ASP.NET control Enable richer interactivity for existing ASP.NET control  Extenders to add ASP.NET AJAX behaviors to any ASP.NET control  Use the same controls, object model, and events you already know  Examples: auto-completion, Web parts, drag-and-drop, tooltips

ScriptManager control Co-ordinates page rendering for the server controls Co-ordinates page rendering for the server controls Sends down the right compat scripts depending on the calling browser Sends down the right compat scripts depending on the calling browser

UpdatePanel control Container control that enables “updatable” regions in a page Container control that enables “updatable” regions in a page ASP.NET AJAX provides a XmlHttp based postback infrastructure ASP.NET AJAX provides a XmlHttp based postback infrastructure Some non-updatable content and controls... This content can be dynamically updated! This content can be dynamically updated! </atlas:UpdatePanel> More non-updatable content and controls...

UpdatePanel

UpdatePanel Under the Covers ASP.NET AJAX hooks post-back submit actions on client ASP.NET AJAX hooks post-back submit actions on client Uses XMLHttp to fire postback action to server Uses XMLHttp to fire postback action to server Postback events fire like normal on server Postback events fire like normal on server Only content of UpdatePanel regions returned Only content of UpdatePanel regions returned Changed UpdatePanel regions replaced on client Changed UpdatePanel regions replaced on client

ASP.NET AJAX Control Toolkit  An easy to use SDK that simplifies the process of writing ASP.NET AJAX components  Additional controls and extenders that make common DHTML and AJAX scenarios easy  Thin enabling layer  Microsoft ® Visual Studio ® 2005 Templates  Unit Testing Framework  Example controls, source, and documentation included Toolkit Controls ASP.NET 2.0 Microsoft AJAX Library ASP.NET 2.0 AJAX Extensions Toolkit Base Classes (.NET and JS) Visual Studio 2005 Templates

Ajax enabled Media Share Library Starter Kit

Client-Centric Programming Model Browser Presentation(HTML/CSS)Presentation(HTML/CSS) ASP.NET AJAX ServiceProxies ServiceProxies UI Behavior (Script) (Script) ASP.NET Application Services Page Framework, Server Controls Page Framework, Server Controls ASP.NET Application PagesPages WebServicesWebServices Microsoft AJAX Library Client Application Services Component/UI Framework, Controls Component/UI Framework, Controls Initial Rendering (UI + Behavior) Data

Microsoft AJAX Library Compatibility layer for browsers and platforms  Support for Windows Internet Explorer, Firefox/Mozilla, Safari Script core runtime: a rich type system for JScript  Classes, namespaces, inheritance, interfaces  Event handlers  Object serialization Base class library and networking services  Helper classes for developers (subset of.NET BCL)  Management of asynchronous network operations Component model and UI framework  Declarative scripting (XML script definitions)  Extensible component and control model  Data binding, presentation, and validation Client components for common scenarios – examples:  TextBox, Panel, Label, etc.  ListView and DataView for rendering templated data  UI behaviors such as drag and drop, tooltips, auto-completion Microsoft AJAX Library Controls and Components Script Core Base Class Library Component Model and UI Framework Component Model and UI Framework Browser Compatibility

To Learn More ASP.NET AJAX site ASP.NET AJAX site ASP.NET AJAX Control Toolkit ASP.NET AJAX Control Toolkit abid=477 abid=477

Resources Technical Chats and Webcasts Microsoft Learning and Certification MSDN & TechNet Virtual Labs Newsgroups communities/newsgroups/en-us/default.aspx Technical Community Sites User Groups

MVP (Most Valuable Professional) The Microsoft Most Valuable Program is a globally managed program that recognizes, enables, and empowers that highest quality, most credible experts and accessible individuals with expertise in one or more Microsoft products in technical community that continue to help and inspire people around the world everyday who actively participate online or offline communities to share their knowledge and do amazing things with Microsoft technologies. Accessible Active technical community leaders sharing their experience and support with peers Recognized Recognized and awarded by Microsoft for active participation and willingness to share in communities. Credible Demonstrated Microsoft technical expertise providing the highest quality information and content Microsoft Technical Communities ;