Tuesday, January 29, 2013 1:00 PM
I want to using Rx in my current Silverlight 5 project. I want to load data from WCF Services i did not find any good example for that please let me know how to do that using Rx. I am using 2.0 version of Rx. I have tried FromEvent<> but did not get success.
i found this on net
IObservable<IEvent<GetCustomersCompletedEventArgs>> observable = Observable.FromEvent<GetCustomersCompletedEventArgs>( client, "GetCustomersCompleted" ).Take(1);
but i did not find IEvent<> in my dlls of Rx. Please let know how to use this kind of Service method not begin and end pattern.
Thursday, January 31, 2013 2:41 PM
Make sure that you reference all of the following DLLs for Silverlight 5. I recommend using the Rx NuGet Package.
Then take a look at this discussion:
Wednesday, February 13, 2013 5:50 AM
Thanks for reply. All i need to call the service method using Rx. I have added all Reference using NuGet Packages Manager. Can you me give me an example for that. i am unable to find IEvent in dlls
Wednesday, February 13, 2013 1:46 PM
You want to use IEventPattern<T>. I think IEvent<T> was the old name in the original beta releases.