We help IT Professionals succeed at work.

Async Silverlight Calls

Kevin Robinson
on
I am writing a silverlight client art of which I need to get a list from an IContact API (http://www.icontact.com/).  The problem is that IContact does not have a cross domain access policy so I cannot call this directly from silverlight. OK no problem you say just create a service in the host web application and call from there.  Problem is, all calls in silverlight are Asyncronous and the call to IContact is also Asyncronous.    So how do I make an Asyncronous  which makes an Asyncronous  that returns a list.

Any Ides?
Comment
Watch Question

Most Valuable Expert 2012
Top Expert 2014
Commented:
Most Valuable Expert 2012
Top Expert 2014

Commented:
Kevin RobinsonPrivate VB.NET Contractor

Author

Commented:
I think the problem with these 2 options is that are working within the same assembly which I am not.  I am making the initial call in the Silverlight app and the second in the hosting web app/service.  

Could I maybe host a cached version of the list (the list are not updated that often)  

Also other people are suggesting a REST proxy but I am not really sure how to implement this?