<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Implementing WCF Services Without Referencing WCF</title><link>http://blogs.msdn.com/ploeh/archive/2008/06/26/implementing-wcf-services-without-referencing-wcf.aspx</link><description>More than a year ago, I wrote my first post on unit testing WCF services . One of my points back then was that you have to be careful that the service implementation doesn't use any of the services provided by the WCF runtime environment (if you want</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Modifying Behavior of WCF-Free Service Implementations</title><link>http://blogs.msdn.com/ploeh/archive/2008/06/26/implementing-wcf-services-without-referencing-wcf.aspx#8662833</link><pubDate>Fri, 27 Jun 2008 23:55:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8662833</guid><dc:creator>ploeh blog</dc:creator><description>&lt;p&gt;In my previous post , I explained how to implement a WCF service without referencing WCF. In simple cases,&lt;/p&gt;
</description></item><item><title>Unit Testing Duplex WCF Services</title><link>http://blogs.msdn.com/ploeh/archive/2008/06/26/implementing-wcf-services-without-referencing-wcf.aspx#8663476</link><pubDate>Sat, 28 Jun 2008 15:44:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8663476</guid><dc:creator>ploeh blog</dc:creator><description>&lt;p&gt;One of my readers recently asked me about unit testing WCF services when they have callbacks. Given that&lt;/p&gt;
</description></item><item><title>re: Implementing WCF Services Without Referencing WCF</title><link>http://blogs.msdn.com/ploeh/archive/2008/06/26/implementing-wcf-services-without-referencing-wcf.aspx#8956338</link><pubDate>Thu, 18 Sep 2008 02:07:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8956338</guid><dc:creator>Paul Gamblen</dc:creator><description>&lt;p&gt;Hi Mark.&lt;/p&gt;
&lt;p&gt;We use Juval Lowrys InProcFactory for unit testing our services. It doesnt work for all WCF configurations but in the most part suffices for what we want to do. We have extended ClientBase to either use a hosted version of the service or an in process version of the service based on configuration.&lt;/p&gt;
&lt;p&gt;Thought you might be interested.&lt;/p&gt;
&lt;p&gt;Paul.&lt;/p&gt;</description></item><item><title>re: Implementing WCF Services Without Referencing WCF</title><link>http://blogs.msdn.com/ploeh/archive/2008/06/26/implementing-wcf-services-without-referencing-wcf.aspx#8956854</link><pubDate>Thu, 18 Sep 2008 10:06:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8956854</guid><dc:creator>ploeh</dc:creator><description>&lt;p&gt;Hi Paul&lt;/p&gt;
&lt;p&gt;Thank you for your tip. There are, as far as I know, a couple of third party InProc transports for WCF. I normally use the named pipes transport for unit testing, although a faster transport would be nicer.&lt;/p&gt;
&lt;p&gt;Personally, I don't find that the added overhead of having to reference and manage yet another library to gain a bit of speed is worth the effort, but YMMV. Not that test speed is unimportant, but I find the named pipes transport sufficiently fast to my purposes.&lt;/p&gt;
&lt;p&gt;This whole discussion is orthogonal to the subject of this post, which is about how you completely remove WCF from your service implementation. There's a lot of good reasons for doing that, and increased test speed is only a side effect.&lt;/p&gt;
&lt;p&gt;That's not to dismiss your idea at all. I think it's a valid contribution that may be beneficient to a lot of people, so I thank you for sharing :)&lt;/p&gt;
</description></item></channel></rss>