Find UseKestrel() with configuration
Recipe ID
OpenRewrite.Recipes.CSharp.Migration.Dotnet.AspNetCore2.FindUseKestrelWithConfigArtifactOpenRewrite.Recipes.CSharp.Migration.DotnetFlags UseKestrel calls with configuration lambdas that should be replaced with ConfigureKestrel to avoid conflicts with the IIS in-process hosting model.
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.FindUseKestrelWithConfigIf the recipe isn’t available locally, install it with:
mod config recipes nuget install OpenRewrite.Recipes.CSharp.Migration.Dotnet