Migrate to ASP.NET Core 2.0

Proprietary

Migrate ASP.NET Core 1.x projects to ASP.NET Core 2.0, applying authentication and Identity changes. See https://learn.microsoft.com/en-us/aspnet/core/migration/1x-to-2x/identity-2x.

OpenRewrite.Recipes.CSharp.Migration.Dotnet.AspNetCore2.UpgradeToAspNetCore20
mod run . --recipe=OpenRewrite.Recipes.CSharp.Migration.Dotnet.AspNetCore2.UpgradeToAspNetCore20

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

Recipe list

It runs these recipes, in this order.

  1. Replace UseIdentity() with UseAuthentication()
  2. Use HttpContext authentication extensions
  3. Use GetExternalAuthenticationSchemesAsync()
  4. Change type
  5. Change type
  6. Find IAuthenticationManager usage
  7. Change type