Migrate ApiController to ControllerBase
ProprietaryReplace ApiController base class (from the removed WebApiCompatShim) with ControllerBase and add the [ApiController] attribute. The shim was removed in ASP.NET Core 3.0.
OpenRewrite. Recipes. CSharp. Migration. Dotnet. Net3_0. UseApiControllerBasemod run . --recipe= OpenRewrite. Recipes. CSharp. Migration. Dotnet. Net3_0. UseApiControllerBaseInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.