The MVVM Pattern in NET MAUI

The MVVM Pattern in  NET MAUI
Author: Pieter Nijs
Publsiher: Packt Publishing Ltd
Total Pages: 386
Release: 2023-11-30
Genre: Computers
ISBN: 9781805120704

Download The MVVM Pattern in NET MAUI Book in PDF, Epub and Kindle

Gain an in-depth understanding of MVVM and .NET MAUI and learn how to effectively apply the MVVM design pattern with the help of this practical guide Key Features Get to grips with the principles and benefits of the Model-View-ViewModel design pattern Gain insights into .NET MAUI's MVVM-enabling components and effectively apply them with hands-on examples Learn data binding, navigation, and testable code techniques to create dynamic, accessible, and localized apps Purchase of the print or Kindle book includes a free PDF eBook Book DescriptionIn today's fast-paced world of modern software development, teams need to be efficient, productive, and capable of rapidly adapting to changes to deliver high-quality products, making it crucial for developers to write maintainable and easy-to-test code. The MVVM Pattern in .NET MAUI helps you to thoroughly explore the Model-View-View Model (MVVM) design pattern. The chapters show you how this pattern helps in structuring code to embrace the separation of concerns, allowing for loosely coupled user interface and application logic, which ultimately empowers you to write more robust, maintainable, and testable code. The book also highlights .NET MAUI's capabilities and features, and enables you to delve into the essential components within the framework that facilitate the application of the MVVM pattern. With the help of a sample application, this definitive guide takes a hands-on approach to walk you through both the essential and advanced usages of the MVVM pattern to ensure that you successfully apply the practical aspects of the pattern to your .NET MAUI projects. By the end of this book, you’ll have gained a comprehensive understanding of the MVVM design pattern and its relevance in the context of .NET MAUI, as well as developed the skills needed to successfully apply it in practice.What you will learn Gain a thorough understanding of the MVVM design pattern Get to grips with the components that enable MVVM in .NET MAUI Apply the MVVM pattern in practice within .NET MAUI Become proficient in data binding in .NET MAUI Discover how to navigate from within a view model Find out how to effectively write testable code and unit tests Who this book is forThis book is for developers with experience in C# and basic knowledge of .NET MAUI or Xamarin.Forms who are looking to create cross-platform applications with .NET MAUI and leverage the MVVM pattern. Through practical examples and clear explanations, this book helps both newcomers and experienced developers master the application of MVVM principles within .NET MAUI projects.

NET MAUI in Action

 NET MAUI in Action
Author: Matt Goldman
Publsiher: Simon and Schuster
Total Pages: 767
Release: 2023-10-31
Genre: Computers
ISBN: 9781638352358

Download NET MAUI in Action Book in PDF, Epub and Kindle

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. In .NET MAUI in Action you will learn how to: Set up your environment for cross-platform development Write an interactive UI in XAML using out-of-the-box controls Apply the MVVM pattern to build maintainable code Extend your control library with custom controls Structure your app using common navigation paradigms Use common device features like GPS Use DevOps tools to automate deployment and testing .NET MAUI in Action shows you how you can use the cutting-edge MAUI framework to write apps that will run on Windows, Android, macOS, and iOS platforms using your existing .NET development skills. This book reveals essential MAUI development techniques through hands-on example applications in every chapter. You’ll learn cross-platform development quickly as you start building your own rich apps, from to-do list apps, to a movie recommender app, and eventually a full-stack solution using enterprise architecture patterns. You’ll also learn how to use GitHub Actions to deploy robust, testable, and maintainable apps; and how to deliver a consistent look and feel across platforms. Throughout, you’ll use the built-in controls of .NET MAUI and learn how to develop your own custom solutions. Foreword by Kym Phillpotts. About the technology Write your app once and deploy it on mobile, desktop, web, and cloud with .NET MAUI. This powerful multi-platform App UI framework saves time and money by eliminating tedious platform-specific rewrites. You just define your project in straightforward XAML markup and C#, and MAUI generates the native applications for iOS, Android, Windows, and macOS. About the book .NET MAUI in Action teaches you how to build cross-platform applications using the .NET MAUI framework. You’ll explore compelling examples while you work your way up from “Aloha World” to a full-stack enterprise solution. Along the way, you’ll master the MVVM pattern and other essentials of mobile UI development. This practical book is perfect for .NET developers who have never created mobile apps. What's inside Write interactive UIs in XAML using out-of-the-box controls Extend your control library with custom controls Use common device features like GPS Automate deployment and testing About the reader For experienced .NET developers. No iOS or Android experience required. About the author Matt Goldman is a Solution Architect at SSW, a regular speaker at user groups and conferences, and maintains open source libraries for use in .NET MAUI apps. Table of Contents PART 1 - INTRODUCING .NET MAUI 1 Introducing .NET MAUI 2 Building a .NET MAUI app 3 Making .NET MAUI apps interactive PART 2 - VIEWS, LAYOUTS, AND CONTROLS 4 Controls 5 Layouts 6 Advanced layout concepts 7 Pages and navigation PART 3 - ENTERPRISE DEVELOPMENT PATTERNS AND PRACTICES 8 Enterprise app development 9 The MVVM Pattern 10 Styles, themes, and multiplatform layouts 11 Beyond the basics: Custom controls 12 Deploying apps to production with GitHub Actions

NET MAUI Cross Platform Application Development

 NET MAUI Cross Platform Application Development
Author: Roger Ye
Publsiher: Packt Publishing Ltd
Total Pages: 497
Release: 2024-03-25
Genre: Computers
ISBN: 9781835082843

Download NET MAUI Cross Platform Application Development Book in PDF, Epub and Kindle

Build apps using .NET MAUI and Blazor with this comprehensive, revised guide for .NET 8. Purchase of the print or Kindle book includes a free eBook in PDF format. Key Features Handle data effectively with expanded coverage on the MVVM model and data binding Integrate platform-specific code using plugins and custom controls Migrate from Xamarin.Forms to .NET MAUI for the latest hybrid app development capabilities Book DescriptionAn evolution of Xamarin.Forms, .NET MAUI is a cross-platform framework for creating native mobile and desktop apps with C# and XAML. Using .NET MAUI, you can develop apps that’ll run on Android, iOS, macOS, and Windows from a single shared codebase. In this revised edition of .NET MAUI Cross-Platform Application Development you will be introduced to .NET 8 and get up to speed with app development in no time. The book begins by showing you how to develop a cross-platform application using .NET MAUI, including guidance for migrating from Xamarin.Forms. You’ll gain all the knowledge needed to create a cross-platform application for Android, iOS, macOS, and Windows following an example project step by step. As you advance, you’ll integrate the latest frontend technology into your app using Blazor components, including the new Blazor Bindings feature. After this, you’ll learn how to test and deploy your apps. With new coverage on creating mock .NET MAUI components, you can develop unit tests for your application. You will additionally learn how to perform Razor component testing using bUnit. By the end of this book, you’ll have learned how to develop your own cross-platform applications using .NET MAUI.What you will learn Develop high-performance apps with logical user interfaces Improve the maintainability of apps using the MVVM design pattern Understand the progression from Xamarin.Forms and how to migrate to .NET Delve into templated components and Razor class libraries for crafting Blazor UI elements Publish your creations to major app stores with guidance on preparation and processes Extend your testing repertoire with bUnit for Razor components for reliable unit testing Who this book is for This book is for mobile developers interested in cross-platform application development with working experience of the .NET Core framework, as well as junior engineers who’ve just begun their career in mobile app development. Native app developers (desktop) or Xamarin developers who want to migrate to .NET MAUI will also benefit from this book. Basic knowledge of modern object-oriented programming languages, such as C#, Java or Kotlin, is assumed.

Clean Code with C

Clean Code with C
Author: Jason Alls
Publsiher: Packt Publishing Ltd
Total Pages: 492
Release: 2023-12-22
Genre: Computers
ISBN: 9781837632992

Download Clean Code with C Book in PDF, Epub and Kindle

Enhance your programming skills through code reviews, TDD and BDD implementation, and API design to overcome code inefficiency, redundancy, and other issues arising from bad code Key Features Write code that seamlessly integrates with other systems while maintaining well-defined software boundaries Understand how coding principles and standards elevate software quality Learn how to avoid common errors while implementing concurrency or threading Purchase of the print or Kindle book includes a free PDF eBook Book DescriptionTraditionally associated with Windows desktop applications and game development, C# has expanded into web, cloud, and mobile development. However, despite its extensive coding features, professionals often encounter issues with efficiency, scalability, and maintainability due to poor code. Clean Code in C# guides you in identifying and resolving these problems using coding best practices. This book starts by comparing good and bad code to emphasize the importance of coding standards, principles, and methodologies. It then covers code reviews, unit testing, and test-driven development, and addresses cross-cutting concerns. As you advance through the chapters, you’ll discover programming best practices for objects, data structures, exception handling, and other aspects of writing C# computer programs. You’ll also explore API design and code quality enhancement tools, while studying examples of poor coding practices to understand what to avoid. By the end of this clean code book, you’ll have the developed the skills needed to apply industry-approved coding practices to write clean, readable, extendable, and maintainable C# code.What you will learn Master the art of writing evolvable and adaptable code Implement the fail-pass-refactor methodology using a sample C# console application Develop custom C# exceptions that provide meaningful information Identify low-quality C# code in need of refactoring Improve code performance using profiling and refactoring tools Create efficient and bug-free code using functional programming techniques Write cross-platform code using MAUI Develop cloud-deployable microservices for versatile applications Who this book is for This coding book is for proficient C# developers, team leads, senior software engineers, and software architects who want to improve the efficiency of their legacy systems. A strong understanding of C# programming is assumed.

NET MAUI Projects

 NET MAUI Projects
Author: Michael Cummings,Daniel Hindrikes,Johan Karlsson
Publsiher: Packt Publishing Ltd
Total Pages: 630
Release: 2024-02-09
Genre: Computers
ISBN: 9781837639977

Download NET MAUI Projects Book in PDF, Epub and Kindle

Harness the powerful features of .NET MAUI, the evolution of Xamarin.Forms, to create multi-platform app projects using location services, the weather API, machine learning, and much more Key Features Leverage .NET MAUI through real-world projects, from weather apps to real-time multiplayer games with SignalR and Azure Functions Explore the essential features of .NET MAUI such as Shell, CollectionView, and CarouselView Go beyond the basics with advanced topics like machine learning using TensorFlow and ML.NET Purchase of the print or Kindle book includes a free PDF eBook Book DescriptionThis third edition of .NET MAUI Projects explores the features of .NET MAUI, a lightweight multi-platform development toolkit for building apps with a rich user interface. Updated to cover the latest features of .NET MAUI, including CollectionView and Shell, this book delves into concepts such as machine learning and cloud services. Starting with an overview of .NET Core and how it works, this book shares tips for choosing the right development environment for planning multi-platform apps. You'll then build your first .NET MAUI app and advance to learning how to use Shell to implement app architecture. Progressing in complexity, the projects guide you through creating apps, ranging from a location tracker and weather map to machine learning and multiplayer games. Further, the book will take you through modern mobile development frameworks such as SQLite, .NET Core, and ML.NET, empowering you to customize your apps for Windows, macOS, Android, and iOS platforms for native-like performance. Engaging examples are woven throughout the book so you can grasp essential concepts by writing code rather than extensive theory. By the end of this book, you'll be ready to develop your own native apps using .NET MAUI and associated technologies such as .NET Core, Visual Studio 2022, and C#.What you will learn Set up .NET MAUI to build native apps for multiple platforms using its single project capabilities Understand the core aspects of developing a mobile app, such as layout, UX, and rendering Use custom handlers for platform-specific access Discover how to create custom layouts for your apps with .NET MAUI Shell Implement serverless services in your .NET MAUI apps using Azure SignalR Create a .NET MAUI Blazor application leveraging the power of web technologies Build and train machine learning models using ML.NET and Azure Cognitive Services Who this book is for This book is for C# and .NET developers who want to learn .NET MAUI and get started with native .NET Core mobile application development from the ground up. Working knowledge of Visual Studio and C# will help you to get the most out of this book.

Learning NET MAUI

Learning  NET MAUI
Author: Aleksei Starkov
Publsiher: BPB Publications
Total Pages: 383
Release: 2023-07-17
Genre: Computers
ISBN: 9789355518804

Download Learning NET MAUI Book in PDF, Epub and Kindle

A practical guide to cross-platform app development with .NET MAUI and C# KEY FEATURES ● Get familiar with .NET MAUI, its associated libraries, and popular design patterns used in cross-platform app development. ● Learn how to design and implement visually appealing and interactive user interfaces in your .NET MAUI app. ● Deep dive into the process of creating and refining an application with a custom user interface (UI). DESCRIPTION .NET MAUI (Multi-platform App UI) is a framework developed by Microsoft that allows developers to build cross-platform mobile and desktop applications using a single codebase. This book is a comprehensive guide that covers various aspects of cross-platform development with .NET MAUI. In the initial chapters you will gain a solid understanding of the fundamental aspects and specifics of cross-platform .NET MAUI apps, their structure and the diverse range of application resources. The book will then guide you in creating your first UI application using cross-platform techniques. Moving on, you will delve into more advanced topics such as MVVM, dependency injection, data storage, leveraging device capabilities, and ensuring accessibility in your applications. Lastly, you will explore alternative approaches like Shell and Blazor Hybrid, offering flexible options for building native applications. By the end of the book, you will be able to develop cross-platform applications using .NET MAUI. WHAT YOU WILL LEARN ● Understand how .NET MAUI works. ● Build custom UI including animations and custom controls. ● Build robust distributed architecture including MVVM and DI. ● Explore different application design approaches such as Hierarchical, Shell, and Hybrid-Blazor. ● Learn how to embed the LiteDB database seamlessly into your apps. WHO THIS BOOK IS FOR This book caters to both beginners entering the world of cross-platform GUI app development with .NET and professionals who have previous experience with Xamarin. Prior knowledge of C# or a strong foundation in other programming languages is essential to comprehend and benefit from the book fully. TABLE OF CONTENTS 1. Getting Started with .NET MAUI 2. Upskill Essentials of C# 3. Exploring .NET MAUI and Its Features 4. In and Out of UI Development 5. Layering with MVVM 6. Deep Dive into UI Design 7. Essentials and Community Toolkit 8. Accessibility 9. Native Interactive Features with Shell and Blazor

Building End to End Apps with C 11 and NET 7

Building End to End Apps with C  11 and  NET 7
Author: Arun Gupta
Publsiher: BPB Publications
Total Pages: 500
Release: 2023-11-28
Genre: Computers
ISBN: 9789355516374

Download Building End to End Apps with C 11 and NET 7 Book in PDF, Epub and Kindle

Learn how to use C# 11 to build apps for any platform, from the ground up KEY FEATURES ● Discover the latest C# 11 features and improvements. ● Master C# application development in Visual Studio 2022 with engaging and relatable examples. ● Learn how to test and deploy C# applications with ease. DESCRIPTION C# 11 is the latest version of C#, a popular programming language for building cloud, web, and desktop applications. It is a powerful and versatile language that can create a wide range of applications, from simple command-line tools to complex enterprise systems. This book teaches you how to use C# 11, the latest version of C#, to build real-world applications. It introduces the new language features in C# 11, such as global using directives, file-scoped namespaces, and top-level statements. Then, it shows you how to use these features to write code that is more concise and expressive. Next, the book teaches you how to build various applications using C# 11, including web apps, mobile apps, desktop apps, and machine learning models. You'll learn to use ASP.NET Core, gRPC, Blazor, Angular, WPF, WinUI 3, .NET MAUI, and ML.NET. Throughout the book, you'll also learn the best practices for writing clean, efficient, and maintainable codes. By the end of the book, you will have a deep understanding of C# 11 and how to use it to build a wide range of cloud, web, and desktop applications. WHAT YOU WILL LEARN ● Get an overview of the new language enhancements in C# 11. ● Create simple applications from start to finish using a built-in project template step-by-step. ● Learn related concepts, and be aware of the nuances, pitfalls, and workarounds while creating each application. ● Reflect on the testing and deployment strategies for each application type. ● Challenge yourself to think deeper and learn more with end-of-chapter exercises. WHO THIS BOOK IS FOR This book is for experienced C# programmers who want to learn about the latest enhancements to the language, project types, tools, technologies, and design approaches. The book assumes readers are familiar with C# and can build applications using the .NET Platform in Visual Studio. TABLE OF CONTENTS 1. New Features in C# 11 2. ASP.NET Core Web App 3. ASP.NET Core Web API 4. gRPC Service 5. Blazor WebAssembly 6. SPA with Angular 7. WPF Application 8. WinUI 3 9. .NET MAUI 10. ML.NET

Apps and Services with NET 7

Apps and Services with  NET 7
Author: Mark J. Price
Publsiher: Packt Publishing Ltd
Total Pages: 815
Release: 2022-11-15
Genre: Computers
ISBN: 9781801810586

Download Apps and Services with NET 7 Book in PDF, Epub and Kindle

Bestselling author Mark Price is back to guide you through the coolest and most common technologies a .NET developer should know: Blazor, .NET MAUI, gRPC, GraphQL, SQL Server, Cosmos DB, OData, SignalR, Azure Functions, and more! Purchase of the print or Kindle book includes a free eBook in PDF format. Key FeaturesBuild services using a variety of technologies including Web API, OData, gRPC, GraphQL, SignalR, and Azure FunctionsLearn how to use specialized libraries to improve all aspects of your applications, including performance and localizationLeverage .NET MAUI to develop cross-platform desktop and mobile apps with easeBook Description Apps and Services with .NET 7 is for .NET 6 and .NET 7 developers who want to kick their C# and .NET understanding up a gear by learning the practical skills and knowledge they need to build real-world applications and services. It covers specialized libraries that will help you monitor and improve performance, secure your data and applications, and internationalize your code and apps. With chapters that put a variety of technologies into practice, including Web API, OData, gRPC, GraphQL, SignalR, and Azure Functions, this book will give you a broader scope of knowledge than other books that often focus on only a handful of .NET technologies. It covers the latest developments, libraries, and technologies that will help keep you up to date. You'll also leverage .NET MAUI to develop mobile apps for iOS and Android as well as desktop apps for Windows and macOS. What you will learnLearn how to build more efficient, secure, and scalable apps and servicesLeverage specialized .NET libraries to improve your applicationsImplement popular third-party libraries like Serilog and FluentValidationBuild cross-platform apps with .NET MAUI and integrate with native mobile featuresGet familiar with a variety of technologies for implementing services like gRPC and GraphQLExplore Blazor WebAssembly and use open-source Blazor component librariesStore and manage data locally and in the cloud with SQL Server and Cosmos DBWho this book is for This book is for .NET developers interested in exploring more specialized libraries and implementation fundamentals behind building services and apps. You'll need to know your way around .NET and C# quite well before you can dive in, so if you want to work your way up to this book, pick up Mark's other .NET book, C# 11 and .NET 7 – Modern Cross-Platform Development Fundamentals, first.