Latest posts

How to make exception reporting in log4net awesome.

Are you using log4net in an existing application and feel that you got no control over your errors? We’ve now created a seamless log4net integration. That…

Communicating business rules with methods

Do you use anemic models? i.e. having business classes like “User” without any methods but just properties instead? Do you want to do better but do not know…

How to create a SqlException

Have you tried to create a SqlException only to discover that the constructor is private? Here is how you can create the exception despite that.

Free ebook about localization in .NET

My book has finally been published by Syncfusion.

How to safely convert enums

Converting between different types of enums is quite easy and it typically works fine. For a while. But changed business requirements might require that you…

Running services in long lived applications in .NET

You have probably created a windows service or other types of applications where you have code which needs to be run in the background to not block the main…

Sending files over the network with .NET

Griffin.Framework has built in support for streams if you are using MicroMsg. This example will demonstrate how you can send a file stream over the network.

Command/Query library with network and IoC support

Have you read about the Command/Query separation pattern and wondered how hard it would be to get started with it? With Griffin framework you only need a few…

Easy and performant client/server communication with protobuf-net & Griffin.Framework

ProtoBuf is Google’s open serialization format which can be used to serialize objects in a standardized way. With it, different platforms can communicate with…

Griffin.Framework – Performant networking in .NET

Griffin.Networking was my attempt to create a Netty inspired library. The library is working pretty well but the internal architecture became a bit complex…