Find IAuthenticationManager usage
Recipe ID
OpenRewrite.Recipes.CSharp.Migration.Dotnet.AspNetCore2.FindIAuthenticationManagerArtifactOpenRewrite.Recipes.CSharp.Migration.DotnetFlags references to IAuthenticationManager which was removed in ASP.NET Core 2.0. Use HttpContext extension methods from Microsoft.AspNetCore.Authentication instead.
Single recipecsharpsearchaspnetcoremigrationProprietary
Usage
This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.
mod run . --recipe OpenRewrite.Recipes.CSharp.Migration.Dotnet.AspNetCore2.FindIAuthenticationManagerIf the recipe isn’t available locally, install it with:
mod config recipes nuget install OpenRewrite.Recipes.CSharp.Migration.Dotnet