Summary
In this chapter, we learned about different migration approaches and the pros and cons of each of these approaches. There is no one-size-fits-all solution. The preferred approach depends on the compatibility of the technologies involved, the size of the existing code base, and the extent of dependence on the third-party NuGet libraries.
It is not always possible to use the legacy technology, as we saw in the case of WCF Server, WWF, and Web Forms. We learned that potential technologies, such as gRPC, Blazor, and REST, can be used to replace the existing solutions in such cases.
We then migrated a sample book review app from .NET Framework to .NET 5. Most of the code was usable as it was, but we still had to make considerable changes due to behavioral differences in new versions of libraries, particularly around Entity Framework Core and ASP.NET Core usage. These changes could be applied in most real-life .NET applications that need to be migrated to .NET 5. Additionally...