Skip to content

Commit 5b45063

Browse files
committed
change .net 8 to wcf 8
1 parent 99a362e commit 5b45063

File tree

3 files changed

+9
-19
lines changed

3 files changed

+9
-19
lines changed

docs/core/compatibility/8.0.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -155,12 +155,6 @@ If you're migrating an app to .NET 8, the breaking changes listed here might aff
155155
| [PublishedTrimmed projects fail reflection-based serialization](serialization/8.0/publishtrimmed.md) | Behavioral change |
156156
| [Reflection-based deserializer resolves metadata eagerly](serialization/8.0/metadata-resolving.md) | Behavioral change |
157157

158-
## WCF client
159-
160-
| Title | Type of change |
161-
|------------------------------------------------------------------------------------------------------|----------------------------|
162-
| [Removal of WCF APIs with a `configurationName` parameter](wcf-client/8.0/configurationname-apis.md) | Source/binary incompatible |
163-
164158
## Windows Forms
165159

166160
| Title | Type of change |

docs/core/compatibility/toc.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -326,10 +326,6 @@ items:
326326
href: serialization/8.0/publishtrimmed.md
327327
- name: Reflection-based deserializer resolves metadata eagerly
328328
href: serialization/8.0/metadata-resolving.md
329-
- name: WCF client
330-
items:
331-
- name: Removal of WCF APIs with a `configurationName` parameter
332-
href: wcf-client/8.0/configurationname-apis.md
333329
- name: Windows Forms
334330
items:
335331
- name: Anchor layout changes
@@ -1986,7 +1982,7 @@ items:
19861982
href: visualbasic.md
19871983
- name: WCF Client
19881984
items:
1989-
- name: .NET 8
1985+
- name: "8.0"
19901986
items:
19911987
- name: Removal of WCF APIs with a `configurationName` parameter
19921988
href: wcf-client/8.0/configurationname-apis.md

docs/core/compatibility/wcf-client/8.0/configurationname-apis.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,38 @@
11
---
22
title: "Removal of WCF APIs with a `configurationName` parameter"
3-
description: Learn about the breaking change in .NET 8 where the WCF APIs that accept a `configurationName` parameter have been removed.
3+
description: Learn about the breaking change in WCF 8 where the APIs that accept a `configurationName` parameter have been removed.
44
ms.date: 11/13/2024
55
ai-usage: ai-assisted
66
ms.custom: https://github.com/dotnet/docs/issues/43111
77
---
88

99
# Removal of WCF APIs with a `configurationName` parameter
1010

11-
The WCF APIs that accept either a `configurationName` parameter or an `endpointConfigurationName` parameter have been removed in .NET 8. These APIs were previously used in .NET Framework to load client configuration parameters such as the `Binding` configuration and the `EndpointAddress` details.
11+
The WCF APIs that accept either a `configurationName` parameter or an `endpointConfigurationName` parameter have been removed in WCF 8. These APIs were previously used in .NET Framework to load client configuration parameters such as the `Binding` configuration and the `EndpointAddress` details.
1212

1313
## Version introduced
1414

15-
.NET 8 GA
15+
WCF Client 8.0 GA
1616

1717
## Previous behavior
1818

19-
The removed APIs were previously suppressed from IntelliSense suggestions. Using any of the removed APIs resulted in a <xref:System.PlatformNotSupportedException> being thrown.
19+
The removed APIs were previously suppressed from IntelliSense suggestions, however, projects that used them compiled successfully. Using any of the removed APIs resulted in a <xref:System.PlatformNotSupportedException> at run time.
2020

2121
## New behavior
2222

23-
The APIs no longer exist. If you upgrade to .NET 8 and recompile your code, it will fail.
23+
The [affected APIs](#affected-apis) no longer exist. If you upgrade to WCF 8 and recompile your project, it will fail.
2424

2525
## Type of breaking change
2626

27-
This change is a [binary incompatible](../../categories.md#binary-incompatible) and [source incompatible](../../categories.md#source-incompatible) change.
27+
This change is a [binary incompatible](../../categories.md#binary-compatibility) and [source incompatible](../../categories.md#source-compatibility) change.
2828

2929
## Reason for change
3030

31-
These APIs were never implemented on .NET and any calls to these APIs previously resulted in a run-time exception.
31+
The [affected APIs](#affected-apis) were never implemented on .NET, and any calls to these APIs previously resulted in a run-time exception. Thus the decision was made to remove them completely.
3232

3333
## Recommended action
3434

35-
Remove any usage of these APIs.
35+
Remove any usage of the [affected APIs](#affected-apis).
3636

3737
If you're using a WCF client generated by the `svcutil` utility from the .NET Framework SDK, the generated client will have constructors that call base class constructors that have been removed. The base class will be either <xref:System.ServiceModel.ClientBase`1> or <xref:System.ServiceModel.DuplexClientBase`1>. The generated constructors were unusable on .NET as they resulted in a `PlatformNotSupportedException` being thrown.
3838

0 commit comments

Comments
 (0)