Explore cross-platform design patterns for Xamarin apps

Beginner
Developer
Xamarin
Visual Studio
.NET

Create a .NET Standard library to share code between your iOS and Android projects in Xamarin.Forms. Define platform-specific operations by using contracts so you can execute them from a shared code base.

Learning objectives

In this module, you will:

  • Structure your shared code by using .NET Standard
  • Locate dependencies by using the factory pattern
  • Use a service locator to register and retrieve dependencies
  • Use an inversion-of-control (IoC) container to automatically inject dependencies

Prerequisites

  • Visual Studio 2019 (any edition)
  • Familiarity with C# and .NET