While I'm registering a new WCF endpoint, I don't know what a URI is ...
public void Install(IWindsorContainer container, IConfigurationStore store)
{
var defaultClientModel = new DefaultClientModel
{
Endpoint = WcfEndpoint
.ForContract<IMyService>()
.BoundTo(new WSHttpBinding(SecurityMode.None))
.At( URI??? )
};
container.Register(WcfClient.ForChannels(defaultClientModel));
}
Is there a way to get the URI from the container while requesting an IMyService instance (this is when it is known)?
Is there a factory method / dynamic parameter that can be used?
source
share