Category Archives: C#

The Task Parallel Library and You (with special guest GTK#)

Introduction A couple of years ago I did a post on the BackgroundWorker. While the BackgroundWorker class is a perfectly acceptable way to get operations done asynchronously in .Net/Mono, the Task Parallel Library is the newest and current recommended way of writing asynchronous code. So I thought I would do a sample application on the… Read More: The Task Parallel Library and You (with special guest GTK#) »

WCF Tutorial: A Different Approach – Service Library

Service Library Now that we have defined our service interface – It’s time to implement it. We implement the service contract interface (IMathService) just like we would any other C# interface and the result is our service library. See below for the service library source code: using System.ServiceModel; using MathServiceInterface; using MathServiceInterface.DTOs; using MathServiceInterface.Enumerations; using… Read More: WCF Tutorial: A Different Approach – Service Library »

WCF Tutorial: A Different Approach – Introduction

Introduction Windows Communication Foundation (WCF) is a part of the .NET Framework which allows for rapidly building service-oriented applications. Personally, I believe the strongest aspect of WCF is the speed in which you can construct and deploy business applications which require a service oriented architecture (SOA) based solution. WCF is mainly for building SOAP-based web… Read More: WCF Tutorial: A Different Approach – Introduction »