https://github.com/castleproject/Windsor/pull/29

On Thursday, July 25, 2013 5:16:56 PM UTC+2, Craig Neuwirt wrote:
>
> I've never tried it, but it apparently doesn't work.  We need a unit test 
> to demonstrate issue.
>
>
> On Tue, Jul 23, 2013 at 5:59 PM, Krzysztof Koźmic 
> <krzyszto...@gmail.com<javascript:>
> > wrote:
>
>> I don't think that works
>>
>> Craig?
>>
>> Krzysztof
>>
>> sent from my phone
>> On 24/07/2013 8:36 AM, "Jakub Fojtl" <jfo...@gmail.com <javascript:>> 
>> wrote:
>>
>>> Well, my service implementation is a proxy class implemented by 
>>> DynamicProxy. May that work?
>>>
>>> On Tuesday, July 23, 2013 2:19:31 PM UTC+2, Krzysztof Koźmic wrote:
>>>>
>>>> the WCF facility doesn't appear to support UsingFactoryMethod in this 
>>>> context. Can you set .ImplementedBy()? Does that help?
>>>>
>>>> -- 
>>>> Krzysztof Kozmic
>>>>
>>>> On Monday, 22 July 2013 at 10:51 PM, Jakub Fojtl wrote:
>>>>
>>>> I am doing something like:
>>>>
>>>> Component.For<IScanProvider>()
>>>>                 .UsingFactoryM**ethod((k, c) =>
>>>>                 {
>>>>                     var factor**y = new 
>>>> CommunicatorBridgeFact**ory<IScanService, IScanProvide**r>();
>>>>                     var servic**e = k.Resolve<IScanService>();
>>>>                     return fac**tory.Get(service);
>>>>                 })
>>>>                 .Named(typeof(**IScanProvider).FullName)
>>>>                 .AsWcfService(**new DefaultServiceModel()
>>>>                     .AddEndpoi**nts(WcfEndpoint.BoundTo(new 
>>>> Ne**tNamedPipeBinding())
>>>>                         
>>>> .At(St**ring.Concat(WcfCommonBehaviorI**nstaller.NamedPipeBaseAddress,** 
>>>> "Scan"))))
>>>>
>>>>
>>>>
>>>> the body of UsingFactoryMethod is not very important. Important is the 
>>>> fact that I am resolving the desired service using factory outside of CW 
>>>> and WCF facility has problem with it. I am getting this exception:
>>>>
>>>> *"The contract name 'TerminalServer.Contracts.Scans.IScanProvider' 
>>>> could not be found in the list of contracts implemented by the service 
>>>> 'Castle.Core.Internal.LateBoundComponent'."*
>>>> *
>>>> *
>>>> Any ideas why? Thanks.
>>>>
>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "Castle Project Users" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to castle-project-users+**unsubscr...@googlegroups.com.
>>>> To post to this group, send email to castle-pro...@**googlegroups.com.
>>>> Visit this group at http://groups.google.com/**
>>>> group/castle-project-users<http://groups.google.com/group/castle-project-users>
>>>> .
>>>> For more options, visit 
>>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>>>> .
>>>>  
>>>>  
>>>>  
>>>>  
>>>>   -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Castle Project Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to castle-project-users+unsubscr...@googlegroups.com<javascript:>
>>> .
>>> To post to this group, send email to 
>>> castle-pro...@googlegroups.com<javascript:>
>>> .
>>> Visit this group at http://groups.google.com/group/castle-project-users.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>  
>>>  
>>>
>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Castle Project Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to castle-project-users+unsubscr...@googlegroups.com <javascript:>.
>> To post to this group, send email to 
>> castle-pro...@googlegroups.com<javascript:>
>> .
>> Visit this group at http://groups.google.com/group/castle-project-users.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to castle-project-users+unsubscr...@googlegroups.com.
To post to this group, send email to castle-project-users@googlegroups.com.
Visit this group at http://groups.google.com/group/castle-project-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to