This is the code repository for .Net MAUI for C# Developers , published by Packt.
Build cross-platform mobile and desktop applications
With .NET MAUI for C# Developers, you’ll learn to create cross-platform apps for iOS, Android, Windows, and Mac by writing the code once and leveraging the application to automatically produce native code for each. With the help of this book, you’ll be well prepared to build commercial MAUI programs that integrate into the overall .NET suite of application tools. All the applications that you’ll use will be open-source and cost-efficient.
This book covers the following exciting features:
- Explore the fundamentals of creating .NET MAUI apps with Visual Studio
- Understand XAML as the key tool for building your user interface
- Obtain and display data using layout and controls
- Discover the MVVM pattern to create robust apps
- Acquire the skills for storing and retrieving persistent data
- Use unit testing to ensure your app is solid and reliable
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:
<VerticalStackLayout x:Name="LoginStackLayout">
<HorizontalStackLayout WidthRequest="300">
<Label
Style="{StaticResource LargeLabel}"
Text="User Name" />
Following is what you need for this book: Learning .NET MAUI is targeted squarely at C# programmers, whether or not they have experience with cross-platform or mobile applications, who wish to learn Microsoft's premier platform for building iOS, Android, Windows and Mac apps using a single C#-based solution.
With the following software and hardware list you can run all code files present in the book (Chapter 1-11).
Chapter | Software required | OS required |
---|---|---|
1-11 | .NET MAUI | Windows, Mac OS X, and Linux (Any) |
1-11 | .NET MAUI Community Toolkit | 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 31: The technical requirement section requires the .NET MAUI Community Toolkit be added as a NuGet package.
Page 36(line 11):You should use chain UseMauiCommunityToolkitMarkup to UseMauiCommunityToolkit in the builder [1]." There is no bracketed 1, i.e. [1], in the code section directly preceding this sentence.
Page 36(line 18):new Entry().Size(400,40); it should be 400 instead of 200
Page 39: Setting up MVMM should be Setting up MVVM
-
High-Performance Programming in C# and .NET [Packt] [Amazon]
-
Parallel Programming and Concurrency with C# 10 and .NET 6 [Packt] [Amazon]
Jesse Liberty specializes in C#, .NET MAUI, and Git. He is a certifi ed Xamarin developer, a Xamarin MVP, and a Microsoft MVP. Liberty hosts the popular Yet Another Podcast (jesseliberty.com) and he is the author of more than a dozen best-selling programming books (http://surl.li/fljbq). Jesse was a technical evangelist for Microsoft , a distinguished soft ware engineer at AT&T, a soft ware architect for PBS, and vice president of information technology at Citibank, and he was on the teaching staff at Brandeis University. He is a recognized expert and has spoken at conferences worldwide.
Rodrigo Juarez is a full stack and Xamarin/MAUI developer. He has over 25 years of experience in a wide variety of projects in the development of applications for web, desktop, and mobile using Microsoft technologies in areas such as management, services, insurance, pharmacy, health, and banking
If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.