我有以下安装程序:
var endPoint = WcfEndpoint.FromConfiguration("IExternalService");
//Add Authentication Token
endPoint.AddExtensions(new ExternalServiceEndpointBehavior());
container.Register(
Component
.For<IExternalService>()
.AsWcfClient(DefaultClientModel.On(endPoint))
.LifestylePerWcfOperation()
);
如何注册相同的服务但具有不同的扩展名,只能在某些地方解决?