.NET MAUI for C# Developers

.NET MAUI for C# Developers

Author: Jesse Liberty

Publisher: Packt Publishing Ltd

Published: 2023-03-31

Total Pages: 296

ISBN-13: 1837631522

DOWNLOAD EBOOK

A practical guide to mastering C# and .NET MAUI to build native cross-platform apps with a single codebase Purchase of the print or Kindle book includes a free PDF eBook Key FeaturesExtend your skills to build cross-platform native apps for iOS, Android, Windows, and MacLearn by working on a real-world projectGo beyond MAUI and integrate with the .NET ecosystemBook Description While UI plays a pivotal role in retaining users in a highly competitive landscape, maintaining the same UI can be tricky if you use different languages for different platforms, leading to mismatches and un-synced pages. In this book, you'll see how .NET MAUI allows you to create a real-world application that will run natively on different platforms. By building on your C# experience, you'll further learn to create beautiful and engaging UI using XAML, architect a solid app, and discover best practices for this Microsoft platform. The book starts with the fundamentals and quickly moves on to intermediate and advanced topics on laying out your pages, navigating between them, and adding controls to gather and display data. You'll explore the key architectural pattern of Model-View-ViewModel: and ways to leverage it. You'll also use xUnit and NSubstitute to create robust and reliable code. By the end of this book, you'll be well-equipped to leverage .NET MAUI and create an API for your app to interact with a web frontend to the backend data using C#. What you will learnExplore the fundamentals of creating .NET MAUI apps with Visual StudioUnderstand XAML as the key tool for building your user interfaceObtain and display data using layout and controlsDiscover the MVVM pattern to create robust appsAcquire the skills for storing and retrieving persistent dataUse unit testing to ensure your app is solid and reliableWho this book is for 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.


.NET MAUI Cross-Platform Application Development

.NET MAUI Cross-Platform Application Development

Author: Roger Ye

Publisher: Packt Publishing Ltd

Published: 2024-03-25

Total Pages: 497

ISBN-13: 183508284X

DOWNLOAD EBOOK

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.


.NET MAUI Projects

.NET MAUI Projects

Author: Michael Cummings

Publisher: Packt Publishing Ltd

Published: 2024-02-09

Total Pages: 630

ISBN-13: 1837639973

DOWNLOAD EBOOK

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

Publisher: BPB Publications

Published: 2023-07-17

Total Pages: 383

ISBN-13: 9355518803

DOWNLOAD EBOOK

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


The MVVM Pattern in .NET MAUI

The MVVM Pattern in .NET MAUI

Author: Pieter Nijs

Publisher: Packt Publishing Ltd

Published: 2023-11-30

Total Pages: 386

ISBN-13: 1805120700

DOWNLOAD EBOOK

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

Publisher: Simon and Schuster

Published: 2023-10-31

Total Pages: 767

ISBN-13: 1638352356

DOWNLOAD EBOOK

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


Modern Distributed Tracing in .NET

Modern Distributed Tracing in .NET

Author: Liudmila Molkova

Publisher: Packt Publishing Ltd

Published: 2023-06-30

Total Pages: 336

ISBN-13: 1837636281

DOWNLOAD EBOOK

Instrument .NET apps using OpenTelemetry and explore logs and .NET diagnostic tools to debug, monitor, and analyze the performance of complex systems in the cloud Purchase of the print or Kindle book includes a free PDF eBook Key Features Get a clear understanding of complex systems using .NET and OpenTelemetry Adopt a systematic approach toward performance analysis and debugging Explore instrumentation techniques for common distributed patterns Book Description As distributed systems become more complex and dynamic, their observability needs to grow to aid the development of holistic solutions for performance or usage analysis and debugging. Distributed tracing brings structure, correlation, causation, and consistency to your telemetry, thus allowing you to answer arbitrary questions about your system and creating a foundation for observability vendors to build visualizations and analytics. Modern Distributed Tracing in .NET is your comprehensive guide to observability that focuses on tracing and performance analysis using a combination of telemetry signals and diagnostic tools. You'll begin by learning how to instrument your apps automatically as well as manually in a vendor-neutral way. Next, you'll explore how to produce useful traces and metrics for typical cloud patterns and get insights into your system and investigate functional, configurational, and performance issues. The book is filled with instrumentation examples that help you grasp how to enrich auto-generated telemetry or produce your own to get the level of detail your system needs, along with controlling your costs with sampling, aggregation, and verbosity. By the end of this book, you'll be ready to adopt and leverage tracing and other observability signals and tools and tailor them to your needs as your system evolves. What you will learn Understand the core concepts of distributed tracing and observability Auto-instrument .NET applications with OpenTelemetry Manually instrument common scenarios with traces and metrics Systematically debug issues and analyze the performance Keep performance overhead and telemetry volume under control Adopt and evolve observability in your organization Who this book is for This book is for software developers, architects, and systems operators running .NET services who want to use modern observability tools and standards and take a holistic approach to performance analysis and end-to-end debugging. Software testers and support engineers will also find this book useful. Basic knowledge of the C# programming language and .NET platform is assumed to grasp the examples of manual instrumentation, but it is not necessary.


Flutter for Jobseekers

Flutter for Jobseekers

Author: Hans Kokx

Publisher: BPB Publications

Published: 2023-07-31

Total Pages: 443

ISBN-13: 9355512619

DOWNLOAD EBOOK

The Ultimate Flutter Handbook for Aspiring App Developers KEY FEATURES ● Get in-depth knowledge about the process of building apps using Flutter. ● A practical guide that provides step-by-step instructions for landing a job as an app developer. ● Acquire all the necessary knowledge and skills to increase your chances of being hired as an app developer. DESCRIPTION "Flutter for Jobseekers" aims to assist you in acquiring expertise in multi-platform app development, with the ultimate goal of helping them secure their dream job. Authored by a leading Flutter developer, this book offers clear explanations and practical examples that will guide you through the evolution of app development, encompassing its historical, current, and future aspects. This all-inclusive guide takes you on a journey to master Google's Flutter framework. Starting from an introduction to Flutter's key features and development workflow, the book covers a wide range of essential topics, including exploring market opportunities for Flutter developers. You will learn how to install and configure Flutter, work with widgets, manage user input, utilize third-party libraries and APIs, implement navigation and state management with BLoC, and optimize applications for different platforms. Additionally, the book offers guidance on debugging, troubleshooting, finding Flutter jobs, succeeding in interviews, and mapping out your career path within the Flutter ecosystem. By the end of the book, you will have all the resources to excel in the Flutter ecosystem and secure your desired career path. WHAT YOU WILL LEARN ● Delve into the history, current trends, and future prospects of application development. ● Acquire comprehensive knowledge of the installation and configuration process of Flutter. ● Familiarize yourself with the fundamentals of Flutter, including its widget-based system. ● Explore important concepts such as state management, routing, and interaction with APIs. ● Gain insights on how and where to find job opportunities as a Flutter developer. WHO THIS BOOK IS FOR Whether you're a beginner in the world of Flutter or an experienced developer, this book is tailored to meet your needs. TABLE OF CONTENTS 1. Introduction to Flutter 2. Market Opportunities for Flutter Developers 3. Installing Flutter and Configuring Your IDE 4. Introduction to Widgets 5. Handling User Input 6. Using 3rd Party Libraries and External Assets 7. Working with APIs and Asynchronous Operations 8. Navigation and Routing 9. State Management and the BLoC 10. Reactivity and Platform-Specific Considerations 11. Debugging, Troubleshooting, and Performance Considerations 12. Creating Your First Application 13. Finding Flutter Jobs 14. Preparing for and Succeeding in the Job Interview 15. Your Road Ahead


Apps and Services with .NET 8

Apps and Services with .NET 8

Author: Mark J. Price

Publisher: Packt Publishing Ltd

Published: 2023-12-12

Total Pages: 799

ISBN-13: 1837634076

DOWNLOAD EBOOK

Bestselling author Mark Price is back to guide you through the latest and most common technologies a .NET developer should know: Blazor Full Stack, ASP.NET Core MVC, ASP.NET Core Minimal APIs, .NET MAUI, gRPC, GraphQL, SQL Server, Cosmos DB, SignalR, Azure Functions, and more! Purchase of the print or Kindle book includes a free eBook in PDF format. Key Features Use specialized libraries to improve all aspects of your apps, including performance, security, and localization Harness the full potential of .NET using cloud-native data stores like Cosmos DB, and unlock scalability, performance, and resilience in your service implementations Unleash the capabilities of Blazor Full Stack and.NET MAUI to develop stunning, truly cross-platform apps for web and mobile Book DescriptionElevate your practical C# and .NET skills to the next level with this new edition of Apps and Services with .NET 8. With chapters that put a variety of technologies into practice, including Web API, gRPC, GraphQL, and SignalR, this book will give you a broader scope of knowledge than other books that often focus on only a handful of .NET technologies. You’ll dive into the new unified model for Blazor Full Stack and leverage .NET MAUI to develop mobile and desktop apps. This new edition introduces the latest enhancements, including the seamless implementation of web services with ADO.NET SqlClient's native Ahead-of-Time (AOT) support. Popular library coverage now includes Humanizer and Noda Time. There’s also a brand-new chapter that delves into service architecture, caching, queuing, and robust background services. By the end of this book, you’ll have a wide range of best practices and deep insights under your belt to help you build rich apps and efficient services.What you will learn Familiarize yourself with a variety of technologies to implement services, such as gRPC and GraphQL Store and manage data locally and cloud-natively with SQL Server and Cosmos DB Use ADO.NET SqlClient to implement web services with native AOT publish support Leverage Dapper for improved performance over EF Core Implement popular third-party libraries such as Serilog, FluentValidation, Humanizer, and Noda Time Explore the new unified hosting model of Blazor Full Stack Who this book is forThis 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, you can pick up Mark’s other .NET book, C# 12 and .NET 8 – Modern Cross-Platform Development Fundamentals, first.


Clean Code with C#

Clean Code with C#

Author: Jason Alls

Publisher: Packt Publishing Ltd

Published: 2023-12-22

Total Pages: 492

ISBN-13: 1837632995

DOWNLOAD EBOOK

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.