﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Nati Dobkin commented on WCF Async without proxies</title><description>Hey,
  
  
My point was to show that there is no need to write the second contract, like you did. I referenced you to generated code only for proof my concept; you don’t have to use it.    
  
  
BTW, if you don’t use the generated code and your contract is changed, how do you get the newer one for your client?
  
</description><link>http://ayende.com/3229/wcf-async-without-proxies#comment8</link><guid>http://ayende.com/3229/wcf-async-without-proxies#comment8</guid><pubDate>Tue, 01 Apr 2008 21:26:27 GMT</pubDate></item><item><title>Ayende Rahien commented on WCF Async without proxies</title><description>Nati,
  
The point here is to avoid having to generate a proxy
</description><link>http://ayende.com/3229/wcf-async-without-proxies#comment7</link><guid>http://ayende.com/3229/wcf-async-without-proxies#comment7</guid><pubDate>Tue, 01 Apr 2008 21:14:09 GMT</pubDate></item><item><title>Nati Dobkin commented on WCF Async without proxies</title><description>Hello,
  
  
Async pattern is a nice ability that WCF supplies but as far as I know the server doesn't have to know about the AsyncPattern you are using for your clients.
  
  
Your code will work fine without the second contract. For your client you have to declare the AsyncPattern on your service contract mehods and when you implementing it you just have to call the standard Process method – WCF engine will do the rest for you.
  
  
You can see implementation of this pattern by running svcutil.exe with your mex address and apply /async parameter on it. You will get fully generated proxy with async pattern implemented for each and every of your contract methods, while in the serve you don’t mention anything about it.  
  
</description><link>http://ayende.com/3229/wcf-async-without-proxies#comment6</link><guid>http://ayende.com/3229/wcf-async-without-proxies#comment6</guid><pubDate>Tue, 01 Apr 2008 21:05:18 GMT</pubDate></item><item><title>Johnny Hall commented on WCF Async without proxies</title><description>That's my preference as well, although I'm not completely familarised with it yet.
  
  
It's an interesting piece of code though.  I like the approach.  I HATE the generated proxies - they're such a p-i-t-a to manage, I find.
</description><link>http://ayende.com/3229/wcf-async-without-proxies#comment5</link><guid>http://ayende.com/3229/wcf-async-without-proxies#comment5</guid><pubDate>Sun, 30 Mar 2008 21:09:20 GMT</pubDate></item><item><title>Ayende Rahien commented on WCF Async without proxies</title><description>Johnny,
  
Actually, I would probably use the Castle's WCF integration facility for this in real scenarios
</description><link>http://ayende.com/3229/wcf-async-without-proxies#comment4</link><guid>http://ayende.com/3229/wcf-async-without-proxies#comment4</guid><pubDate>Sun, 30 Mar 2008 20:53:44 GMT</pubDate></item><item><title>Johnny Hall commented on WCF Async without proxies</title><description>Hi.  You might be interested in this alternative to using a proxy or a channel.
  
  
http://www.acorns.com.au/blog/?p=113
</description><link>http://ayende.com/3229/wcf-async-without-proxies#comment3</link><guid>http://ayende.com/3229/wcf-async-without-proxies#comment3</guid><pubDate>Sun, 30 Mar 2008 20:36:24 GMT</pubDate></item><item><title>pb commented on WCF Async without proxies</title><description>Outstanding, I'm going to go delete my proxy based code and refactor to this.
</description><link>http://ayende.com/3229/wcf-async-without-proxies#comment2</link><guid>http://ayende.com/3229/wcf-async-without-proxies#comment2</guid><pubDate>Sat, 29 Mar 2008 16:28:38 GMT</pubDate></item><item><title>Rob commented on WCF Async without proxies</title><description>Very nice.  I was completely unaware of this.
</description><link>http://ayende.com/3229/wcf-async-without-proxies#comment1</link><guid>http://ayende.com/3229/wcf-async-without-proxies#comment1</guid><pubDate>Sat, 29 Mar 2008 14:54:38 GMT</pubDate></item></channel></rss>