Skip to content
UWP style APIs cross-platform with .NET!
C#
Branch: develop
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Project status update (#70) Oct 4, 2019
Assets
XPlat.ApplicationModel.DataTransfer Implemented Clipboard API (#72) Oct 6, 2019
XPlat.ApplicationModel
XPlat.Core PR for #56 - Updated NuGet packages (#57) Mar 13, 2019
XPlat.Device.Profile
XPlat.Devices.Display
XPlat.Devices.Geolocation
XPlat.Devices.Launcher PR for #56 - Updated NuGet packages (#57) Mar 13, 2019
XPlat.Devices.Power
XPlat.Foundation
XPlat.Media.Capture
XPlat.Samples.Android Added new MapLocationFinder API for Windows and Android. (#78) Oct 20, 2019
XPlat.Samples.Windows Added new MapLocationFinder API for Windows and Android. (#78) Oct 20, 2019
XPlat.Samples.iOS
XPlat.Services.Maps Added new MapLocationFinder API for Windows and Android. (#78) Oct 20, 2019
XPlat.Storage.Pickers Fixed file capture to allow for files from google drive as well as ad… Apr 2, 2019
XPlat.Storage Fixed file capture to allow for files from google drive as well as ad… Apr 2, 2019
XPlat.UI.Controls
XPlat.UI.Core Updated iOS CoreDispatcher to require a UIViewController for running … Mar 15, 2019
XPlat.UI.Popups
XPlat.UI Updated DispatcherTimer for Windows to support providing a different … Apr 7, 2019
XPlat.UnitTests.Android
XPlat.UnitTests.Windows
XPlat.UnitTests.iOS
XPlat.UnitTests PR for #56 - Updated NuGet packages (#57) Mar 13, 2019
.editorconfig
.gitattributes
.gitignore
CODE_OF_CONDUCT.md Updated GitHub docs. Sep 16, 2018
CONTRIBUTING.md
LICENSE Updated GitHub docs. Sep 16, 2018
README.md Updated README with new packages Oct 21, 2019
XPlat.sln Added new MapLocationFinder API for Windows and Android. (#78) Oct 20, 2019
YOUR-PROJECTS.md

README.md

XPlat Windows APIs

XPlat Windows APIs

XPlat Windows APIs are designed to make it easier for developers adjusted to developing with the Windows UWP APIs to take those skills cross-platform with their applications.

As each application platform offers their own unique platform-specific APIs, XPlat attempts to bring all of those APIs under one umbrella using a Windows UWP like API, allowing a developer to learn a single API which works with any application built with UWP or Xamarin for Android and iOS.

For a UWP developer, this is appealing as it allows you to easily migrate your existing UWP code to Xamarin shared code with minimal changes through the use of XPlat Windows APIs which mimic the Windows UWP alternatives.

Package status

Source Build Release Current Preview
NuGet Build status Release status Nuget Nuget

Installation

XPlat Windows APIs are available via NuGet. Each available package is detailed below.

We have purposefully split the XPlat Windows APIs to allow you to pick and choose the specific components that your app needs to prevent bloat!

Package Current Preview
XPlat.ApplicationModel Nuget Nuget
XPlat.ApplicationModel.DataTransfer Nuget Nuget
XPlat.Core Nuget Nuget
XPlat.Device.Display Nuget Nuget
XPlat.Device.Geolocation Nuget Nuget
XPlat.Device.Launcher Nuget Nuget
XPlat.Device.Power Nuget Nuget
XPlat.Device.Profile Nuget Nuget
XPlat.Foundation Nuget Nuget
XPlat.Media.Capture Nuget Nuget
XPlat.Services.Maps Nuget Nuget
XPlat.Storage Nuget Nuget
XPlat.Storage.Pickers Nuget Nuget
XPlat.UI Nuget Nuget
XPlat.UI.Controls Nuget Nuget
XPlat.UI.Core Nuget Nuget
XPlat.UI.Popups Nuget Nuget

Take a look at our 'Getting started with XPlat Windows APIs guide' for help getting up and running!

Made with XPlat

Got a great project you've built with XPlat? We'd love for you to share your awesome creations with the community!

Add your projects to the Made with XPlat collection!

Documentation

If you want to deep dive into the APIs with details on how to use the features, you can browse the GitBooks documentation for XPlat Windows APIs!

Supported platforms

XPlat Windows APIs is currently being developed for the following platforms:

  • Windows UWP
  • iOS
  • Android

Contributing

Looking to help build our XPlat Windows APIs? Take a look through our contribution guidelines.

We actively encourage you to jump in and help with any issues!

Building XPlat Windows APIs

XPlat Windows APIs have been built using .NET Standard, taking advantage of the new SDK-style projects and multi-targeting enabled with the help of MSBuild.Sdk.Extras.

You can build the solution using Visual Studio with the following workloads installed:

  • .NET desktop development
  • Universal Windows Platform development
  • Mobile Development with .NET
  • .NET Core cross-platform development

License

XPlat Windows APIs are made available under the terms and conditions of the MIT license.

You can’t perform that action at this time.