[
https://issues.apache.org/jira/browse/THRIFT-6202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jens Geyer resolved THRIFT-6202.
--------------------------------
Fix Version/s: 0.25.0
Resolution: Fixed
> Drop netstandard2.0 and netstandard2.1 targets from ApacheThrift.AspNetCore
> ---------------------------------------------------------------------------
>
> Key: THRIFT-6202
> URL: https://issues.apache.org/jira/browse/THRIFT-6202
> Project: Thrift
> Issue Type: Improvement
> Components: netstd - Library
> Reporter: Sylwester Lachiewicz
> Assignee: Jens Geyer
> Priority: Minor
> Labels: Breaking-Change
> Fix For: 0.25.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> With THRIFT-4534, the ASP.NET Core HTTP server transport was moved into a
> separate package (`ApacheThrift.AspNetCore`).
> Currently, `ApacheThrift.AspNetCore` targets
> `netstandard2.1;netstandard2.0;net8.0;net9.0;net10.0`.
> Because Microsoft discontinued ASP.NET Core support on .NET Standard after
> 2.x (moving ASP.NET Core into the `Microsoft.AspNetCore.App` shared framework
> in .NET Core 3.0+), supporting `netstandard2.0` and `netstandard2.1` forces
> `ApacheThrift.AspNetCore` to reference legacy standalone packages
> (`Microsoft.AspNetCore.Http.Abstractions`). Furthermore, .NET Core 2.1 (the
> last runtime hosting ASP.NET Core via .NET Standard) reached End-of-Life in
> August 2021.
> Dropping `netstandard2.0` and `netstandard2.1` from `ApacheThrift.AspNetCore`
> will:
> 1. Limit `ApacheThrift.AspNetCore` to actively supported .NET runtimes
> (`net8.0`, `net9.0`, `net10.0`), referencing `<FrameworkReference
> Include="Microsoft.AspNetCore.App" />`.
> 2. Completely eliminate the dependency on
> `Microsoft.AspNetCore.Http.Abstractions` across the repository.
> 3. Simplify multi-targeting in `Thrift.AspNetCore.csproj`.
> Note: The core `ApacheThrift` library will continue targeting
> `netstandard2.0` for .NET Framework compatibility.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)