im wondering if any one tell me that if i want to use silverlight with ajax how wil it be possible for me but remember that im a beginer so send me such document or code that will be helpfull for me to understand plz send it to [email protected] thx regards Arshad Ali Leghari
Assuming you are using Silverlight 2, the preferred way is to not use AJAX.
You use services with code-behind files that run on the client. Your services are asynchronous, and will likely return XML in some way or another, but you won't be doing much in the browser directly...
Might we call it ACAX? (Asynchronous C# And XML) ... I kid, I Kid...
Take a look at Scott Gu's tutorial for using Silverlight with services. It is really useful: http://weblogs.asp.net/scottgu/pages/silverlight-2-end-to-end-tutorial-building-a-digg-search-client.aspx
The idea of AJAX is that you can make server requests using Javascript and XML without having to reload the entire page. Silverlight 1 uses the same method of Javascript to get data from server based on user interactions. However, Silverlight 2 also allows you to make server calls using .NET code so it is no longer just AJAX. You write Silverlight code much like a desktop application that uses a web service so you really don't need to fully understand AJAX in order to work with Silverlight.
Here are a few links that discuss this distinction: