← All recipes
Moderne licensed

Find IAuthenticationManager usage

Recipe IDOpenRewrite.Recipes.CSharp.Migration.Dotnet.AspNetCore2.FindIAuthenticationManagerArtifactOpenRewrite.Recipes.CSharp.Migration.Dotnet

Flags 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.FindIAuthenticationManager

If the recipe isn’t available locally, install it with:

mod config recipes nuget install OpenRewrite.Recipes.CSharp.Migration.Dotnet