MemBus Rich Client showcase: A WPF Twitter Client

15 Sep 2010 After pondering a bit about the example application that should showcase MemBus, I thought that it should be a Twitter client. I think that Twitter Clients are something like the web era’s Hello World examples. The example application is found under the MemBus directory at github: http://github.com/flq/MemBus/tree/master/Membus.WpfTwitterClient/ It will use...

Using MemBus

15 Sep 2010 Usage of MemBus always goes through the IBus interface: public interface IBus : IDisposable { void Publish(object message); IDisposable Subscribe<M>(Action<M> subscription); IDisposable Subscribe<M>(Action<M> subscription, ISubscriptionShaper customization); IDisposable Subscribe<M>(Action<M> subscription, Action<ISubscriptionCustomizer<M>> customization); IObservable<M> Observe<M>(); } Whenever you want to…well…publish a message, you use the Publish method. It will accept an instance...

Membus: Performance considerations

08 Sep 2010 When developing a piece of code that could potentially be used as a central component, one should have a look at the performance as well. There is no easy answer as to whether MemBus is fast or not – it depends which features you are using. I have been doing...

MemBus: A more complex rich client setup

06 Sep 2010 Let us consider a more complex Bus setup in order to understand the capabilities of the different parts of the infrastructure:   What are we expressing here? Publishing is configured If a message of type Transport is published, use the Sequential publisher If a message type ends with “Request” in...

Introducing MemBus: Construction Variants

02 Sep 2010 I have used the “Conservative” class several times now. It is a concrete example of how to set up MemBus. Let us have a look at what it does:   A default publishpipeline is added by specifying a IPublishPipelineMember: It’s the sequential publisher which takes all resolved subscriptions and pushes...