Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Mobile Development with .NET Core

You're reading from   Hands-On Mobile Development with .NET Core Build cross-platform mobile applications with Xamarin, Visual Studio 2019, and .NET Core 3

Arrow left icon
Product type Paperback
Published in May 2019
Publisher Packt
ISBN-13 9781789538519
Length 504 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Can Bilgin Can Bilgin
Author Profile Icon Can Bilgin
Can Bilgin
Arrow right icon
View More author details
Toc

Table of Contents (26) Chapters Close

Preface 1. Section 1: .NET Core and Cross-Platform Philosophy
2. Getting Started with .NET Core FREE CHAPTER 3. Xamarin, Mono, and .NET Standard 4. Universal Windows Platform 5. Section 2: Xamarin and Xamarin.Forms
6. Developing Mobile Applications with Xamarin 7. UI Development with Xamarin 8. Customizing Xamarin.Forms 9. Section 3: Azure Cloud Services
10. Azure Services for Mobile Applications 11. Creating a Datastore with Cosmos DB 12. Creating Microservices Azure App Services 13. Using .NET Core for Azure Serverless 14. Section 4: Advanced Mobile Development
15. Fluid Applications with Asynchronous Patterns 16. Managing Application Data 17. Engaging Users with Notifications and the Graph API 18. Introducing Cognitive Services 19. Section 5: Application Life Cycle Management
20. Azure DevOps and Visual Studio App Center 21. Application Telemetry with Application Insights 22. Automated Testing 23. Deploying Azure Modules 24. CI/CD with Azure DevOps 25. Other Books You May Enjoy

Asynchronous execution patterns

Tasks are generally used to create an easy sequential execution of asynchronous blocks. Nevertheless, in certain scenarios, waiting for a task to complete might be unnecessary or not possible. We can enumerate a couple of scenarios where awaiting a task is not possible or required:

  • If we are executing the asynchronous block, similar to the update user command, we would simply bind the command to the control and execute it in a throw-and-forget manner
  • If our asynchronous block needs to be executed in a constructor, we would have no easy way to await the task
  • If the asynchronous code needs to be executed as part of an event handler

Multiple examples can be listed here with common concerns, such as the following:

  • Method declaration should not exhibit the async and void return types
  • Methods should not be forced to execute synchronously with...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime