Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 2.04 KB

web_forms.md

File metadata and controls

33 lines (25 loc) · 2.04 KB
title description author ms.author ms.date uid
Learn to upgrade from ASP.NET Web Forms to ASP.NET Core
Learn how to upgrade an ASP.NET Web Forms project to ASP.NET Core
rick-anderson
riande
03/07/2017
migration/web_forms

Upgrade an ASP.NET Framework Web Forms app to ASP.NET Core MVC

:::moniker range=">= aspnetcore-7.0"

This article shows how to upgrade an ASP.NET Framework Web Forms to ASP.NET Core MVC using the Visual Studio .NET Upgrade Assistant and the incremental update approach.

If your .NET Framework project has supporting libraries in its solution that are required, they should be upgraded to .NET Standard 2.0, if possible. For more information, see Upgrade supporting libraries.

  1. Install the .NET Upgrade Assistant Visual Studio extension.
  2. Open the ASP.NET Web Forms solution in Visual Studio.
  3. In Solution Explorer, right click on the project to upgrade and select Upgrade. Select Side-by-side incremental project upgrade, which is the only upgrade option.
  4. For the upgrade target, select New project.
  5. Name the project and select the ASP.NET Core template and then select Next
  6. Select the target framework version and then select Next. For more information, see .NET and .NET Core Support Policy.
  7. Select Done, then select Finish.
  8. The Summary step displays <Framework Project> is now connected to <Framework ProjectCore> via Yarp proxy..
  9. Select the component to upgrade, then select Upgrade selection.

Incremental update

Follow the steps in Get started with incremental ASP.NET to ASP.NET Core migration to continue the update process.

:::moniker-end

[!INCLUDE]