Description
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