Microsoft ASP.NET AJAX - AJAX as it has to be Presented by : Rana Vijayasimha Nalla CSCE Grad Student.

Slides:



Advertisements
Similar presentations
® IBM Software Group Copyright © 2005 IBM Corporation AJAX Toolkit Framework Emerging Internet Technologies Group.
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.
Web Server Programming
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, web services--- asynchronous and synchronous and AJAX By Thakur Rashmi Singh.
Google Web Toolkit - Gufran Mohammed. Google Web Toolkit (GWT) is an open source Java software development framework that makes writing AJAX applications.
Performed by:Gidi Getter Svetlana Klinovsky Supervised by:Viktor Kulikov 08/03/2009.
It’s always better live. MSDN Events Developing ASP.NET AJAX Controls with Silverlight.
Chapter 6 DOJO TOOLKITS. Objectives Discuss XML DOM Discuss JSON Discuss Ajax Response in XML, HTML, JSON, and Other Data Type.
Client/Server Architectures
RIA Introduce Comparison among several technology.
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
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.
A Scalable Application Architecture for composing News Portals on the Internet Serpil TOK, Zeki BAYRAM. Eastern MediterraneanUniversity Famagusta Famagusta.
JavaScript & jQuery the missing manual Chapter 11
1 Ajax. 2 What’s Ajax? AJAX is a combination of a few technologies that has come together in the past few years AJAX used to be an acronym for Asynchronous.
Crystal Hoyer Program Manager IIS Team Preview of features that will be announced at MIX09 Please do not blog, take pictures or video of session.
ASP.NET + Ajax Jesper Tørresø ITNET2 F08. Ajax Ajax (Asynchronous JavaScript and XML) A group of interrelated web development techniques used for creating.
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.
Overview of Previous Lesson(s) Over View  ASP.NET Pages  Modular in nature and divided into the core sections  Page directives  Code Section  Page.
ASP.NET Web Application and Development Digital Media Department Unit Credit Value : 4 Essential Learning time : 120 hours Digital.
AJAX and Atlas in ASP.NET 2.0 William J. Steele MSDN Developer Evangelist Microsoft Corporation
Murach’s ASP.NET 4.0/VB, C1© 2006, Mike Murach & Associates, Inc.Slide 1.
Web Applications meets Life Microsoft ASP.NET “Atlas” Saurabh Verma Chief Software Architect | The Perfect Future
ASP.NET 2.0 : Future Directions Developing Rich Web Applications with “Atlas” 7 & 8 March 2006 ICC Gent Contact me :
Grid Chemistry System Architecture Overview Akylbek Zhumabayev.
Ventsislav Popov Crossroad Ltd.. 1. What is AJAX?  AJAX Concept  ASP.NET AJAX Framework 2. ASP.NET AJAX Server Controls  ScriptManager, UpdatePanel.
Tuukka Haapaniemi XForms – What’s the need? HTML forms Very outdated Hard to develop and to maintain Requires lot of work To create basic.
WebSphere Portal Technical Conference U.S Creating Rich Internet (AJAX) Applications with WebSphere Portlet Factory.
Telerik Software Academy ASP.NET Web Forms Telerik Software Academy ASP.NET Web Forms.
Real-World AJAX Seminar - March 13, 2006 Bringing the Richness and Responsiveness of Desktop Applications to the Web Sahil Malik telerik.
Module 2: Using Microsoft Visual Studio.NET. Overview Overview of Visual Studio.NET Creating an ASP.NET Web Application Project.
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.
RIA and Web2.0 Development with no Coding Juan Camilo Ruiz Senior Product Manager Development Tools.
Building AJAX-Enabled Applications with ASP.NET AJAX Framework Peter Ty Developer Evangelist Microsoft Hong Kong
Ajax VS Flex A comparison based on shopping cart implementation PoHsu Yeh py2157.
Google Web Toolkit Dynamic web on Java (Script) Jordan Jordanov 6 March 2008.
IT533 Lectures ASP.NET AJAX.
Text INTRODUCTION TO ASP.NET. InterComm Campaign Guidelines CONFIDENTIAL Simply Server side language Simplified page development model Modular, well-factored,
ASP.Net ICallback Vijayalakshmi G M Senior Trainer Binary Spectrum.
Name Title Microsoft Corporation
Developing Custom ASP.NET Providers For Membership And Role Manager Stefan Schackow PRS404 Program Manager – Web Platform and Tools Microsoft Corporation.
Open Solutions for a Changing World™ Eddy Kleinjan Copyright 2005, Data Access WordwideNew Techniques for Building Web Applications June 6-9, 2005 Key.
The Microsoft Technical Roadshow 2007 AJAX Development Mike Ormond Developer & Platform Group Microsoft Ltd
Arklio Studija 2007 File: / / Page 1 Automated web application testing using Selenium
ASP.NET AJAX Fedorov Sergey, student of Computing Mathematic and Cybernetics faculty, software department, NNGU
Building rich web applications with ASP.NET AJAX Mike Ormond Developer & Platform Evangelism Group, Microsoft Ltd Developer & Platform Evangelism Group,
ASP.NET AJAX – Basics Svetlin Nakov Telerik Corporation
Web Concepts Lesson 2 ITBS2203 E-Commerce for IT.
Google Web Toolkit Tutorial
Working with Client-Side Scripting
GeneXus 9.0: Web applications at their higher power
Google Web Toolkit - Gufran Mohammed
Haritha Dasari Josue Balandrano Coronel -
Shanku Niyogi PRS 312 Group Program Manager Microsoft Corporation
Microsoft Ajax Taking Ajax to the Next Level
By Gary Mandela December 26, 2006
Jim Fawcett CSE686 – Internet Programming Summer 2008
ASP.NET Module Subtitle.
Serpil TOK, Zeki BAYRAM. Eastern MediterraneanUniversity Famagusta
AJAX Toolkit Framework
Choosing between Silverlight and AJAX
Blazor A new framework for browser-based .NET apps Ryan Nowak
Presentation transcript:

Microsoft ASP.NET AJAX - AJAX as it has to be Presented by : Rana Vijayasimha Nalla CSCE Grad Student.

Purpose and Overview Purpose : Understand, Install and be able to work with ASP.NET AJAX framework. Questions that need to be answered. What is AJAX and why users need something like AJAX ? What is ASP.NET AJAX ? What are the different components that combine to form ASP.NET AJAX Extensions? (Architecture) What is ASP.NET AJAX Control Toolkit?

Overview : In the process we see Classification of ASP.NET AJAX into Client and Server Components Few Examples explaining basic concepts and client side Ajax Scripting. Advantages and Disadvantages of ASP.NET AJAX. Few Bugs and Work Arounds.

What is AJAX and why should I care? Asynchronous JavaScript and XML. User expectations are increasing. Need both performance and rich look. Need more responsiveness. No frequent page refreshes. Lesser network overhead. Reduced postbacks. Partial page updates.

What is ASP.NET AJAX? A pilot project by Atlas for Microsoft. Worked out so well that it outperformed all parallel efforts and finally got an approval from Microsoft.  A comparison of different ASP.NET Ajax frameworks can be viewed here. A framework to build AJAX enabled application with ASP.NET. Enables user to create a rich UI with known controls.

ASP.NET AJAX Provides client script libraries that incorporate JavaScript and DHTML technologies and integrate them with ASP.NET 2.0. Based on Functionality  Client based Microsoft AJAX Library. Support for creating client components, browser compatibility, networking and core services.  Server based Extensions. Script support, web services, application services and server controls.

Supported Browsers and OS Supported browsers:  IE 6.o or later.  Mozilla Firefox 1.5 or later.  Opera 9.0 or later.  Apple safari 2.0 or later. Supported Operating Systems:  Microsoft windows XP with service pack 2.  Microsoft Vista.  Apple OSX (Intel Architecture only).

ASP.NET AJAX Architecture

ASP.NET AJAX Server Architecture Server Components consist of server controls and components to manage the UI and flow of an application. Manage serialization, validation, control extensibility etc. ASP.NET web services available that enable you to access services like forms authentication and user profiles.

ASP.NET AJAX Server Architecture Server Controls:  Server and Client code integrated to produce AJAX like behavior.  Frequently used Server Controls are Script Manager – one instance per page. Update Panel – for partial page updates. Update Progress – track progress of Asynchronous req. Timer Control – set interval between requests.  Along with these also available are Pointer control and Script Manager Proxy.

Webservices and Control Extensibility ASP.NET AJAX provides Web services that you can use from client script to work with ASP.NET application services for forms authentication and user profiles. This enables you to use client script to help protect resources by using forms authentication and to persist user-specific settings on the server. ASP.NET AJAX enables you to create custom server controls that include client behaviors. AJAX Control Toolkit provides a number of extenders along with source code. Users can extend the code more if they wish.

ASP.NET AJAX Client Architecture ASP.NET AJAX client side libraries consist of JavaScript files that provide features for object- oriented development. Enable a high level of consistency and modularity in client scripting. Layers included in script libraries are  A Browser compatibility layer to support all modern browsers.  Core services to empower JavaScript with Object Oriented features.

ASP.NET AJAX Client Architecture  Base Class Library includes string builders and extended error handling.  A networking layer to communicate with web services and handle asynchronous remote calls.  Support for JavaScript libraries embedded in an assembly or added externally (standalone).  Support for accessing server based forms authentication and user profile. (without page refresh)  Support for release and debug modes.

Localization and Globalization Provides a model for localizing and globalizing a client script. Enables you to design applications that use single code base to provide UI for different locales.  Example : Enables JavaScript code to format date or Number Objects automatically depending upon the browser’s culture settings without post back to server. Provides additional support for localized script files embedded in an assembly.  Hub and spoke model. (Main Assembly and Satellite Assemblies)

ASP.NET AJAX Control Toolkit The ASP.NET AJAX Control Toolkit is a collection of samples and components that show you some of the experiences you can create with rich client ASP.NET AJAX controls and extenders. The Control Toolkit provides samples and a powerful SDK to make it simple to create and reuse custom controls and extenders. More up to date information can be obtained from

SOME EXAMPLES.

Merits : Integration between (Atlas) AJAX and ASP.NET is wonderful !! Was designed for it. AJAX Control Toolkit contains around 28 extenders allowing cool effects like drag and drop and collapsible menus. Generates JavaScript web service proxy class allowing easy integration with web services. Server side Exceptions are effectively caught and thrown onto client side for JavaScript to handle them.

Merits and Issues : Integrated nicely with ASP.NET Membership and Profile API’s supporting client side authentication without postbacks. Supports all well known Browsers. Issues and Work Arounds: Batch calls are not always faster.  Know when to use Batch calls and when not to. Bad calls may cause good calls timeout.  Write down a custom “onFailure” callback function and a retry occurs when there is a timeout.

Issues and Work Arounds: Browsers allow two calls at a time and don’t expect any order.  ??? It’s Unpredictable.. Browsers do not respond when there are more than two calls in queue.  Write your own implementation of queue.

Issues and Work Arounds: “THIS” is not always “THIS”.  Unfortunately no documentation for this. But you need to know yourself what “this” refers to under given context. HTTP POST is slower than HTTP GET but it is default in ASP.NET AJAX.  In order to enable HTTP GET on a web service method, you need to decorate the web method with the following attribute [ScriptMethod(UseHttpGet=true)]

More Issues : JavaScript should be enabled for AJAX to work. Browser back button behavior doesn’t work well with AJAX calls. Conclusion: Despite all, it can be considered as one of the best frameworks available to build new Ajax enabled websites or easily Ajax enable any existing ASP.NET website with lot of readily available code and support through communities.

Questions ?? Q AND A.

Useful Links : Few Links that help you learn working with ASP.NET AJAX.  Downloads  Online Documentation.  Video Tutorials  Communities and forums.