While reading “C# in depth” by Jon Skeet I discovered a little gem. It is possible to use extension methods in .NET 2.0 projects when you’re using VS2008 and its multitargeting abillities.
Extension methods are essentially only static methods in utillity classes with some constraints around them (the utility class has to be static too for [...]
…. Microsoft seems to move Dependency Injection as part of the general topic “application extensibillity” into the .NET Framework core. Have a look at the post of Krzysztof Cwalina about the Managed Extensibillity Framework (MEF). Although the project has just started and is clearly at an early stage, a first CTP has already [...]
Today, I discuss the design of what I actually implemented. Please be aware that I do not claim that it’s the perfect solution to the concept at hand. It’s what I’ve come up with to implement it, which at least for my context works very well. With that being said, let’s dive into the design.
The [...]
As promised on the last post, this time I talk more about what I actually implemented. Let’s start with the basic API. The whole API is very simple and message centered. In order to be able to recieve messages you have to implement the ISubscriber<TMessage> interface.
public interface ISubscriber<TMessage>
{
void Handle(TMessage message);
}
The [...]