Skip to content

WebRequest deprecation - #20310

Merged
gewarren merged 6 commits into
dotnet:mainfrom
aik-jahoda:jajahoda/servicepointcert
Apr 26, 2021
Merged

gewarren merged 6 commits into
dotnet:mainfrom
aik-jahoda:jajahoda/servicepointcert

Conversation

@aik-jahoda

@aik-jahoda aik-jahoda commented Aug 27, 2020 •

Copy link
Copy Markdown
Contributor

Summary

Deprecation of WebRequest

Preview link

Part of dotnet/runtime#33125


### .NET Core 2.0

[!INCLUDE [behavior-change-webclient-cancelasync](../../../includes/core-changes/networking/2.0/behavior-change-webclient-cancelasync.md)]

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider merge behavior-change-webclient-cancelasync.md chapter with behavior-change-webrequest-deprecate.md

@aik-jahoda

Copy link
Copy Markdown
Contributor Author

@gewarren @karelz, this is potentially sensitive topic and need explain reasons why we decided to deprecate WebRequest api. Can you please review this draft and add suggestions how to send correct message to customers?

@scalablecory scalablecory mentioned this pull request Aug 27, 2020
4 tasks done
Comment thread docs/core/compatibility/3.1-5.0.md Resolved
Comment thread docs/core/compatibility/3.1-5.0.md Outdated

- [WinHttpHandler removed from .NET runtime](#winhttphandler-removed-from-net-runtime)
- [MulticastOption.Group doesn't accept a null value](#multicastoptiongroup-doesnt-accept-a-null-value)
- [WebRequest, WebClient and ServicePoint are deprecated](#webrequest-webclient-and-servicepoint-are-deprecated)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- [WebRequest, WebClient and ServicePoint are deprecated](#webrequest-webclient-and-servicepoint-are-deprecated)
- [WebRequest, WebClient, and ServicePoint are deprecated](#webrequest-webclient-and-servicepoint-are-deprecated)

Comment thread docs/core/compatibility/fx-core.md Resolved
@BillWagner BillWagner modified the milestones: August 2020, September 2020 Sep 1, 2020
@gewarren

gewarren commented Sep 2, 2020

Copy link
Copy Markdown
Collaborator

@IEvangelist

Copy link
Copy Markdown
Member

Hi @aik-jahoda - is this still relevant or needed? This is still marked as a draft.

@aik-jahoda
aik-jahoda force-pushed the jajahoda/servicepointcert branch from 17cd59b to 17bd6db Compare February 16, 2021 16:54
@aik-jahoda

Copy link
Copy Markdown
Contributor Author

@IEvangelist yep, it is still valid, I have retargeted it to .net 6.

@karelz - this topic is important for people moving to .net 6, can you please take a look? The classes are deprecated .net 6 so we should push this forward.

@BillWagner BillWagner modified the milestones: February 2021, March 2021 Mar 5, 2021
Base automatically changed from master to main March 5, 2021 23:33
Base automatically changed from main to master March 17, 2021 17:05
Base automatically changed from master to main March 17, 2021 17:06
@BillWagner BillWagner modified the milestones: March 2021, April 2021 Mar 29, 2021
@gewarren
gewarren marked this pull request as ready for review April 26, 2021 18:33

### Category

Networking

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Core libraries feels like a valid category too, but how the docs are organized doesn't allow multiple categories. Are there any criteria to prefer one over the other?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think "Core .NET libraries" is for anything that doesn't fit in one of the other categories. So Networking is fine here.

@gewarren
gewarren merged commit 04c3392 into dotnet:main Apr 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants