Obsoleted and removed APIs

Several APIs have been either removed or marked as obsolete.

Version introduced

ASP.NET Core 6.0

Old behavior

In ASP.NET Core 5.0 and previous versions, the APIs weren't removed or obsolete.

New behavior

The APIs are removed or obsoleted.

Reason for change

The APIs are either no longer used or don't function anymore.

Use the recommended replacement APIs.

Affected APIs