Working with Native Features in Xamarin.Forms Applications

Xamarin.Forms will let you create applications for multiple platforms using a shared codebase. This course will teach you how to use multiple techniques for accessing native platform features that are not directly exposed to the Xamarin.Forms.
Course info
Level
Advanced
Updated
Aug 7, 2020
Duration
1h 38m
Table of contents
Description
Course info
Level
Advanced
Updated
Aug 7, 2020
Duration
1h 38m
Description

When working in Xamarin.Form there are multiple ways to access native features. In this course, Working with Native Features in Xamarin.Forms Applications, you'll learn how to be able to access features specific to a platform from your Xamarin code. First, you will explore how to use Xamarin.Essentials to access settings and components that are common to multiple platforms. Next, you will see how to use the Device class to access device physical characteristics and make threadsafe UI calls from background threads. Then, you will delve into how to use the DependencyService class to access native features and extend existing functionality at the platform level. Finally, you will discover how to use Dependency Injection with the Microsoft.Extensions.DependencyInjection library as another way to access platform specific features. When you have finished the course, you will have the skills needed to access native features for your applications.

About the author
About the author

Chris is a mobile and web developer who enjoys writing about the development experience. He is a Microsoft MVP and Xamarin Certified Mobile Developer. Chris runs the Tech Valley .NET User Group and is active with local and regional code camps.

More from the author
Using the Xamarin.Forms Shell
Intermediate
1h 31m
Dec 5, 2019
Xamarin.Forms: Localization
Intermediate
1h 10m
Mar 19, 2019
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hi, everyone. My name is Chris Miller. Welcome to my course, Working with Native Features with Xamarin.Forms. This is an advanced course that will introduce you to accessing the native features of a platform when you're working with Xamarin.Forms. It will show you multiple ways of accessing native features. As we go through the course, we're going to build a sample application, so that you can try out these techniques on your own. You will see practical ways of accessing native features from your code that you can put in your own applications. You'll learn about what comes with Xamarin.Forms right out of the box, and you will see how to add platform‑specific code. You will learn what comes with Xamarin.Essentials, and write an example for checking an internet connection. You'll learn how to use the device class with C# and with XAML. We'll write some UI‑safe background code. You'll learn how to write classes that work with the dependency service, and we'll dive into dependency injection and how to leverage to the inversion control pattern. By the end of this course, you will know the basics for accessing native features with Xamarin.Forms. Please join me, and we'll take the journey into native features with Xamarin.Forms, from Pluralsight. I think you'll enjoy it.