Find UseMvc/AddMvc usage (replaced in ASP.NET Core 3.0)

Proprietary

Finds usages of app.UseMvc(), app.UseMvcWithDefaultRoute(), and services.AddMvc() which should be migrated to endpoint routing and more specific service registration in ASP.NET Core 3.0.

OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net3_0.FindUseMvc
mod run . --recipe=OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net3_0.FindUseMvc

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.