WCF Windows Service Using TopShelf and ServiceModelEx

There are two excellent .NET libraries that help us to build enterprise solutions using the Windows Communication Foundation (WCF)TopShelf and ServiceModelEx. These two libraries are responsible for two very different, but integral parts of a windows service:

  • TopShelf enables us to easily debug, install and host a long running process in Windows
  • ServiceModelEx provides functionality to configure how a WCF service behaves and provides its endpoints

This article follows on from my previous article about Service Oriented Architecture. I recommend that if you are just starting out with SOA, you give that a read-through before going through this implementation. Continue reading WCF Windows Service Using TopShelf and ServiceModelEx

by João Lourenço

Service Oriented Architecture

The distributed nature of enterprise applications should always point a software architect in the direction of Service Oriented Architecture (SOA). The basic problem that an enterprise application is trying to solve is:

A system where there are many users trying to access and modify the same data at the same time.

Continue reading Service Oriented Architecture

by João Lourenço

Audit Trails, Concurrency and Soft-Deletion with Entity Framework

audit trails, concurrency and soft-deletion

Audit Trails

When developing enterprise applications, audit trails are almost always used, and, if not, they are at least taken into consideration. “What is an audit trail?”, you might ask. You can think of it is as:

“Who did it, and when did they do it?”

Continue reading Audit Trails, Concurrency and Soft-Deletion with Entity Framework

by João Lourenço