Skip to content

Removed Microsoft.AspNetCore.Mvc.WebApiCompatShim #14963

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
analogrelay opened this issue Oct 4, 2019 · 0 comments · Fixed by #15044
Closed

Removed Microsoft.AspNetCore.Mvc.WebApiCompatShim #14963

analogrelay opened this issue Oct 4, 2019 · 0 comments · Fixed by #15044
Assignees
Labels
breaking-change Indicates a .NET Core breaking change

Comments

@analogrelay
Copy link

Removed Microsoft.AspNetCore.Mvc.WebApiCompatShim

The Microsoft.AspNetCore.Mvc.WebApiCompatShim (WebApiCompatShim) package provides partial compatibility in ASP.NET Core with ASP.NET Web API 2 to simplify migrating existing Web API implementations to ASP.NET Core. However, apps using the WebApiCompatShim do not benefit from the API related features shipping in recent ASP.NET Core releases, such as improved Open API Spec generation, standardized error handling, and client code generation. To better focus our API efforts in 3.0, we plan to remove WebApiCompatShim. We recommend that existing applications using the WebApiCompatShim migrate to the newer [ApiController] model.

Version introduced

3.0

Old behavior

The Microsoft.AspNetCore.Mvc.WebApiCompatShim package was available.

New behavior

The Microsoft.AspNetCore.Mvc.WebApiCompatShim package is no longer available.

Reason for change

The Web API compatibility shim was a migration tool and restricts user access to new functionality added in ASP.NET Core.

Recommended action

Remove usage of this shim and migrate directly to the similar functionality in ASP.NET Core itself.

Category

  • ASP.NET Core

Affected APIs

  • All APIs in the Microsoft.AspNetCore.Mvc.WebApiCompatShim package

Issue metadata

  • Issue type: breaking-change
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change Indicates a .NET Core breaking change
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants