Resources for Mocking WCF

Hey everyone,

Just a few links I came across for mocking WCF in case anyone else needs them.

This tutorial was great: http://weblogs.asp.net/cibrax/unit-tests-for-wcf

The only issue being that it was missing a few class definitions (IIncomingWebRequestContext and IOutgoingResponseContext). I got lucky and was able to find full code samples at the following links:

https://code.google.com/p/netfx/source/browse/trunk/Source/ServiceModel/Web/IIncomingWebRequestContext.cs?r=18

http://netfx.googlecode.com/svn-history/r28/trunk/Source/ServiceModel/Web/Wrappers.cs

Just in case these links ever go down:

http://pastebin.com/CjUMwhsG
http://pastebin.com/F1Fj9eRC


Posted

in

, ,

by

Tags:

Comments

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Create a website or blog at WordPress.com

%d bloggers like this: