For a limited period, all eBooks and Videos are only $10. All the practical content you need - by developers, for developers
This is the code repository for Learn WinUI 3.0, published by Packt.
Leverage the power of WinUI, the future of native Windows application development
This book covers the following exciting features:
- Get up and running with WinUI and discover how it fits into the landscape of Project Reunion and Windows UI development
- Build new Windows apps quickly with robust templates
- Develop testable and maintainable apps using the MVVM pattern
- Modernize WPF and WinForms applications with WinUI and XAML Islands
- Discover how to build apps that can target Windows and leverage the power of the web
- Install the XAML Controls Gallery sample app and explore available WinUI controls
If you feel this book is for you, get your copy today!
All of the code is organized into folders. For example, Chapter02.
The code will look like the following:
while (query.Read())
{
var medium = new Medium
{
Id = query.GetInt32(0),
Name = query.GetString(1),
MediaType = (ItemType)query.GetInt32(2)
};
Following is what you need for this book: This book is for anyone who wants to develop Windows applications with a modern user experience (UX). If you are familiar with UWP and WPF and are looking to enhance your knowledge of Windows development and modernize existing apps, you will find this book useful. Hands-on experience with C# and .NET is expected but no prior knowledge of WinUI is required.
With the following software and hardware list you can run all code files present in the book (Chapter 1-14).
Chapter | Software required | OS required |
---|---|---|
1-14 | Visual Studio 2019, WinUI 3.0 templates | Windows, Mac OS X, and Linux (Any) |
We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.
- Page 12: The sentence "The first ColumnDefinition has its Height set to Auto, and the second has Height="*"." must be read as "The first ColumnDefinition has its Width set to Auto, and the second has Width="*"."
- Page 30: The sentence "For instance, applications targeting difference versions of .NET Core can be deployed side by side on a machine without creating version conflicts." must be read as "For instance, applications targeting different versions of .NET Core can be deployed side by side on a machine without creating version conflicts."
- Page 43: The Third point "OnSuspended" must be read as "OnSuspending"
- Page 47: The sentence "To add a new folder to the project, right-click on the MyMediaCollection project in Solution Explorer and select Add | New Folder." must be read as "To add a new folder to the project, right-click on the Enums folder in Solution Explorer and select Add | New Folder."
- Page 78: The sentence "From this, you can derive that there is a markup extension class named Binding and that two of its properties are Path and Mode." must be read as "From this, you can derive that there is a markup extension class named Bind and that two of its properties are Path and Mode."
- Page 78: The sentence "WPF and Xamarin have custom markup extensions, but UWP and WinUI do not." must be read as "WPF and Xamarin have custom markup extensions."
- Page 92: The sentence "We added a unit test project to the solution with a suite of five unit tests, covering a majority of the MainViewModel logic." is not valid
- Page 378: The sentence "The file is created in Ain't Markup Language (YAML) format.YAML files are becoming very popular for DevOps workflows." must be read as "The file is created in YAML Ain't Markup Language (YAML) format.YAML files are becoming very popular for DevOps workflows."
Alvin Ashcraft is a software engineer and developer community champion with over 25 years of experience in software development. Working primarily with Microsoft Windows, web, and cloud technologies, his career has focused primarily on the healthcare industry. He has been awarded as a Microsoft MVP 11 times, most recently as a Windows Dev MVP. Alvin works in the Philadelphia area for Allscripts, a global healthcare software company, as a principal software engineer. He is also a board member of the TechBash Foundation, where he helps organize the annual TechBash developer conference. He has previously worked for companies such as Oracle, Genzeon, CSC, and ITG Pathfinders. Originally from the Allentown, PA area, Alvin currently resides in West Grove, PA with his wife and three daughters.