Build better mobile applications using Azure Mobile Apps
Перейти к файлу
Adrian Hall ca1aeaf53d Copy of learn-docs and updated README 2024-08-02 13:14:28 -07:00
.ci (#894) Updated BUILD_VERSION to 6.1.0 (#895) 2024-02-02 12:30:23 -08:00
.github Updated stale processor to latest version (#915) 2024-04-03 09:36:30 -07:00
.vscode
docs
learn-docs Copy of learn-docs and updated README 2024-08-02 13:14:28 -07:00
samples Bump Azure.Identity in /samples/CosmosTodoService/src/api (#928) 2024-06-19 13:14:57 -07:00
sdk (#907) test updates to ensure pendingOperations is updated correctly (#908) 2024-03-18 09:40:05 -07:00
.DS_Store
.gitignore
CODE_OF_CONDUCT.md
LICENSE.txt
README.md Copy of learn-docs and updated README 2024-08-02 13:14:28 -07:00
SECURITY.md
SUPPORT.md

README.md

Azure Mobile Apps

** This project is now archived and superceded by CommunityToolkit/Datasync

Azure Mobile Apps has been retired. While you are free to continue using this product as-is, no further updates will be made to it.

Future datasync library capabilities will be produced by the CommunityToolkit/Datasync project, including support for future versions of dotNET. Community Toolkit is a member of the dotNet Foundation.


Original README.md

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:

  • Server: ASP.NET Core for .NET 6.
  • Client: .NET Standard 2.0 and .NET 6.

The client platforms that support .NET Standard 2.0 and .NET 6 include:

  • AvaloniaUI
  • .NET MAUI
  • Uno Platform
  • Windows (UWP, WinUI3, WPF)
  • Xamarin Forms
  • Xamarin Native (Android and iOS)

Blazor and Unity are known to have issues with offline support since neither supports Sqlite natively.

To get started, take a look at our documentation.

The older (v4.2.0 and earlier) libraries are retired and no longer supported. You can find the source code in the archive branch.

Libraries

.NET (sdk/dotnet)

The server-side library uses ASP.NET Core 6.0 and provides stores for in-memory data, LiteDb, and Entity Framework Core.

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.AspNetCore.Datasync.NSwag NSwag Library Version LiteDb Library Downloads
Microsoft.AspNetCore.Datasync.Swashbuckle Swashbuckle 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

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.