.NET Maui in Action (Final)

Автор: literator от 10-10-2023, 20:33, Коментариев: 0

Категория: КНИГИ » ПРОГРАММИРОВАНИЕ

Название: .NET Maui in Action (Final)
Автор: Matt Goldman
Издательство: Manning Publications
Год: 2023
Страниц: 721
Язык: английский
Формат: epub (true), mobi
Размер: 26.6 MB

Build cross-platform apps with .NET MAUI! This exciting new technology helps you create mobile and desktop apps using a common set of .NET tools.

.NET MAUI in Action teaches you to build cross-platform applications with the skills you already have as a .NET developer. There’s no platform-specific knowledge needed to get started; you’ll learn everything you need about Android, iOS, and more through the book’s hands-on guidance. You’ll dive straight into creating apps and rapidly progress from “Aloha World” to To-Do list apps, a movie recommender app, and even an app that sends telemetry data from the Batmobile to the Batcave!

Learn how to deliver a consistent look and feel for your apps across platforms while tailoring your user experience to relevant devices. Throughout, you’ll use the built-in controls of .NET MAUI and learn how to develop your own custom solutions. You'll soon be confidently delivering complex apps without mastering platform-specific skill sets.

NET MAUI is built bottom-up, and each layer provides APIs used to build the APIs in the layer above. The bottom layer is the platforms themselves (Android, iOS, macOS, and Windows). The next layer is the .NET run time for each platform (WinRT on Windows, Mono on everything else) built on the platforms' APIs. Above this is the .NET Base Class Library (BCL), and built upon that is the .NET abstraction of each platform's APIs available for use in .NET apps. For example, .NT for Android contains .NET abstractions of Android's APIs, usually consumed in Java or Kotlin. The .NET MAUI API is a cross-platform layer that you can use to write apps that will run on any of the supported platforms, and Handlers map the cross-platform controls and APIs to their platform-specific counterparts at build time. Meanwhile, your code is written top-down; you write a .NET MAUI app, and the architecture takes care of encapsulating it for lower layers.

The .NET Multiplatform App UI (MAUI) is a new framework from Microsoft for building cross-platform UI applications that target Windows, macOS, iOS and Android. With .NET MAUI, you can build a rich, interactive, native UI application that runs on any one of these platforms. With a single code base, you can build an application that supports all these platforms and share 100% of the code between them. In short, you write an application in a .NET language, and it runs without any changes on any of the target platforms. All your logic can be written in a .NET language, and your UI can be defined in either XAML or in your .NET language of choice too.

You can write code in .NET MAUI apps using your .NET language of choice (VB.Net, F# or C#). It’s possible to define your UI in code too, but only C# and F# are supported. In this book, we will be using C# to write our logic and XAML for defining our UI (although there will be some exceptions) as these are the most common approaches. It should be possible to adapt the C# code to another language, but I would recommend working through the examples in the book in C# first.

Who should read this book?
.NET MAUI in Action is written for .NET developers who want to explore this new technology to build mobile and desktop apps. You won’t need any previous experience, although some experience building UI apps of any kind, even web, will be beneficial for some of the more abstract concepts. If you’ve previously worked with Xamarin.Forms, you’ll immediately appreciate how much easier .NET MAUI is, and this book will walk you through all the differences in one concise, procedural volume (rather than having to wade through piecemeal docs or blog posts). While you don’t need to know anything about mobile or desktop development, the book focuses on using existing C# and .NET skills, so you should be comfortable building software in C# already. By the end of the book, you’ll be comfortable building mobile and desktop apps too.

Скачать .NET Maui in Action (Final)








Нашел ошибку? Есть жалоба? Жми!
Пожаловаться администрации
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.
Информация
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.