Skip to content

Commit 46fe6df

Browse files
authored
Updating to GA version of CoreWCF UDS which fixes package dependency issues (#5344)
1 parent fe8bfd5 commit 46fe6df

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/System.Private.ServiceModel/tests/Scenarios/Binding/UDS/Binding.UDS.IntegrationTests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="CoreWCF.UnixDomainSocket" Version="1.5.0-preview1" />
10+
<PackageReference Include="CoreWCF.UnixDomainSocket" Version="1.5.0" />
1111
<FrameworkReference Include="Microsoft.AspNetCore.App" />
1212
</ItemGroup>
1313

src/System.Private.ServiceModel/tests/Scenarios/Binding/UDS/UDSBindingTests.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ public void ConfigureServices(IServiceCollection services)
193193

194194
public void Configure(IHost host)
195195
{
196-
CoreWCF.UnixDomainSocketBinding serverBinding = new CoreWCF.UnixDomainSocketBinding(CoreWCF.SecurityMode.None);
196+
CoreWCF.UnixDomainSocketBinding serverBinding = new CoreWCF.UnixDomainSocketBinding(CoreWCF.UnixDomainSocketSecurityMode.None);
197197
host.UseServiceModel(builder =>
198198
{
199199
builder.AddService<EchoService>();
@@ -218,7 +218,7 @@ public void Configure(IHost host)
218218
{
219219
Security = new CoreWCF.UnixDomainSocketSecurity
220220
{
221-
Mode = CoreWCF.SecurityMode.Transport,
221+
Mode = CoreWCF.UnixDomainSocketSecurityMode.Transport,
222222
Transport = new CoreWCF.UnixDomainSocketTransportSecurity
223223
{
224224
ClientCredentialType = CoreWCF.UnixDomainSocketClientCredentialType.Windows,
@@ -247,7 +247,7 @@ public void Configure(IHost host)
247247
{
248248
Security = new CoreWCF.UnixDomainSocketSecurity
249249
{
250-
Mode = CoreWCF.SecurityMode.Transport,
250+
Mode = CoreWCF.UnixDomainSocketSecurityMode.Transport,
251251
Transport = new CoreWCF.UnixDomainSocketTransportSecurity
252252
{
253253
ClientCredentialType = CoreWCF.UnixDomainSocketClientCredentialType.Certificate,
@@ -286,10 +286,10 @@ public void Configure(IHost host)
286286
{
287287
Security = new CoreWCF.UnixDomainSocketSecurity
288288
{
289-
Mode = CoreWCF.SecurityMode.Transport,
289+
Mode = CoreWCF.UnixDomainSocketSecurityMode.TransportCredentialOnly,
290290
Transport = new CoreWCF.UnixDomainSocketTransportSecurity
291291
{
292-
ClientCredentialType = CoreWCF.UnixDomainSocketClientCredentialType.IdentityOnly,
292+
ClientCredentialType = CoreWCF.UnixDomainSocketClientCredentialType.PosixIdentity,
293293
},
294294
},
295295
};

0 commit comments

Comments
 (0)