The Brain Dump
My brain poured out on paper (or so to speak)
Translate This Page
Translate this page
Windows Live ID
windows phone 7
Browse by Tags
The Brain Dump
Tagged Content List
Tasks and awaits and Rx! (And Drones!) Oh My!
A few people I work with are tinkering with an off-the-shelf drone in our spare time and so we are writing a C# library to control it. The way it works is you send UDP commands to the drone and you receive a stream of status & navigation UDP packets from it. So everything is asynchronous by default...
14 Apr 2014
Managing multiple web service calls with Rx
Lets say I have a phone app (or any app really) that needs to make several web service calls at once. For example, imagine the user multiselects three items on a page and then taps the “add favorite” button. I then need to make three calls to the “set favorite” service. I’ll do this asynchronously so...
15 Jun 2012
Using Rx? Subscribe to exceptions!
I have an app in the Windows Phone Marketplace which suddenly saw a spike in Little Watson email reports back to me last weekend. Each one looked like the last so I responded back to each user (always keep the user’s happy!) and went to investigate. The service it was talking to suddenly changed its...
12 Jan 2012
Rx ensures Unsubscribe
I recently had an ObservableCollection which did not currently contain the item I was interested in, but it would sometime in the near future. The questions is how best to get notified that the item is available so I could access its full property set? I only had the item’s ID and the collection...
8 Nov 2011
Populating Windows Phone view models with Rx
I’ve gotten rather fond of using the Reactive Extensions for populating my data from the web in my Windows Phone applications. They provide a lot of flexibility and the code stays in a readable form. To demonstrate in a traditional MVVM model, let’s drop some movie information from Netflix onto our Windows...
1 Nov 2011
Don’t ForkJoin your Events
I’ve been using Reactive Extensions for .NET to attempt to wait until multiple async calls to load data are completed in order to perform some actions on all the data at once. Dev Tidbit of the Day Do not use ForkJoin with Event based observables. If you create an IObservable from a .NET event, the Observable...
31 Mar 2011
Page 1 of 1 (6 items)
© 2014 Microsoft Corporation.
Privacy & Cookies