The difference between Visual Studio’s WCF Service Application and WCF Service Library project templates

I’ve been working with WCF lately. One of the immediate points of confusion was which type of project to start out with: WCF Service Application or WCF Service Library. Let’s take a look at each, then examine the differences. Hopefully we can come to some conclusion regarding the time and …

Silverlight Unit Testing

Unit testing is important, even for Silverlight applications. At my job, I insist that every application contain at least some unit testing (that doesn’t mean that every application does, but I’ll keep insisting), and that we maintain a minimum of 40% code coverage. Normally, I implement unit testing with NUnit. …

Visual Studio Code Analysis vs. FxCop vs. StyleCop… what’s the diff?

Since I started using the StyleCop for ReSharper add-on I’ve been delving a bit further into the other tools out there for doing code analysis: StyleCop, FxCop, and Visual Studio Code Analysis. Even only considering those three, it’s a bit confusing. This post is my attempt to sort out, for …

The different ways to host a WCF Service Application in a Web App

There are at least three different ways to configure the hosting of a WCF Service Application inside a Web Application. They are: Add a WCF Service directly via “Add New Item…” By copying files, including the service implementation code-behind file By copying files, including the compiled, service implementation DLL In …

The difference between Visual Studio’s WCF Service Application and WCF Service Library project templates

I’ve been working with WCF lately. One of the immediate points of confusion was which type of project to start out with: WCF Service Application or WCF Service Library. Let’s take a look at each, then examine the differences. Hopefully we can come to some conclusion regarding the time and …

Silverlight to WCF Cross Domain SecurityException

In debugging a fairly simple Silverlight control that calls into a WCF service I ran into an often encountered security exception having to do with cross-domain policy. Silverlight generally does not allow cross domain access unless that access is explicitly granted via a clientaccesspolicy.xml file. Given that I had to …

Combine Setup MSI and EXE into a single package with IExpress

IExpress is a little known utility that will combine any number of files into a single, self-extracting executable similar to a WinZip self-extracting executable except IExpress comes standard with XP, Vista, and Windows 7 and is therefore free. A tool like this one is especially handy as a standard Visual Studio …