Pete Brown's Blog (POKE 53280,0)
Pete Brown writes on a variety of topics from XAML with the Windows Runtime (WinRT), .NET programming using C#, WPF, Microcontroller programming with .NET Microframework, .NET Gadgeteer, Windows on Devices, and even plain old C, to raising two children in the suburbs of Maryland, woodworking, CNC and generally "making physical stuff". Oh, and Pete loves retro technology, especially Commodore (C64 and C128). If the content interests you, please subscribe using the subscription link to the right of every page.
Archive for tag:
Architecture
-
In my previous post, I discussed how to chain service calls. One question I received on that was how to do the opposite: take an action after all the calls (or by extension, some logical groups of calls) have completed.This is one of the challenges with working with async service calls. Rather than have a single function that makes a bunch of inline service calls one after the other, you need t...
-
The Publish and Subscribe pattern (which uses the Observer Pattern in .NET - more info here) is one of those patterns we use all the time while thinking nothing of it. In .NET, we get the concrete implementation via events and delegates.By abstracting it out just a little and applying concepts from other bus patterns, we gain a ton of flexibility and can use it for more specialized messaging th...
-
Early in my programming career, we had a choice to make at the beginning of each project: do we do this as a command-line/console app (prompt and response), use a DOS windowing library, or do a Windows 3 native app?Eventually, it became the norm to do a Windows app by default, and fall back to command-line only if you need to call it from batch files. The idea of creating prompt & response ...