You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@thrift.apache.org by "Jens Geyer (Jira)" <ji...@apache.org> on 2026/09/08 22:40:00 UTC

[jira] [Resolved] (THRIFT-6202) Drop netstandard2.0 and netstandard2.1 targets from ApacheThrift.AspNetCore

     [ https://issues.apache.org/jira/browse/THRIFT-6202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jens Geyer resolved THRIFT-6202.
--------------------------------
    Resolution: Won't Fix

> 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
>            Priority: Minor
>
> 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)