Huseyin,

>What is the magic behind this recovery operation?
See 
http://svn.castleproject.org:8080/svn/castle/trunk/Facilities/Wcf/Castle.Facilities.WcfIntegration/Internal/WcfUtils.cs

>Second, does this mean that I can only create one channel at the startup of my 
>clientapplication and use that forever?

You don't need to create channels, WCF Facility will handle this behind the 
scenes.
See 
http://svn.castleproject.org:8080/svn/castle/trunk/Facilities/Wcf/Castle.Facilities.WcfIntegration.Demo/
 for an example on how to use the facility.

>What is your suggestion about channel/proxy management on the client side?
Use the WCF Facility on the client side and channel/proxy management is handled 
for you :)

Cheers
John



________________________________
From: Huseyin Tufekcilerli <[email protected]>
To: Castle Project Users <[email protected]>
Sent: Tuesday, 2 June, 2009 6:27:42 PM
Subject: Best practice for client Channel/Proxy management in WCF Facility


Normally in plain vanilla WCF when your channel gets into the faulted
state because of an exception on the service side, you won't be able
to use that same channel for any further operations. Since WCF
Facility recovers the channel (per [Test]
WillRecoverFromAnUnhandledException) it is possible to use that same
channel over and over, it is automagically recovered. First question,
what is the magic behind this recovery operation? Second, does this
mean that I can only create one channel at the startup of my client
application and use that forever? What is your suggestion about
channel/proxy management on the client side?


      Need a Holiday? Win a $10,000 Holiday of your choice. Enter 
now.http://us.lrd.yahoo.com/_ylc=X3oDMTJxN2x2ZmNpBF9zAzIwMjM2MTY2MTMEdG1fZG1lY2gDVGV4dCBMaW5rBHRtX2xuawNVMTEwMzk3NwR0bV9uZXQDWWFob28hBHRtX3BvcwN0YWdsaW5lBHRtX3BwdHkDYXVueg--/SIG=14600t3ni/**http%3A//au.rd.yahoo.com/mail/tagline/creativeholidays/*http%3A//au.docs.yahoo.com/homepageset/%3Fp1=other%26p2=au%26p3=mailtagline
--~--~---------~--~----~------------~-------~--~----~
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