When you add a Service Reference VS creates a proxy class which can be 
debugged.  However, WCF facility just uses Channel Factories directly which are 
pare of the framework

Sent from my iPhone

On Dec 8, 2012, at 8:03 AM, Nicolás Sabena <[email protected]> wrote:

> Hi. I have a question about the Wcf Integration Facility.
>  
> I have a simple Visual Studio solution with 2 projects:
> - a WCF Service Application (just the simple service the template makes, no 
> WCF Facility or Castle)
> - a client project (a test unit project in this case)
>  
> In the client project I add a service reference (Add Service Reference...) 
> and try this:
>  
>             var service = new ServiceReference1.Service1Client();
>             service.GetData(3);
>  
> I can start the client debugging and when I reach the call to the service I 
> can step into (F11) the service code.
>  
> However, if I use the Wcf Integration Facility on the client side:
>  
>             var container = new WindsorContainer()
>                 .AddFacility<WcfFacility>()
>                 .Register(Component.For<ServiceReference1.IService1>()
>                               
> .AsWcfClient(DefaultClientModel.On(WcfEndpoint.FromConfiguration("BasicHttpBinding_IService1")))
>                 );
>  
>             var service = container.Resolve<ServiceReference1.IService1>();
>             service.GetData(3);
>  
> If I try to step into the call to the service (F11 when I hit the 
> "service.GetData(3)" line), it just steps over (advances to the next line).
>  
> Am I doing something wrong, or this is the only possible behavior?
>  
> Thanks,
> Nicolas
>  
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Castle Project Users" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/castle-project-users/-/UMyfQEnh9XgJ.
> 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.

Reply via email to