Re: Custom Lifestyle question

2010-07-07 Thread kilfour
It does not only limit the reference to a thread. For that I could have used the PerThread Lifestyle. http://stw.castleproject.org/Windsor.LifeStyles.ashx#PerThread_3. I can't really call release, as my project does not know about the container... The idea is : ComponentA depends on DEP

Re: Latest source from github

2010-07-07 Thread Paul Hatcher
Thanks, that worked - so why do github show the url on the page as http:// ? On Jul 6, 6:48 pm, Serkan Hosca ser...@hosca.com wrote: try using git:// instead of http:// On Tue, Jul 6, 2010 at 1:46 PM, Paul Hatcher pa...@grassoc.co.uk wrote: I'm trying to get the latest source from github,

Re: Latest source from github

2010-07-07 Thread Roelof Blom
http://github.com/blog/92-http-cloning On Wed, Jul 7, 2010 at 10:08 AM, Paul Hatcher pa...@grassoc.co.uk wrote: Thanks, that worked - so why do github show the url on the page as http:// ? On Jul 6, 6:48 pm, Serkan Hosca ser...@hosca.com wrote: try using git:// instead of http://

Re: Changing default lifestyle?

2010-07-07 Thread joniba
2.1 (2.1.0.6655) On Jul 5, 12:25 am, Krzysztof Koźmic krzysztof.koz...@gmail.com wrote: What version On 5/07/2010 12:58 AM, joniba wrote: I'm trying to change the default lifestyle used by the container as per the post:

Re: Changing default lifestyle?

2010-07-07 Thread joniba
Yes, right after creating the container (from an xml file), before any resolve calls are made. On Jul 4, 6:17 pm, Mauricio Scheffer mauricioschef...@gmail.com wrote: Are you registering this event handler *before* any component registration? On Sun, Jul 4, 2010 at 11:58 AM, joniba

Re: Changing default lifestyle?

2010-07-07 Thread Krzysztof Koźmic
Ah so you're registering it AFTER the components. That makes sense. Actually I'd suggest adding a CM creation contributor http://stw.castleproject.org/Windsor.ComponentModel-construction-contributors.ashx for this first and after that register your components from the XML. Krzysztof On

Re: Changing default lifestyle?

2010-07-07 Thread Mauricio Scheffer
The event handler has to be set up before any component registration (including xml registrations). Or you can go the CM contributor way as Krzysztof explained. On Wed, Jul 7, 2010 at 9:31 AM, joniba jbena...@gmail.com wrote: Yes, right after creating the container (from an xml file), before

Re: Custom Lifestyle question

2010-07-07 Thread kilfour
I got it working the way I wanted too... all tests pass ;-) It does involve a serious hack though : my own IReleasePolicy which needs to be aware of the AbstractLifestyleManager. And because only Track() is virtual in the provided ReleasePolicies, I had to duplicate some code. Here's a test

Re: Wcf Facility and Endpoint Discovery

2010-07-07 Thread Craig Neuwirt
Hey Adam, I work in binsor for my config so here is what my boo looks like to register with discovery component ServiceDiscoveryBehavior component 'WcfRequestProcessor' is WcfRequestProcessor IWcfRequestProcessor: ServiceModels = (DefaultServiceModel().Hosted() \

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

2010-07-07 Thread Adam Langley
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 to have a reference to a service also managed by the micro-kernel. Is there a way in the WcfFacility to do this? The idea is that my Wcf