Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

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.
Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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 asp.net ajax. Asp.net 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
showing loader for php/mysql/ajax live search 13 38
asp.net mvc5 6 20
Linq asp.net mvc 13 17
Why use this lambda? 12 33
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…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

840 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