Monthly Archives: November 2013

SignalR A complete WPF client using MVVM

In this post, a WPF application using MVVM is created and used to send and recieve SignalR messages. The post continues on from: SignalR Messaging, a more complete server with a Console Application Code: https://github.com/damienbod/SignalRMessagingErrorHandling The application uses 4 different projects: Damienbod.SignalR.IHubSync.Client: This project helps us use the SignalR Hub hosted in the server console […]

using SQLite with Entity Framework 6 and the Repository Pattern

In this post, a Data access layer is implemented using the repository pattern together with entity Framework 6 and SQLite as a database. The post continues on from Getting started, using SQLite with .NET UPDATE 02.03.2014: Using the new SQLite version 1.0.91.3 now with the SQLite provider. The xml app configuration needs to be changed […]

Getting started, using SQLite with .NET

This post is a collection from docs, links, code examples which I found on various blogs, websites etc. I have included the references to all my sources. Thanks for all the cool blogs, websites and of course SQLite which made it so easy to get started with this database. UPDATE 02.03.2014: With the release of […]

The end of WCF is on the horizon

I’m still a great fan of WCF and all it brings with it. This was one of the best developments in the .NET world and made it easy to implement multi process software, distributed systems and SOA. Why will it no longer be required? Web Api 2 and SignalR Great open source frameworks. source code […]

SignalR Messaging a complete client with a Console Application

This post continues on from: SignalR Messaging, a more complete server with a Console Application Now the client will be developed with some error handling and proper logging. This example is a robust client, which can restart or handle any client, server events. Code: https://github.com/damienbod/SignalRMessagingErrorHandling.git A base Hub client class is created, so that each […]

SignalR Messaging A more complete server with a Console Application

This post continues on from: SignalR Messaging with console server and client, web client, WPF client Now the server will be developed with some error handling, proper logging, an IoC and an Client assembly with an interface and DTOs. Code: https://github.com/damienbod/SignalRMessagingErrorHandling.git To make it easier to use in a .NET client project, we can create […]

Using SignalR with Unity

This post demonstrates how to use Unity as an IoC for SignalR. To inject into SignalR, the Microsoft.AspNet.SignalR.Hubs.IHubActivator class should be used. Code: https://github.com/damienbod/SignalRHostWithUnity Step 1: Use NuGet to add Unity and SignalR and also SignalR Self Host Step 2: Create an UnityHubActivator class. This class implements the IHubActivator interface. The Unity container is used […]

SignalR Messaging with console server and client, web client, WPF client

The code in this post is a basic example of a SignalR messaging system. I wanted to create an example which works for 3 client types, WPF, Web and Console. It is built upon the hello worlds provided on the asp.net/signalR website. The hub was then changed to add 3 methods, a simple method with […]