Creating Mobile Apps with Xamarin.Forms Preview Edition 2


Book Description

This second Preview Edition ebook, now with 16 chapters, is about writing applications for Xamarin.Forms, the new mobile development platform for iOS, Android, and Windows phones unveiled by Xamarin in May 2014. Xamarin.Forms lets you write shared user-interface code in C# and XAML that maps to native controls on these three platforms.




Xamarin.Forms Projects


Book Description

Explore Xamarin.Forms to develop dynamic applications Key FeaturesExplore SQLite through Xamarin to store locations for various location-based applicationsMake a real-time serverless chat service by using Azure SignalR serviceBuild Augmented Reality application with the power of UrhoSharp together with ARKit and ARCore Book Description Xamarin.Forms is a lightweight cross-platform development toolkit for building applications with a rich user interface. In this book you'll start by building projects that explain the Xamarin.Forms ecosystem to get up and running with building cross-platform applications. We'll increase in difficulty throughout the projects, making you learn the nitty-gritty of Xamarin.Forms offerings. You'll gain insights into the architecture, how to arrange your app's design, where to begin developing, what pitfalls exist, and how to avoid them. The book contains seven real-world projects, to get you hands-on with building rich UIs and providing a truly cross-platform experience. It will also guide you on how to set up a machine for Xamarin app development. You'll build a simple to-do application that gets you going, then dive deep into building advanced apps such as messaging platform, games, and machine learning, to build a UI for an augmented reality project. By the end of the book, you'll be confident in building cross-platforms and fitting Xamarin.Forms toolkits in your app development. You'll be able to take the practice you get from this book to build applications that comply with your requirements. What you will learnSet up a machine for Xamarin developmentGet to know about MVVM and data bindings in Xamarin.FormsUnderstand how to use custom renderers to gain platform-specific accessDiscover Geolocation services through Xamarin EssentialsCreate an abstraction of ARKit and ARCore to expose as a single API for the game Learn how to train a model for imageclassification with Azure Cognitive ServicesWho this book is for This book is for mobile application developers who want to start building native mobile apps using the powerful Xamarin.Forms and C#. Working knowledge of C#, .NET, and Visual Studio is required.




Xamarin.Forms Projects


Book Description

Learn to build cross-platform mobile apps using the latest features in Xamarin.Forms 4 with the help of a series of projects including apps for real-time chatting, AR games, location-tracking, weather, photo galleries, and much more Key FeaturesDevelop mobile apps, AR games, and chatbots of varying complexity with the help of real-world examplesExplore the important features of Xamarin.Forms 4 such as Shell, CollectionView, and CarouselViewGet to grips with advanced concepts such as AR and VR and machine learning for mobile developmentBook Description Xamarin.Forms is a lightweight cross-platform development toolkit for building apps with a rich user interface. Improved and updated to cover the latest features of Xamarin.Forms, this second edition covers CollectionView and Shell, along with interesting concepts such as augmented reality (AR) and machine learning. Starting with an introduction to Xamarin and how it works, this book shares tips for choosing the type of development environment you should strive for when planning cross-platform mobile apps. You’ll build your first Xamarin.Forms app and learn how to use Shell to implement the app architecture. The book gradually increases the level of complexity of the projects, guiding you through creating apps ranging from a location tracker and weather map to an AR game and face recognition. As you advance, the book will take you through modern mobile development frameworks such as SQLite, .NET Core Mono, ARKit, and ARCore. You’ll be able to customize your apps for both Android and iOS platforms to achieve native-like performance and speed. The book is filled with engaging examples, so you can grasp essential concepts by writing code instead of reading through endless theory. By the end of this book, you’ll be ready to develop your own native apps with Xamarin.Forms and its associated technologies, such as .NET Core, Visual Studio 2019, and C#. What you will learnSet up Xamarin.Forms to build native apps with code-sharing capabilitiesUnderstand the core aspects of developing a mobile app, such as its layout, UX, and renderingUse custom renderers to gain platform-specific accessDiscover how to create custom layouts for your apps with Xamarin.Forms ShellUse Azure SignalR to implement serverless services in your Xamarin appsCreate an augmented reality (AR) game for Android and iOS using ARCore and ARKit, respectivelyBuild and train machine learning models using CoreML, TensorFlow, and Azure Cognitive ServicesWho this book is for This book is for C# and .NET developers who want to learn Xamarin.Forms and get started with native Xamarin mobile application development from the ground up. Working knowledge of Visual Studio will help you to get the most out of this book.




Xamarin Mobile Application Development


Book Description

Xamarin Mobile Application Development is a hands-on Xamarin.Forms primer and a cross-platform reference for building native Android, iOS, and Windows Phone apps using C# and .NET. This book explains how to use Xamarin.Forms, Xamarin.Android, and Xamarin.iOS to build business apps for your customers and consumer apps for Google Play and the iTunes App Store. Learn how to leverage Xamarin.Forms for cross-platform development using the most common UI pages, layouts, views, controls, and design patterns. Combine these with platform-specific UI to craft a visually stunning and highly interactive mobile user experience. Use Xamarin.Forms to data bind your UI to both data models and to view models for a Model-View-ViewModel (MVVM) implementation. Use this book to answer the important question: Is Xamarin.Forms right for my project? Platform-specific UI is a key concept in cross-platform development, and Xamarin.Android and Xamarin.iOS are the foundation of the Xamarin platform. Xamarin Mobile Application Development will cover how to build an Android app using Xamarin.Android and an iOS app using Xamarin.iOS while sharing a core code library. SQLite is the database-of-choice for many Xamarin developers. This book will explain local data access techniques using SQLite.NET and ADO.NET. Build a mobile data access layer (DAL) using SQLite and weigh your options for web services and enterprise cloud data solutions. This book will show how organize your Xamarin code into a professional-grade application architecture. Explore solution-building techniques from starter-to-enterprise to help you decouple your functional layers, manage your platform-specific code, and share your cross-platform classes for code reuse, testability, and maintainability. Also included are 250+ screenshots on iOS, Android, and Windows Phone and 200+ C# code examples with downloadable C# and XAML versions available from Apress.com. This comprehensive recipe and reference book addresses one of the most important and vexing problems in the software industry today: How do we effectively design and develop cross-platform mobile applications?




Building Xamarin.Forms Mobile Apps Using XAML


Book Description

Leverage Xamarin.Forms to build iOS and Android apps using a single, cross-platform approach. This book is the XAML companion to the C# guide Xamarin Mobile Application Development. You'll begin with an overview of Xamarin.Forms, then move on to an in-depth XAML (eXtensible Application Markup Language) primer covering syntax, namespaces, markup extensions, constructors, and the XAML standard. XAML gives us both the power of decoupled UI development and the direct use of Xamarin.Forms elements. This book explores the core of the Xamarin.Forms mobile app UI: using layouts and FlexLayouts to position controls and views to design and build screens, formatting your UI using resource dictionaries, styles, themes and CSS, then coding user interactions with behaviors, commands, and triggers. You'll see how to use XAML to build sophisticated, robust cross-platform mobile apps and help your user get around your app using Xamarin.Forms navigation patterns. Building Xamarin.Forms Mobile Apps Using XAML explains how to bind UI to data models using data binding and using the MVVM pattern, and how to customize UI elements for each platform using industry-standard menus, effects, custom renderers, and native view declaration. What You Will Learn Create world-class mobile apps for iOS and Android using C# and XAMLBuild a XAML UI decoupled from the C# code behind Design UI layouts such as FrameLayout, controls, lists, and navigation patterns Style your app using resource dictionaries, styles, themes, and CSS Customize controls to have platform-specific features using effects, custom renderers, and native views Who This Book Is For XAML and C# developers, architects, and technical managers as well as many Android and iOS developers




Mastering Xamarin.Forms


Book Description

New edition of the bestselling guide to building an effective mobile app architecture with Xamarin.Forms 4 that maximizes the overall quality of apps. Key FeaturesUpdated for Xamarin.Forms 4Packed with real-world scenarios and solutions to help you build professional grade mobile apps with Xamarin.FormsIncludes design patterns and best practice techniques that every mobile developer should knowBook Description Discover how to extend and build upon the components of the most recent version of Xamarin.Forms to develop an effective, robust mobile app architecture. This new edition features Xamarin.Forms 4 updates, including CollectionView and RefreshView, new coverage of client-side validation, and updates on how to implement user authentication. Mastering Xamarin.Forms, Third Edition is one of the few Xamarin books structured around the development of a simple app from start to finish, beginning with a basic Xamarin.Forms app and going step by step through several advanced topics to create a solution architecture rich with the benefits of good design patterns and best practices. This book introduces a core separation between the app's user interface and the app's business logic by applying the MVVM pattern and data binding, and then focuses on building a layer of plugin-like services that handle platform-specific utilities such as navigation and geo-location, as well as how to loosely use these services in the app with inversion of control and dependency injection. You’ll connect the app to a live web-based API and set up offline synchronization before testing the app logic through unit testing. Finally, you will learn how to add monitoring to your Xamarin.Forms projects to track crashes and analytics and gain a proactive edge on quality. What you will learnFind out how, when, and why to use architecture patterns and best practices with Xamarin.FormsImplement the Model-View-ViewModel (MVVM) pattern and data binding in Xamarin.Forms mobile appsIncorporate client-side validation in Xamarin.Forms mobile appsExtend the Xamarin.Forms navigation API with a custom ViewModel-centric navigation serviceLeverage the inversion of control and dependency injection patterns in Xamarin.Forms mobile appsWork with online and offline data in Xamarin.Forms mobile appsUse platform-specific APIs to build rich custom user interfaces in Xamarin.Forms mobile appsExplore how to monitor mobile app quality using Visual Studio App CenterWho this book is for This book is intended for .NET developers who are familiar with Xamarin mobile application development and the open source Xamarin.Forms toolkit. If you have already started working with Xamarin.Forms and want to take your app to the next level, making it more maintainable, testable and flexible, then this book is for you.




Mobile DevOps


Book Description

Today's world is all about perfection, and there are hundreds of applications that are released each day out of which only a few succeed. Making sure that the app looks, performs, and behaves as expected is one of the biggest challenge developers face today.




Understanding Game Application Development


Book Description

Learn to build a simple data-driven mobile game application using the power of Xamarin.Forms, ASP.NET, the Web API, and SignalR with this short book. In it you will build a cross-platform mobile application that targets both iOS and Android, connect your app with your database using Entity Framework, and implement real-time syncing functionality using SignalR. Understanding Game Application Development starts by giving you an overview of the development tools, an installation guide, and a list of prerequisites. You will learn how to manage application flow, create your workspace, and set up your database. Next, you will see how to access data for handling CRUD operations and define the necessary API endpoints. Further, you will build a mobile application with Xamarin.Forms, both in iOS and in Android. You will also understand the deployment and testing process as well as how to build a real-time leader board using ASP.NET MVC and SignalR. Finally, you will understand how to publish your source code on GitHub from Visual Studio 2017. What You Will LearnUnderstand the basic concept and fundamentals of the technologies used for building the applicationsSet up your development environmentCreate a SQL database from scratch Implement a data access layerDefine REST service endpoints using the Web APIDeploy, test, and debug iOS and Android applicationsPush your source code to GitHubWho This Book Is For .NET developers who want to jump on mobile application development with Xamarin and learn with practical examples.




C# 7 and .NET Core: Modern Cross-Platform Development


Book Description

Modern Cross-Platform Development About This Book Build modern, cross-platform applications with .NET Core Get up to speed with C#, and up to date with all the latest features of C# 7 Start creating professional web applications with ASP.NET Core Who This Book Is For This book is targeted towards readers who have some prior programming experience or have a science, technology, engineering, or mathematics (STEM) background, and want to gain a solid foundation with C# and to be introduced to the types of applications they could build and will work cross-platform on Windows, Linux, and macOS. What You Will Learn Build cross-platform applications using C# 7 and .NET Core Explore ASP.NET Core and learn how to create professional web applications Improve your application's performance using multitasking Use Entity Framework Core and find out how to build code-first databases Master object-oriented programming with C# to increase code reuse and efficiency Familiarize yourself with cross-device app development using the Universal Windows Platform and XAML Query and manipulate data using LINQ Protect your data by using encryption and hashing In Detail If you want to build powerful cross-platform applications with C# 7 and .NET Core, then this book is for you. First, we'll run you through the basics of C#, as well as object-oriented programming, before taking a quick tour through the latest features of C# 7 such as tuples, pattern matching, out variables, and so on. After quickly taking you through C# and how .NET works, we'll dive into the .NET Standard 1.6 class libraries, covering topics such as performance, monitoring, debugging, serialization and encryption. The final section will demonstrate the major types of application that you can build and deploy cross-device and cross-platform. In this section, we'll cover Universal Windows Platform (UWP) apps, web applications, mobile apps, and web services. Lastly, we'll look at how you can package and deploy your applications so that they can be hosted on all of today's most popular platforms, including Linux and Docker. By the end of the book, you'll be armed with all the knowledge you need to build modern, cross-platform applications using C# and .NET Core. Style and approach This book takes a step-by-step approach and is filled with exciting projects and fascinating theory. It uses three high-impact sections to equip you with all the tools you'll need to build modern, cross-platform applications using C# and .NET Core.




Mobile Development with .NET


Book Description

A mobile applications development masterclass for .NET and C# developers Key FeaturesUncover the new features and capabilities of the .NET 5 framework in this updated and improved second editionOptimize the time required to develop highly performant cross-platform applicationsUnderstand the architectural patterns and best practices for mobile application developmentBook Description Are you a .NET developer who wishes to develop mobile solutions without delving into the complexities of a mobile development platform? If so, this book is a perfect solution to help you build professional mobile apps without leaving the .NET ecosystem. Mobile Development with .NET will show you how to design, architect, and develop robust mobile applications for multiple platforms, including iOS, Android, and UWP using Xamarin, .NET Core, and Azure. With the help of real-world scenarios, you'll explore different phases of application development using Xamarin, from environment setup, design, and architecture to publishing. Throughout the book, you'll learn how to develop mobile apps using Xamarin and .NET Standard. You'll even be able to implement a web-based backend composed of microservices with .NET Core using various Azure services including, but not limited to, Azure Active Directory, Azure Functions. As you advance, you'll create data stores using popular database technologies such as Cosmos DB and data models such as the relational model and NoSQL. By the end of this mobile application development book, you'll be able to create cross-platform mobile applications that can be deployed as cloud-based PaaS and SaaS. What you will learnDiscover the latest features of .NET 5 that can be used in mobile application developmentExplore Xamarin.Forms Shell for building cross-platform mobile UIsUnderstand the technical design requirements of a consumer mobile appGet to grips with advanced mobile development concepts such as app data management, push notifications, and graph APIsManage app data with Entity Framework CoreUse Microsoft’s Project Rome for creating cross-device experiences with XamarinBecome well-versed with implementing machine learning in your mobile appsWho this book is for This book is for ASP.NET Core developers who want to get started with mobile development using Xamarin and other Microsoft technologies. Working knowledge of C# programming is necessary to get started.