XPlat Windows APIs are designed to make it easier for developers adjusted to developing with the Windows Runtime APIs (UWP) to take those skills cross-platform with their applications in .NET.
As each application platform offers their own unique platform-specific APIs, XPlat attempts to bring all of those APIs under one umbrella using a UWP like API, allowing a developer to learn a single API which works with any application built for Windows and Xamarin for Android and iOS.
For a Windows developer, this is appealing as it allows you to easily migrate your existing Windows code to Xamarin shared code with minimal changes through the use of XPlat Windows APIs which mimic the UWP API alternatives.
Build | Status | Current | Preview |
---|---|---|---|
Packages | |||
Docs | N/A | N/A |
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!
Take a look at our 'Getting started with XPlat Windows APIs guide' for help getting up and running!
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!
If you want to deep dive into the APIs with details on how to use the features, you can browse the documentation for XPlat Windows APIs!
XPlat Windows APIs is currently being developed for the following platforms:
- Windows
- iOS
- Android
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!
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
XPlat Windows APIs are made available under the terms and conditions of the MIT license.