All rights reserved. No part of the contents of this book may be reproduced or transmitted in any form or by any means without the written permission of the publisher.
This book is provided "as-is" and expresses the author's views and opinions. The views, opinions, and information expressed in this book, including URL and other Internet website references, may change without notice.
Some examples depicted herein are provided for illustration only and are fictitious. No real association or connection is intended or should be inferred.
Microsoft and the trademarks listed at https://www.microsoft.com on the "Trademarks" webpage are trademarks of the Microsoft group of companies.
Mac and macOS are trademarks of Apple Inc.
All other marks and logos are property of their respective owners.
This book originated from the excellent Enterprise Application Patterns using Xamarin.Forms eBook by David Britch and Javier Suarez Ruiz. Without their hard work, detailed information, and excellent examples, this book would not be possible.
Introduction
Enterprise applications face a number of difficult problems to solve including ever changing business requirements, the need for quick turn around time, support for multiple platforms, and integration with multiple systems. Due to the varying nature of these problems, it's important that our application's architecture allows it to be modular, modifiable and extensible over time.
This book takes provides real world solutions for addressing these issues when building an enterprise application using .NET MAUI. This book uses a pre-built .NET MAUI application that serves as the front-end of an online eCommerce application as a reference and a guide for common enterprise design patterns. This book covers topics such as the MVVM pattern, dependency injection, navigation, configuration, the loose-coupling of components and additional enterprise concerns. The content of this book is helpful for anyone looking to build a new application for this business or looking to solve the problems of applications that evolve over time.
Who should use the book
This book is for .NET MAUI developers that are already familiar with the framework, but that are looking for guidance on architecture and implementation when building enterprise applications. This book can help developers solve common problems using tried and true patterns.
How to use the book
This book focuses on building cross-platform enterprise apps using .NET MAUI. As such, it should be read in its entirety to provide a foundation of understanding such apps and their technical considerations. The book, along with its sample app, can also serve as a starting point or reference for creating a new enterprise app. Use the associated sample app as a template for the new app, or to see how to organize an app's component parts. Then, refer back to this guide for architectural guidance. You can find the sample app on GitHub.
What this book doesn't cover
This book is aimed at readers who are already familiar with .NET MAUI. It does cover some concepts of .NET MAUI to help better illustrate the topic, but it does not cover most controls and concepts in any detail. For general guidance on building a new .NET MAUI app, please refer to the Building your first app guide in the .NET MAUI documentation.
Additional resources
For official .NET MAUI content, see .NET MAUI docs. .NET MAUI is developed as an open-source project and is available on GitHub at dotnet/maui. For code samples developed with .NET MAUI, see the dotnet/maui-samples repo.
Send your feedback
This book and related samples are constantly evolving, so your feedback is welcomed. If you have comments about how this book can be improved and you're reading this book on <learn.microsoft.com>, use the Feedback section at the bottom of the page:
As highlighted in the preceding screen capture, the feedback section allows you to submit feedback for:
This product: using the .NET product feedback form.
This page: using a GitHub issue template with the page details.
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Zpětná vazba k produktu .NET
.NET je open source projekt. Vyberte odkaz pro poskytnutí zpětné vazby:
Build end-to-end solutions in Microsoft Azure to create Azure Functions, implement and manage web apps, develop solutions utilizing Azure storage, and more.
.NET Multi-platform App UI (.NET MAUI) umožňuje vytvářet nativní aplikace pomocí multiplatformní sady nástrojů uživatelského rozhraní .NET, která cílí na faktory mobilních a desktopových formulářů v systémech Android, iOS, macOS, Windows a Tizen.
Přečtěte si o prostředcích, které ukazují, jak pomocí rozhraní .NET MAUI vytvářet aplikace, které běží na mobilních zařízeních a na stolních počítačích.
Zjistěte, jak vytvořit aplikaci .NET MAUI, která umožňuje ukládat a načítat poznámky. Tento kurz ukazuje vytvoření aplikace, která nepoužívá žádný kód specifický pro platformu.