I'm not very keen on all those casts.
And it doesn't seem natural to call proxy.GetSize(line); and not assign the 
result to anything!

Have a look at http://paste2.org/p/199716

Cheers
John






________________________________
From: Krzysztof Koźmic <[email protected]>
To: [email protected]; [email protected]
Sent: Thursday, 7 May, 2009 5:47:22 AM
Subject: WCF Facility - Client proxy async calls


I'm working on adding to WCF Facility support for async calls from 
client side (similar to what can be done with SvcUtil-generated 
proxies), when using channelfactory and intereface contract only.
Something like What Ayende wrote about here: 
http://ayende.com/Blog/archive/2008/03/29/WCF-Async-without-proxies.aspx
but without having to write IAsyncBus

I have very rough (but working) implementation.

But...

given we don't have an actual async methods to call, we have to have an 
alternative syntax (well, at least until C# 4.0 and IDynamicObject, but 
that's another story)
http://paste2.org/p/198506 here's what I came up with.
I encourage you to discussion about it. If you have alternative, better 
ideas, you can show it here: http://paste2.org/followup/198506

Thanks,

Krzysztof




      Enjoy a better web experience. Upgrade to the new Internet Explorer 8 
optimised for Yahoo!7. Get it now.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to