/azure-mobile-apps

Build better mobile applications using Azure Mobile Apps

Primary LanguageC#MIT LicenseMIT

Azure Mobile Apps

MIT license Build Status Join the chat at https://gitter.im/azure-mobile-apps/community NuGet Version

Azure Mobile Apps (also known as the Microsoft Datasync Framework) is a set of client and server libraries for adding authenticated data access and offline synchronization to your mobile applications.

Currently, we support:

  • ASP.NET Core for .NET 6.
  • .NET Standard 2.0 Client - Xamarin (Native and Forms), UWP, WPF.
  • .NET 6 Client - MAUI and Windows App SDK (WinUI3).

To get started, take a look at our documentation.

The following libraries have been archived and can be considered retired (links take you to the archive)

Libraries

.NET (sdk/dotnet)

The .NET Library uses ASP.NET Core 6.0 and provides stores for in-memory data, LiteDb, and Entity Framework Core. You can download pre-release versions from GitHub Releases.

Released and supported versions of the library will be distributed by the normal NuGet mechanism:

Package Version Downloads
Microsoft.AspNetCore.Datasync Core Library Version Core Library Downloads
Microsoft.AspNetCore.Datasync.Abstractions Abstractions Library Version Abstractions Library Downloads
Microsoft.AspNetCore.Datasync.EFCore EFCore Library Version EFCore Library Downloads
Microsoft.AspNetCore.Datasync.InMemory InMemory Library Version InMemory Library Downloads
Microsoft.AspNetCore.Datasync.LiteDb LiteDb Library Version LiteDb Library Downloads
Microsoft.Datasync.Client Client Library Version Client Library Downloads
Microsoft.Datasync.Client.SQLiteStore SQLiteStore Library Version SQLiteStore Library Downloads

Templates

We provide a template for use with dotnet new. The template pre-configures ASP.NET Core, Entity Framework Core, and the Datasync Server libraries. To install the template:

dotnet new -i Microsoft.AspNetCore.Datasync.Template.CSharp

To create a server, use dotnet new:

mkdir My.Datasync.Server
cd My.Datasync.Server
dotnet new datasync-server

The Datasync Server template will be released to NuGet at the same time as the new libraries.

Documentation

You can find the latest documentation on docs.microsoft.com. Additional information will be added to the repository Wiki when appropriate.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.