Awesome! It worked. I did this to get the client to be config-free as well:


            container
                .AddFacility<WcfFacility>()
                .Register(Types.FromAssemblyContaining<IMyService>()
                              .Where(t => t.Name.EndsWith("Service"))
                              .Configure(c => c.AsWcfClient(
                                  WcfEndpoint
                                      .BoundTo(new BasicHttpBinding() { 
                                          Security = 
                                          {
                                              Mode = 
BasicHttpSecurityMode.TransportCredentialOnly, 
                                              Transport = { 
ClientCredentialType = HttpClientCredentialType.Windows }
                                          } 
                                      })
                                      
.At(ServiceNameHelper.GetServiceEndpoint(c.Implementation)))));

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Development List" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/castle-project-devel/-/_wNyVkPH9-gJ.
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-devel?hl=en.

Reply via email to