I've got the following test that I need to make pass:
 [TestMethod]
 public void DiscoveredProxy()
 {
    var container = new WindsorContainer();
    container.AddFacility<WcfFacility>();
    var x = container.Resolve<IBugService>();
    Assert.IsNotNull(x);
 }

I have a WCF service running on my local machine that implements 
IBugService and is discoverable.  Ideally I'd make this test pass by 
somehow telling the WCF facility to discover components it doesn't have a 
configuration for (in the app.config), but I can't figure out how to do 
that.  Is this possible without writing my own facility?

Alternatively, I'd be ok with adding app.config entries for each service, 
but I can't get the client proxy resolved without passing an endpoint 
configuration name to Resolve().  Is there a way to avoid this?  It would 
make sense to me to default to the name of the type being resolved.  I've 
seen a post on here about that, but I can't tell if that code was ever 
added.

Thanks,
Nick

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/castle-project-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to