Book Image

Creating Cross-Platform C# Applications with Uno Platform

By : Matt Lacey, Marcel Alexander Wagner
Book Image

Creating Cross-Platform C# Applications with Uno Platform

By: Matt Lacey, Marcel Alexander Wagner

Overview of this book

Developers are increasingly being asked to build native applications that run on multiple operating systems and in the browser. In the past, this would have meant learning new technologies and making multiple copies of an application. But the Uno Platform allows you to use tools, languages, and APIs you already know from building Windows apps to develop apps that can also run on other platforms. This book will help you to create customer-facing as well as line-of-business apps that can be used on the device, browser, or operating system of your choice. This practical guide enables developers to put their C# and XAML knowledge to work by writing cross-platform apps using the Uno Platform. Packed with tips and practical examples, this book will help you to build applications for common scenarios. You'll begin by learning about the Uno Platform through step-by-step explanations of essential concepts, before moving on to creating cross-platform apps for different lines of business. Throughout this book, you'll work with examples that will teach you how to combine your existing knowledge to manage common development environments and implement frequently needed functionality. By the end of this Uno development book, you will have learned how to write your own cross-platform apps with the Uno Platform and use additional tools and libraries to speed up your app development process.
Table of Contents (13 chapters)
1
Section 1: Getting to Know Uno Platform
4
Section 2: Writing and Developing Uno Platform Apps
9
Section 3: Test, Deploy, and Contribute

Retrieving remote data

Very few apps only work with the data that they ship with. The value the Network Assist provides is based on giving real-time information. There is a lot more value in knowing when trains will actually arrive rather than just when they are scheduled to arrive. To gather this information, the app must connect to a remote source of real-time data.

Most mobile applications connect to external data sources, and the most common way to do this is over HTTP(S). If you're only developing an application that runs on desktop, you might be able to assume that a connection is always available. For mobile apps, it's necessary to consider the device as being occasionally connected.

As it's impossible to assume that an app will have a connection available or that it will be fast, it's necessary to account for this when designing an app. These issues apply to all mobile apps and are not something unique to developing with Uno Platform. The correct...