← All recipes
Moderne licensed

Find ASP.NET Web Forms usage

Recipe IDOpenRewrite.Recipes.CSharp.Migration.Dotnet.NetFramework48.FindWebFormsArtifactOpenRewrite.Recipes.CSharp.Migration.Dotnet

Finds projects that use ASP.NET Web Forms. Detects attested System.Web.UI.* usage in C# code-behind, .aspx/.ascx/.asax/.master files referenced from the .csproj, and ASP.NET web-application signals (System.Web reference, Microsoft.WebApplication.targets import, web ProjectTypeGuids, UseIISExpress/MvcBuildViews).

Single recipeaspnetsearchdotnetframeworkwebformsmigrationProprietary

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.NetFramework48.FindWebForms

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

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