paul_houle

Stories submitted by paul_houle

Get Control of Silverlight Callbacks With Asynchronous Functions(gen5.info)

submitted by paul_houlepaul_houle(435) 4 years, 1 month ago

This article presents a simple C# library that can be used to return both exceptions and arbitrary return types, making it possible to compose asynchronous actions out of smaller asynchronous actions read more...

add a comment |category: |Views: 394

tags: another

The Asynchronous Command Pattern(gen5.info)

submitted by paul_houlepaul_houle(435) 4 years, 1 month ago

All http calls in Silverlight Applications are done asynchronously. One of a series of articles about patterns for asynchronous activities in RIA's, this article describes how the Command patten can be used to group both the initiation of a server call and the callback in a single method to clarify the structure of your code. read more...

add a comment |category: |Views: 292

tags: another

Build Reliable SIlverlight Apps With Optimistic Locking(gen5.info)

submitted by paul_houlepaul_houle(435) 4 years, 1 month ago

I’m in the middle of updating my Silverlight code to use asynchronous HTTP requests — fortunately, I spent last summer writing a GWT application, where HTTP requests have always been asynchronous, so I’ve got a library of patterns for solving common problems. For instance, suppose that you’re doing a search, and then you’re displaying the result of the search. The most reliable way to do this is to use Pattern Zero, which is, do a single request to the server that retrieves all the information — in that case you don’t need to worry about what happens if, out of 20 HTTP requests, one fails. Sometimes you can’t redesign the client-server protocol, or you’d like to take advantage of caching... read more...

add a comment |category: |Views: 11

tags: another

Decompiling Silverlight 2 Apps – Enter the XAP(danielmoth.com)

submitted by paul_houlepaul_houle(435) 4 years, 1 month ago

When you build a Silverlight 2 application, you compile your source files (inc. XAML and embedded resources) into assemblies (dlls). Those assemblies (plus any 3rd party ones plus MS assemblies that are not part of Silverlight) are then collected together along with a manifest into a packaged archive – or in other words, a ZIP file. Except, the extension is changed to be a .XAP (pronounced "ZAP"). read more...

add a comment |category: |Views: 37

tags: another

Managing Concurrency With Asynchronous Http Requests(gen5.info)

submitted by paul_houlepaul_houle(435) 4 years, 1 month ago

Microsoft threw Silverlight developers a curveball when it eliminated synchronous http requests. This post outlines the problem and introduces a design pattern which supports the development of simple and reliable client apps that use asynchronous communication. read more...

add a comment |category: |Views: 16

tags: another