Skip to content

Commit

Permalink
Update SciStoreApplication.cs
Browse files Browse the repository at this point in the history
API update
  • Loading branch information
jas88 committed Oct 22, 2024
1 parent 708419c commit a07e3d7
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions SCIStorePlugin/SciStoreApplication.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
using System.ServiceModel;
using System.ServiceModel.Description;

namespace SciStoreApplication.Properties
{
internal sealed class Settings : System.Configuration.ApplicationSettingsBase
Expand Down Expand Up @@ -22139,17 +22142,17 @@ public SCIStoreServicesClient()
}

public SCIStoreServicesClient(string endpointConfigurationName) :
base(endpointConfigurationName)
base(new ServiceEndpoint(new ContractDescription(endpointConfigurationName)))
{
}

public SCIStoreServicesClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress)
this(endpointConfigurationName, new EndpointAddress(remoteAddress))
{
}

public SCIStoreServicesClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress)
this(new ServiceEndpoint(new ContractDescription(endpointConfigurationName)).Binding, remoteAddress)
{
}

Expand Down

0 comments on commit a07e3d7

Please sign in to comment.