問題 Using Rx with WCF ?

  • Tuesday, January 29, 2013 1:00 PM
     
      Has Code

    Hello World

    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.

All Replies