Upgrading a .NET Framework example app
We will now see the previously discussed concepts in action. It's time to do the hands-on exercise, folks! In this section, we will go through a step-by-step approach of migrating an example app named BookApp from .NET Framework 4.7.2 to .NET 5.
The sample code for this exercise is provided in two folders:
- The code to begin this exercise is the
netframework472
folder: https://github.com/PacktPublishing/Adopting-.NET-5--Architecture-Migration-Best-Practices-and-New-Features/tree/master/Chapter05/netframework472. - The code in its final form after being upgraded to .NET 5 is in the
net5
folder: https://github.com/PacktPublishing/Adopting-.NET-5--Architecture-Migration-Best-Practices-and-New-Features/tree/master/Chapter05/net5.
During this upgrade journey to the latest .NET platform, we will come across, review, and make decisions to resolve various issues that any typical .NET application would face during migration.
...