>Should I be using Singletons or Transient components? >Should I call "Release" on the proxy? It depends! If you are using the facility in a windows app then u can set it as Singleton, but if you are using it in a website with impersonation on the u need to set it as Transient and call release on the proxy.
Hope this helps. Cheers John ________________________________ From: Callum Hibbert <[email protected]> To: [email protected] Sent: Thu, 3 June, 2010 8:36:51 AM Subject: Re: Recommended WCF Facility configuration/usage? Thanks for the prompt reply. I've refreshed with the versions you gave me but I still see the same symptoms. This only seems to manifest itself when using wsHttpBinding, I don't see any issues with basicHttpBinding. I don't see any problems in the application behaviour but these errors create alot of noise when debugging other issues so its something I need to address but I can't solve the problem. Plus, I can get error free behaviour without the WCF Facility so something is not quite right. For clarity... Should I be using Singletons or Transient components? Should I call "Release" on the proxy? Feel free to hit me with any other obvious questions. Thanks, Callum On Wed, Jun 2, 2010 at 11:03 PM, John Simons <[email protected]> wrote: Hi Callum, > >Are you using a recent version of the facility? >You need to be using the trunk version to get this functionality, which >unfortunately hasn't been officially released yet! >You can get it from out build server at >http://builds.castleproject.org/repository/downloadAll/bt67/5633:id/artifacts.zip > >Cheers >John > > > > ________________________________ From: Callum Hibbert <[email protected]> >To: [email protected] >Sent: Thu, 3 June, 2010 7:44:25 AM >Subject: Recommended WCF Facility configuration/usage? > > > >What is the recommend configuraiton and usage when using the WCF Facility? > >I'm using WCF wsHttpBindings and I frequently see the following error message >in my WCF trace logs: > >"The communication object, System.ServiceModel.Channels.ReplyChannel, cannot >be used for communication because it has been Aborted." > >If I use the service without the WCF Facility I don't see this error at all - >without the WCF Facility I am able to call "Close" on the client. Even if I >call "windsorContainer.Release(instance);" on the proxy I am given I still get >the error. > >Any guidance? > >Thanks, > >Callum-- > >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. > > >-- >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. > -- 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. -- 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.
