Find AddMvc() calls

Proprietary

Flags AddMvc() calls that should be replaced with more specific service registrations (AddControllers, AddControllersWithViews, or AddRazorPages) in ASP.NET Core 3.0.

OpenRewrite.Recipes.CSharp.Migration.Dotnet.AspNetCore3.FindAddMvc
mod run . --recipe=OpenRewrite.Recipes.CSharp.Migration.Dotnet.AspNetCore3.FindAddMvc

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