Download presentation
Presentation is loading. Please wait.
1
Choosing between Silverlight and AJAX
Ranjith Pallath Partner Technical Consultant | Microsoft Corporation |
2
AGENDA AJAX and Silverlight Rich Vs Reach Pros and Cons of AJAX
Scenarios for using AJAX Pros and Cons of Silverlight Scenarios for using Silverlight Silverlight and AJAX
3
AJAX and Silverlight Both are client technologies bur are not replacement for each other. Silverlight is mainly used for rich UI. Technology Specification / Technology ASP. Net Ajax provides both pure client APIs and server tools like (Update Panel), With Silverlight you can have server integration by using the web services. ASP. Net Ajax works on JSON platform based on JavaScript and Xml. Silverlight is like a browser add-on that can understand XMAL code used by Silverlight. Use silverlight when you need rich UI and don't have heavy server dependency. Ajax can be used to make web applications perform better.
4
Rich Vs Reach
5
ASP.Net AJAX overview
6
Pros and Cons of AJAX Advantages Disadvantages
Works on top of existing ASP. Net pages Easy implementation Better response time for pages Matured (Over 4 years) Disadvantages JavaScript is very limiting UI Enhancement is limited to asynchronous postback and DHTML Dependent in browser capability
7
Scenarios for using AJAX
High dependency on Server Eradicate User experience challenges Little emphasis on User Interface Tight coupling with ASP. Net Client side logics implemented in JavaScript
8
Creating AJAX Application
DEMO Creating AJAX Application
9
Overview of Silverlight
10
Silverlight overview
11
Pros and Cons of Silverlight
Advantages Rich User Interface (Media, Animation) Managed Code Multiple Device, Browser, Platform WPF Association Disadvantages Plug-in architecture Learning curve Platform support
12
Scenarios for using Silverlight
Importance on User Interface Creating Media Oriented Applications (Audio, Video, Animation) Client side logic in Managed Language Fairly disconnected model Multiple platform, multiple device, multiple browser support Vector Graphics
13
Creating Silverlight Application
DEMO Creating Silverlight Application
14
Silverlight and AJAX Silverlight 1.0 was all JavaScript and AJAX
HTML Bridge <asp:MediaElement> and <asp:Silverlight> server controls
15
Album Viewer Application
DEMO Album Viewer Application
16
References Silverlight Resources AJAX Resources
AJAX Resources
17
Feedback / QnA Your Feedback is Important!
Please take a few moments to fill out our online feedback form Use the Question Manager on LiveMeeting to ask your questions now!
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.