Summary
In this chapter, we have created a solution with several different projects. We learned about the WinUI in Desktop project, the WinUI control library, .NET 5 class library, and even a WPF desktop project with .NET 5. We have discussed the advantages of separating controls and logic into multiple projects to promote reuse. We also examined the packaging project, which can be used to package and distribute any kind of Windows desktop application. You will be able to take what you have learned in this chapter to either build new WinUI projects or to start preparing your existing desktop applications for migration to WinUI.
We will continue in this vein in the next chapter when we learn about the Windows Community Toolkit, which includes XAML Islands controls with the ability to host WinUI controls in WPF and WinForms applications. You will explore this and many more controls, helpers, and extensions that the toolkit offers Windows developers.