silverlight vs ASP.NET AJAX

Posted on 2010-08-17
Last Modified: 2013-11-12
Hi All,

    I am in the process of developing a web application. I am stuck on which web technology to use.
Silverlight or ASP.NET AJAX?
I read a lot on silverlight and AJAX but haven't found good responses....
Is silverlight similar to flash programming?
Which RAD controls are best for both the technologies?

Please device!!!
Question by:Hlobo
  • 3
  • 2
  • 2
  • +3
LVL 16

Expert Comment

ID: 33457972
It depends on what you would like to develop.

Silverlight is a plugin just like Flash for the user. So it depends if the user has installed the plugin in order to get the website to work.

Here is a quick list:
LVL 27

Expert Comment

ID: 33458008
I have a personal website in Silverlight and I found it much easier to code than in Flash. I have also worked on AJAX, but what technology you need depends on what kind of a site you are going to build. Things like: If your site is a very 'animation' oriented one, go for Silverlight. Silverlight also provides a better user experience. The only issue is that if you use SL, you'll need some kind of a web service to read/add/update/delete your data as it basically resides on the client side.Arun

Author Comment

ID: 33458103
The web application I am building is going to be a typical business application, with a sql server database backend and the UI mainly consisting of intermediate business logic, datagrid and various graphs, allowing the user to enter/show data.
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 82

Expert Comment

ID: 33458154

Author Comment

ID: 33458344
Please advice for such business applications-
App with a sql server database backend and the UI mainly consisting of intermediate business logic, datagrid and various graphs, allowing the user to enter/show data.

My application does not require any animation!

Which technology would one prefer?
LVL 16

Expert Comment

ID: 33458346
Then I would recommend staying with ajax. ajax has more abilities to create graphs than silverlight (at the moment).

Also, your application is less vunerable agianst attacks because you don't need a webservice for your application.

Author Comment

ID: 33458411
So does silverlight use webservices to work?
LVL 27

Expert Comment

ID: 33458424
I beg to differ on the 'create graphs' part Stephan. I have personally used charts/graphs in my site. However, I agree with you that an application as above is better with AJAX than with Silverlight.Arun

Accepted Solution

berXpert earned 250 total points
ID: 33460940
Silverlight can work with webservices the same way you will use web services in a regular ASP.Net application, if you follow the separation of concerns, Silverlight will be your user interface.

I will choose Silverlight if your have a requirement were you need bring the interactivity and rich controls of the windows applications to the web, plus animation.

For a LOB (line of business) typical application, I will take ASP.Net Web Forms as you can drag and drop controls to the web pages and give extra usability with Ajax controls or with third party controls like Telerik or Infragistics, or if you have time to learn a better way to do it I will pick ASP.NET MVC 2.

If you take the ASP.NET way, don't forget to take a look to JQuery and JQuery UI controls too

Assisted Solution

vbigham earned 250 total points
ID: 33533235
This application sounds like an extremely good candidate for Silverlight/RIA Services.  One thing to keep in mind is that your site may not work well on Linux machines for a while yet (moonlight development is still in progress).  Also, I've noticed a performance hit on older machines with Windows XP if you do use animations and such, they can become "choppy."  And many of the Silverlight controls come with animations already (the ChildWindow for example).

Silverlight also allows drag and drop, the latest sdk and toolkit come with many handy controls for datagrids and graphs.  It offers a nice Business Application template, and there are many tutorials about setting up a RIA WebService, which is pretty easy to lock down against attacks thanks to WCF conventions.  The best part (for me) there is little or no Javascript to write.  All of the client side code can be written in the CLR language of your choice.

Telerick also makes Silverlight controls.

Silverlight is also less mature as a technology, and the layouts can be difficult to get to your liking at first.  But if you have the time to learn it,  I highly recommend it.  I have enjoyed it thoroughly.

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
asp Google Map 2 60
ASP.NET MVC - Views 3 40
Header Font Size in Grid View 6 25
Display info from DB to Label in 7 14
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
jQuery is a JavaScript library that greatly simplifies JavaScript programming. AJAX is an acronym formed from "Asynchronous JavaScript and XML."  AJAX refers to any communication between client and server, when the human client does not observe a…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA.…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question