Introducing the AwesomeObservableCollection

Introduction Overview of the default ObservableCollection Issues with ObservableCollection Adding Collection support Final RangeObservableCollection Adding object change notification Final ItemObservableCollection Extending ObservableCollection into awesomeness Final AwesomeObservableCollection Conclusion Introduction # Let’s start the post by first stating the obvious: ObservableCollections are awesome! There, I said it. Anyone that has done some WPF development will also admit that the use of ObservableCollection in conjunction with the MVVM pattern makes application development, and life, a lot easier.
Read more →

Enum Attribute Reflection Helper

Something To Note Introduction Background Building Blocks Using The Code Feedback Something to note # Note: This code was done a couple of years back as an tip/trick for Code Project. The code here can be simplified quite a bit by using the latest .NET features such as lamda expressions, but I still wanted to add it here as a reference. Some of the concepts still hold valid, and can be used for other applications.
Read more →

Implementing SignalR in Desktop Applications

Introduction Creating the SignalR Hub Create desktop client Send message from the client Send message from the server Conclusion Introduction # Well, let us start at the beginning and firstly discuss what SignalR is. SignalR is a newish Microsoft technology that enables us to build real-time applications, where clients can push data to the server, and the server can push data to all clients. It works with the new HTML5 WebSockets API that enables bi-directional communication between clients (desktop applications, as well as browsers) and server.
Read more →