Book Image

Hands-On Mobile Development with .NET Core

By : Can Bilgin
Book Image

Hands-On Mobile Development with .NET Core

By: Can Bilgin

Overview of this book

.NET Core is the general umbrella term used for Microsoft’s cross-platform toolset. Xamarin, used for developing mobile applications, is one of the app model implementations for .NET Core infrastructure. In this book, you'll learn how to design, architect, and develop attractive, maintainable, and robust mobile applications for multiple platforms, including iOS, Android, and UWP, with the toolset provided by Microsoft using Xamarin, .NET Core, and Azure Cloud Services. This book will take you through various phases of application development using Xamarin, from environment setup, design, and architecture to publishing, with the help of real-world scenarios. Throughout the book, you'll learn how to develop mobile apps using Xamarin, Xamarin.Forms, 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 App Services, Azure Active Directory, Notification Hub, Logic Apps, Azure Functions, and Cognitive Services. The book then guides you in creating data stores using popular database technologies such as Cosmos DB, SQL, and Realm. Finally, you will be able to set up an efficient and maintainable development pipeline to manage the application life cycle using Visual Studio App Center and Visual Studio Services.
Table of Contents (26 chapters)
Title Page
Copyright and Credits
About Packt
Contributors
Preface
Index

Improving HTTP performance with transient caching


In our previous examples, the client application held a direct service communication line with the service infrastructure. This way, the mobile application would load fresh data that's required to display a certain view on every view-model creation. While this provides an up-to-date context for the application, it might not be the most desirable experience for the user since, when we're dealing with mobile applications, we would need to account for bandwidth and network speed issues.

When developing a mobile application, it is a common mistake to assume that the application running on the simulator would behave the same once deployed to a physical device. In other words, it is quite naive to assume that the high-speed internet connection that is used on the development machine would be the same as the possible 3G network connection that you will have on the mobile device.

Fortunately, developers can emulate various network scenarios on device...