This repo contains a sample ASP.NET Web Forms application and demonstrates the process of its incremental modernization to .NET 8 using an open-source framework DotVVM.
The migration is done in-place and most of the business logic will remain unchanged. This approach should be faster than using the side-by-side approach with two applications and YARP.
The migration also shows how to:
- Migrate Entity Framework 6 to Entity Framework Core
- Migrate ASP.NET Membership (ASP.NET Universal Providers) to ASP.NET Core Identity
The original Web Forms application is called VtipBaze (database of jokes) and was made by Michal Altair Valášek.
You can follow the individual tutorials that will guide you through the entire migration procesS:
- 01 - Run the .NET Framework version
- 02 - Install DotVVM in the project
- 03 - Migrate the master page
- 04 - Migrate the first pages
- 05 - Migrate remaining pages
- 06 - Switch database to the new .NET
- 07 - Switch web app to the new .NET
-
Install the DotVVM for Visual Studio extension. Make sure you have installed the latest updates of Visual Studio 2022 - the extension always supports only the latest stable version.
-
Check out the Cheat-sheet of differences between ASPX and DotHTML syntax.
-
Checkout the individual branches of this repo to track each step in the blog post.
-
If you have any questions, join the community at DotVVM Forum.