Introducing MemBus: Constructing it

30 Aug 2010 as you might have guessed, MemBus isn’t a single class. A number of different responsibilities are tucked nicely behind the IBus interface. Those responsibilities want to be configured, which is done through the BusSetup class. The BusSetup either takes a class that interacts with, or it allows you to interact...

Introducing MemBus: In-Memory Publish/Subscribe Messaging

24 Aug 2010 What is a Bus? A bus carries people from A to B. That much is easy. You might have guessed that I am not in the transport business, nonetheless a bus in the software world also carries payloads around. You put something into the bus, expecting it to deliver your...

Ugly integration test…what can I do better?

16 Aug 2010 This test was driving me somewhat crazy… //TODO: A lot of setup noise here. Will we do similar tests again?! var threadId = -2; var threadIdFromTest = -1; IBus bus = null; var resetEvent = new ManualResetEvent(false); var uiThread = new Thread( () => { SynchronizationContext.SetSynchronizationContext( new DispatcherSynchronizationContext(Dispatcher.CurrentDispatcher)); var frame...

Resharper 5.0 Outgoing calls analysis: Example from NHibernate

13 Aug 2010 The following is a screenshot when you start off from NHibernate’s default OnLoad listener (called e.g. when you say session.Load<Cat>(23)). I’ve cut out other outgoing calls to show you the level of abstraction between loading an Entity and hitting the ExecuteReader() method of ADO.NET’s low-level API. You can access this...

Wie ich REST meiner Ehefrau erklärte

30 Jul 2010 (translated from Ryan Tomayko’s text, written 12.12.2004) <p>  <p>Ehefrau: Wer ist “Roy Fielding”? <p>Ryan: Irgendein Kerl. Er ist recht clever <p>Ehefrau: Ach, was hat er denn gemacht? <p>Ryan: Er hat geholfen, die ersten Web Server zu implementieren, und hat dann einen Haufen Forschung betrieben um zu erklären wieso das Web...