How to predict changes to ComponentModel, resulting from registration?

2011-05-15 Thread Adam Langley
applying the registrations). How might I achieve this? Does Castle support transactional isolation of component registration? Because that might be useful in this scenario... Thanks, Adam Langley -- You received this message because you are subscribed to the Google Groups Castle Project Users

RE: Wcf Facility (server) can not correctly resolve open generic decorators

2011-05-11 Thread Adam Langley
it only took me 3 or 4 clicks to do it! I have posted a question to the admins but turnaround seems to take several hours - has anyone else had a similar experience? Thanks Adam Langley  Please consider the environment before printing this email! -Original Message- From: castle-project

RE: Wcf Facility (server) can not correctly resolve open generic decorators

2011-05-10 Thread Adam Langley
without 'eager' resolution. Thanks for the help Craig, Adam Langley  Please consider the environment before printing this email! From: castle-project-users@googlegroups.com [mailto:castle-project-users@googlegroups.com] On Behalf Of Craig Neuwirt Sent: Wednesday, 11 May 2011 7:53 a.m. To: castle

RE: Wcf Facility (server) can not correctly resolve open generic decorators

2011-05-10 Thread Adam Langley
straight to git? Thank you Adam Langley  Please consider the environment before printing this email! From: castle-project-users@googlegroups.com [mailto:castle-project-users@googlegroups.com] On Behalf Of Krzysztof Kozmic Sent: Wednesday, 11 May 2011 10:21 a.m. To: castle-project-users

Wcf Facility (server) can not correctly resolve open generic decorators

2011-05-07 Thread Adam Langley
Dear Castle groups, I have a WCF service which has a single constructor dependency - this dependency is 'generically decorated'. i.e. its constructor looks like this: public ServiceGenericDependency(IDecoratorIServiceNoDependencies arg2) { } My 'decorator' constructor looks like this:

RE: Last change to register kernel dependencies

2011-04-25 Thread Adam Langley
are registered Can you elaborate a bit more why you need that behaviour and what problem you're trying to solve? cheers, Krzysztof On 25/04/2011 3:45 PM, Adam Langley wrote: I require a way to get a last chance to register a components dependencies before resolution occurs. I am writing

RE: Last change to register kernel dependencies

2011-04-25 Thread Adam Langley
before resolve so why you might need to register things lazily? Overall, it does have a unusual feel to it. Krzysztof On 25/04/2011 4:02 PM, Adam Langley wrote: Hi Krzysztof, I have a design goal - I want to run a set of components, each component resides within a dedicated process (what I

Last change to register kernel dependencies

2011-04-24 Thread Adam Langley
I require a way to get a last chance to register a components dependencies before resolution occurs. I am writing a custom facility, but I need to first register a component which has missing dependencies, then just before resolution, it's dependencies are registered. What extension points

Can the remoting facility/components be configured fluently?

2011-04-21 Thread Adam Langley
All the tests appear to use XML configuration... Thanks Adam Sent from my iPhone -- You received this message because you are subscribed to the Google Groups Castle Project Users group. To post to this group, send email to castle-project-users@googlegroups.com. To unsubscribe from this

RE: New WCF Facility Lifestyle

2011-04-19 Thread Adam Langley
specific 'windows integration' code. Thanks Adam Langley From: castle-project-users@googlegroups.com [mailto:castle-project-users@googlegroups.com] On Behalf Of Krzysztof Kozmic Sent: Tuesday, 19 April 2011 9:39 a.m. To: castle-project-users@googlegroups.com Subject: Re: New WCF Facility Lifestyle I

RE: New WCF Facility Lifestyle

2011-04-17 Thread Adam Langley
that it is not implementation specific, but could be re-used easily in other, unrelated projects. Does that better explain where I am, and the depth of my proposition? Thanks Krzysztof Adam Langley  Please consider the environment before printing this email! -Original Message- From: castle-project-users

RE: New WCF Facility Lifestyle

2011-04-13 Thread Adam Langley
+ Lifestyle, for example) Adam Langley  Please consider the environment before printing this email! -Original Message- From: castle-project-users@googlegroups.com [mailto:castle-project-users@googlegroups.com] On Behalf Of Krzysztof Kozmic Sent: Thursday, 14 April 2011 9:38 a.m. To: castle

New WCF Facility Lifestyle

2011-04-12 Thread Adam Langley
, and what Castle extensibility points would I rely on to implement this? Adam Langley -- You received this message because you are subscribed to the Google Groups Castle Project Users group. To post to this group, send email to castle-project-users@googlegroups.com. To unsubscribe from this group

Deregistration of WCF service components

2011-04-10 Thread Adam Langley
connected, what will happen if I remove the component from the container? - Will the client be dropped? - will the session be allowed to complete, then the endpoint/discovery (etc) will be 'purged'? Thanks Adam Langley -- You received this message because you are subscribed

RE: query about StartableFacility extension methods

2011-02-03 Thread Adam Langley
Hey Krzysztof, Thanks - I thought that might be the case, the nature of fluent and heavily nested generics... But thought I would ask! Adam Langley -Original Message- From: castle-project-users@googlegroups.com [mailto:castle-project-users@googlegroups.com] On Behalf Of Krzysztof

RE: query about StartableFacility extension methods

2011-02-03 Thread Adam Langley
Absolutely - I figured you probably realised I wanted static checking... my main reason from moving away from configuration via Xml. Thanks again, Adam Langley  Please consider the environment before printing this email! -Original Message- From: castle-project-users@googlegroups.com

Castle Windsor WCF Client service registration based on convention

2011-01-31 Thread Adam Langley
this, and what is the syntax? Krzysztof? (help!) Thanks! Adam Langley -- You received this message because you are subscribed to the Google Groups Castle Project Users group. To post to this group, send email to castle-project-users@googlegroups.com. To unsubscribe from this group, send email

RE: IContainerAdapter -- is anyone using it? #FeedbackNeeded

2010-11-21 Thread Adam Langley
Absolutely - I am using this to shoehorn IoC into Windows Forms. It's fairly critical in our projects. Adam Langley Senior Developer +64 9 486 9010 +64 21 884400 alang...@winscribe.com www.winscribe.com  Please consider the environment before printing this email! From: castle-project-users

RE: component registration always results in SingletonLifestyleManager being applied

2010-07-28 Thread Adam Langley
...), a, process, how I adore thee. Adam Langley Senior Developer +64 9 486 9010 alang...@winscribe.com www.winscribe.com  Please consider the environment before printing this email! -Original Message- From: castle-project-users@googlegroups.com [mailto:castle-project-us

RE: component registration always results in SingletonLifestyleManager being applied

2010-07-28 Thread Adam Langley
It appears that in 2.5b2, externally activated components are no longer tracked by the SingletonLifesyleManager. This is good news, and greatly simplifies my work! While it does mean I need to roll out an upgrade, I think it is worth it. Thanks again, Krzysztof Adam Langley Senior Developer

WcfFacility does not appear to be compatible with DiscoveryEndpoint

2010-07-28 Thread Adam Langley
isOperationContextSet)} Any ideas? Adam Langley -- You received this message because you are subscribed to the Google Groups Castle Project Users group. To post to this group, send email to castle-project-us...@googlegroups.com. To unsubscribe from this group, send email to castle-project-users

RE: WcfFacility does not appear to be compatible with DiscoveryEndpoint

2010-07-28 Thread Adam Langley
... which obviously isnt possible because the argument needs to be an interface type. Is this more obvious? Adam Langley Senior Developer +64 9 486 9010 alang...@winscribe.com www.winscribe.com  Please consider the environment before printing this email! -Original Message- From: castle-project

component registration always results in SingletonLifestyleManager being applied

2010-07-27 Thread Adam Langley
in a way that will allow the same instance to be returned from all Resolve calls (singleton behavior), but will be removed when Release is called (transient behavior)? Thanks Adam Langley Senior Developer +64 9 486 9010 alang...@winscribe.com www.winscribe.com  Please consider the environment

RE: component registration always results in SingletonLifestyleManager being applied

2010-07-27 Thread Adam Langley
, and the final ComponentModel that results from this configuration, has a CustomLifestyle of Null, and Lifestyle of Unknown. Can you point out why this might be? Adam Langley Senior Developer +64 9 486 9010 alang...@winscribe.com www.winscribe.com  Please consider the environment before printing

RE: component registration always results in SingletonLifestyleManager being applied

2010-07-27 Thread Adam Langley
Im actually using the released 2.1.0.0 [assembly: AssemblyFileVersion(2.1.0.6655)] Adam Langley Senior Developer +64 9 486 9010 alang...@winscribe.com www.winscribe.com  Please consider the environment before printing this email! -Original Message- From: castle-project-users

Prevent throwing of ComponentNotFoundException

2010-07-25 Thread Adam Langley
to locate it, and handle the return being null. All these ComponentNotFound exceptions are slowing the program down. I was hoping for something like Kernel.Register(Component.ForIMyServiceContract().Unavailable()) Any possibilities? - Adam Langley -- You received this message because you

Re: Resolving message-inspectors through the kernel, in WcfFacility (client-side)

2010-07-09 Thread Adam Langley
and pass them in inspector's constructor. Does it make sense? On Thu, Jul 8, 2010 at 4:01 AM, Adam Langley alang...@winscribe.com wrote: Hi, I am using the WcfFacility on the client to create channels. I would also like to inject a messageinspector, but I would like this message-inspector

Resolving message-inspectors through the kernel, in WcfFacility (client-side)

2010-07-07 Thread Adam Langley
-inspector can then use a service to notify the running application of all communications running through the WCF pipeline... Adam Langley -- You received this message because you are subscribed to the Google Groups Castle Project Users group. To post to this group, send email to castle-project

RE: Wcf Facility and Endpoint Discovery

2010-07-04 Thread Adam Langley
. Of course, I think the difficulty would be deriving the binding type, as that would be part of the config that one would 'omit'... I also need to be able to define the discovery endpoint in the Xml config if not using UDP broadcast. Adam Langley  Please consider the environment before printing

Wcf Facility and Endpoint Discovery

2010-06-29 Thread Adam Langley
Hi troops, With .net 4.0, MS introduced Wcf service discovery. Are there any plans to integrate 'discovery' into the Wcf client facility, so that one need not specify the endpoint address in the configuration - it is discovered on demand? Thanks! Adam Langley -- You received this message

RE: decomission of transient services in child containers resolved/configured by a parent

2010-06-23 Thread Adam Langley
Thanks Krzysztof, I will respond soon with my extended thoughts. I am also working on a CodeProject article detailing my work and findings as well... Thanks again Adam Langley Senior Developer From: castle-project-users@googlegroups.com [mailto:castle-project-us

decomission of transient services in child containers resolved/configured by a parent

2010-06-22 Thread Adam Langley
instance? Thanks Adam Langley -- You received this message because you are subscribed to the Google Groups Castle Project Users group. To post to this group, send email to castle-project-us...@googlegroups.com. To unsubscribe from this group, send email to castle-project-users+unsubscr

Request for APTCA in Castle Windsor/Core/MicroKernel/DynamicProxy

2009-11-12 Thread Adam Langley
? Would there be a problem putting it in? It would be nice not having to build my own versions of castle to get it to work in Outlook... Thanks! Adam Langley Senior Developer +64 9 486 9010 www.winscribe.com Please consider the environment before printing this email! -- You received

RE: Design questions for resolution of IOC-ISSUE-161

2009-08-11 Thread Adam Langley
Thanks Craig, you've got it bang on in one, and cheers Ayende, a custom Lifecycle would be just what Im looking for to work in unison with the lazy loading mechanism. Adam Langley Senior Developer www.winscribe.com Please consider the environment before printing this email! From: castle

RE: Design questions for resolution of IOC-ISSUE-161

2009-08-10 Thread Adam Langley
called again to create a new instance of the type. This way it can look at the endpoint.State == Faulted, to test if it should recreate it or not... Ideas? Adam Langley Senior Developer www.winscribe.com Please consider the environment before printing this email! From: castle-project-users

Design questions for resolution of IOC-ISSUE-161

2009-08-05 Thread Adam Langley
decisions around how this feature should 'behave', what do you think? Thanks Adam Langley --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Castle Project Users group. To post to this group, send email to castle-project

RE: Design questions for resolution of IOC-ISSUE-161

2009-08-05 Thread Adam Langley
an implementation of IHandler that provide instances via the WCF client support. Shouldn't be too hard, I think. On Thu, Aug 6, 2009 at 1:52 AM, Adam Langley alang...@winscribe.com wrote: After speaking to Krzysztof Kozmic, this question is directed primarily to Ayende and Craig Newirt, I require that Windsor

Extending Windsor to manage components without a Type specified on the Component.

2009-07-02 Thread Adam Langley
attribute is not specified, then the 'Kernel.ComponentModelCreated' event is never fired, and I cannot handle anything. This makes me think that there is another extension mechanism within Windsor that I need to hook into. Can anybody tell me how to achieve what I want here? Thanks Adam Langley