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 »

The .NET BackgroundWorker class and You

Introduction My personal favorite class of the .NET Framework is the BackgroundWorker class. The BackgroundWorker class provides an easy way for a programmer to execute a time-consuming operation on a separate background thread while providing a simple way to communicate progress, completion and other information about the background operation to the thread which started the… Read More: The .NET BackgroundWorker class and You »

Proper Etiquette for using MySQL in C# (Part of 3 of 3) – DbDataReader

Looking back on this series, we have discussed both proper management of database related resources and how to protect and improve the performance of our applications through the use of Parameterized Queries (Prepared Statements). Since the primary reason for accessing a database is to read data from it, it would be a shame if we… Read More: Proper Etiquette for using MySQL in C# (Part of 3… »

Proper Etiquette for using MySQL in C# (Part of 2 of 3) – Parameterized Queries

In the first installment of this three part series I covered why properly managing resources related to database activity is so important. In this second part, I will discuss how using parameterized queries (also known as prepared statements) will improve the performance as well as increase the security of your application. Again the examples are… Read More: Proper Etiquette for using MySQL in C# (Part of 2… »