Geeks With Blogs
The Coding Bloke An ordinary bloke trying to keep up with the world of programming AsyncOperationService A simple way to converter synchronous code (that won't work in Siverlight) to asynchronous code that will.
The AsyncOperationService and HttpWebRequest
In the previous post I droned on about how to apply the AsyncOperationService to an API conforming to the .NET Asynchronous pattern. In this post I’ll be building a more real world example. Well I say “real world” please don’t confuse that with something actually useful. Its still a little contrived and is not an example of best practice but it is something you could actually build and test. What are we going to build? We are going to build an ambitious ground breaking Silverlight app that allows ......

Posted On Saturday, September 10, 2011 2:46 PM

Using AsyncOperationService with the .NET Asynchronous Pattern
This post is about using the AsyncOperationService with .NET Asynchronous Pattern. Warning: this is another article that is likely to give you a headache. Its designed to provide full details of how things work. If you don’t want the headache then, skim the article and copy’n’paste the code from the “FromAsyncPattern” box below (it assumes you already have AsyncOperationService code). Subsequent articles will outline more real world uses which may (and I say “may” very tentatively) not be so headache ......

Posted On Saturday, August 27, 2011 6:20 PM

Simple Asynchronous Operation Runner – Revisited
Its been quite some time since I last post on the subject of the AsyncOperationService (in fact quite some since I posted period). In real world use I found some common patterns emerge that has lead me to make a few small adjustments to eliminate some common duplication I was seeing in code consuming the service. Here is the new code file for my ever so slightly improved AsyncOperationService in its entirety. AsyncOperationService using System; using System.Windows; using System.Collections.Generic; ......

Posted On Saturday, July 30, 2011 8:07 PM

Simple Asynchronous Operation Runner – Part 2
In Part 1 I provided the code for the simple asynchronous operation runner. In this post I’ll put it to some use. First let me provide a real world scenario so that we have something to demonstrate with. The Scenario I have a desire to separate into resource dictionaries a common palette of colours from a set of styles that use these colours. The goal being that I change a pair of colours in one place and all parts of the UI using that pair will use the new colour. There may be multiple resource ......

Posted On Friday, October 15, 2010 9:32 PM

Simple Asynchronous Operation Runner – Part 1
I’ve been meaning to create a blog about asynchronous operations in Silverlight for sometime. Specifically how to create code that looks and behaves much like synchronous code that actually depends on asynchronous operations. I’ve seen quite a number of questions on Stackoverflow where developers have discovered that in many cases Silverlight only supports performing tasks asynchronously. There are number of solutions that others, more able than I, have blogged about along with excellent explanations ......

Posted On Sunday, September 12, 2010 9:55 PM

Copyright © codingbloke | Powered by: | Join free