← All recipes
Moderne licensed

Migrate ASP.NET Framework to ASP.NET Core

Recipe IDOpenRewrite.Recipes.CSharp.Migration.Dotnet.AspNet.UpgradeAspNetFrameworkToCoreArtifactOpenRewrite.Recipes.CSharp.Migration.Dotnet

Migrate ASP.NET Framework (System.Web.Mvc, System.Web.Http) types to their ASP.NET Core equivalents. Based on the .NET Upgrade Assistant's UA0002 and UA0010 diagnostics. See https://learn.microsoft.com/en-us/aspnet/core/migration/proper-to-2x.

Composite recipeaspnetcsharpdotnetmigrationProprietary

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.AspNet.UpgradeAspNetFrameworkToCore

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

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

Definition

This recipe runs the following recipes in order.

  • Change typeOpenRewrite.Recipes.CSharp.Migration.Dotnet.ChangeType
  • Change typeOpenRewrite.Recipes.CSharp.Migration.Dotnet.ChangeType
  • Change typeOpenRewrite.Recipes.CSharp.Migration.Dotnet.ChangeType
  • Change typeOpenRewrite.Recipes.CSharp.Migration.Dotnet.ChangeType
  • Change typeOpenRewrite.Recipes.CSharp.Migration.Dotnet.ChangeType
  • Change typeOpenRewrite.Recipes.CSharp.Migration.Dotnet.ChangeType
  • Change typeOpenRewrite.Recipes.CSharp.Migration.Dotnet.ChangeType
  • Change typeOpenRewrite.Recipes.CSharp.Migration.Dotnet.ChangeType
  • Change typeOpenRewrite.Recipes.CSharp.Migration.Dotnet.ChangeType
  • Change typeOpenRewrite.Recipes.CSharp.Migration.Dotnet.ChangeType
  • Change typeOpenRewrite.Recipes.CSharp.Migration.Dotnet.ChangeType
  • Change typeOpenRewrite.Recipes.CSharp.Migration.Dotnet.ChangeType
  • Change typeOpenRewrite.Recipes.CSharp.Migration.Dotnet.ChangeType
  • Change typeOpenRewrite.Recipes.CSharp.Migration.Dotnet.ChangeType
  • Change typeOpenRewrite.Recipes.CSharp.Migration.Dotnet.ChangeType
  • Change typeOpenRewrite.Recipes.CSharp.Migration.Dotnet.ChangeType
  • Change typeOpenRewrite.Recipes.CSharp.Migration.Dotnet.ChangeType
  • Change typeOpenRewrite.Recipes.CSharp.Migration.Dotnet.ChangeType
  • Change typeOpenRewrite.Recipes.CSharp.Migration.Dotnet.ChangeType
  • Change typeOpenRewrite.Recipes.CSharp.Migration.Dotnet.ChangeType
  • Change typeOpenRewrite.Recipes.CSharp.Migration.Dotnet.ChangeType
  • Change typeOpenRewrite.Recipes.CSharp.Migration.Dotnet.ChangeType
  • Change typeOpenRewrite.Recipes.CSharp.Migration.Dotnet.ChangeType
  • Change typeOpenRewrite.Recipes.CSharp.Migration.Dotnet.ChangeType
  • Change typeOpenRewrite.Recipes.CSharp.Migration.Dotnet.ChangeType
  • Change typeOpenRewrite.Recipes.CSharp.Migration.Dotnet.ChangeType
  • Change typeOpenRewrite.Recipes.CSharp.Migration.Dotnet.ChangeType
  • Change typeOpenRewrite.Recipes.CSharp.Migration.Dotnet.ChangeType
  • Change typeOpenRewrite.Recipes.CSharp.Migration.Dotnet.ChangeType
  • Change typeOpenRewrite.Recipes.CSharp.Migration.Dotnet.ChangeType
  • Change typeOpenRewrite.Recipes.CSharp.Migration.Dotnet.ChangeType
  • Change typeOpenRewrite.Recipes.CSharp.Migration.Dotnet.ChangeType
  • Change typeOpenRewrite.Recipes.CSharp.Migration.Dotnet.ChangeType
  • Change typeOpenRewrite.Recipes.CSharp.Migration.Dotnet.ChangeType
  • Change typeOpenRewrite.Recipes.CSharp.Migration.Dotnet.ChangeType
  • Change typeOpenRewrite.Recipes.CSharp.Migration.Dotnet.ChangeType
  • Change typeOpenRewrite.Recipes.CSharp.Migration.Dotnet.ChangeType
  • Change typeOpenRewrite.Recipes.CSharp.Migration.Dotnet.ChangeType
  • Change typeOpenRewrite.Recipes.CSharp.Migration.Dotnet.ChangeType
  • Change typeOpenRewrite.Recipes.CSharp.Migration.Dotnet.ChangeType
  • Change typeOpenRewrite.Recipes.CSharp.Migration.Dotnet.ChangeType
  • Change typeOpenRewrite.Recipes.CSharp.Migration.Dotnet.ChangeType
  • Change typeOpenRewrite.Recipes.CSharp.Migration.Dotnet.ChangeType