Microsoft.AspNetCore.Datasync 6.1.0

Prefix Reserved
dotnet add package Microsoft.AspNetCore.Datasync --version 6.1.0                
NuGet\Install-Package Microsoft.AspNetCore.Datasync -Version 6.1.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.AspNetCore.Datasync" Version="6.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.AspNetCore.Datasync --version 6.1.0                
#r "nuget: Microsoft.AspNetCore.Datasync, 6.1.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Microsoft.AspNetCore.Datasync as a Cake Addin
#addin nuget:?package=Microsoft.AspNetCore.Datasync&version=6.1.0

// Install Microsoft.AspNetCore.Datasync as a Cake Tool
#tool nuget:?package=Microsoft.AspNetCore.Datasync&version=6.1.0                

Azure Mobile Apps

MIT license Build Status 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:

  • 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.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on Microsoft.AspNetCore.Datasync:

Package Downloads
Microsoft.AspNetCore.Datasync.EFCore

An Entity Framework Core based repository for use with the ASP.NET Core Datasync framework.

Microsoft.AspNetCore.Datasync.InMemory

An in-memory repository for use with the ASP.NET Core Datasync framework.

Microsoft.AspNetCore.Datasync.LiteDb

A LiteDb-based repository for use with the ASP.NET Core Datasync framework.

Microsoft.AspNetCore.Datasync.Swashbuckle

Swashbuckle bindings for the Microsoft Datasync Framework.

Microsoft.AspNetCore.Datasync.NSwag

NSwag bindings for the Microsoft Datasync Framework.

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on Microsoft.AspNetCore.Datasync:

Repository Stars
dotnet/maui-samples
Samples for .NET Multi-Platform App UI (.NET MAUI)
Azure/azure-mobile-apps
Build better mobile applications using Azure Mobile Apps
Version Downloads Last updated
6.1.0 16,353 2/2/2024
6.0.8 2,344 1/12/2024
6.0.7 995 12/15/2023
6.0.6 2,660 11/22/2023
6.0.5 3,191 11/3/2023
6.0.4 1,950 10/13/2023
6.0.3 800 10/6/2023
6.0.2 1,805 9/25/2023
6.0.1 1,007 9/15/2023
6.0.0 3,034 9/7/2023
5.1.8 2,763 8/26/2023
5.1.7 838 8/22/2023
5.1.6 4,615 6/23/2023
5.1.5 1,231 5/26/2023
5.1.4 2,709 5/11/2023
5.1.3 4,413 3/14/2023
5.1.2 3,666 2/28/2023
5.1.1 1,024 2/18/2023
5.1.0 955 2/10/2023
5.0.21 14,358 2/4/2023
5.0.20 3,643 1/8/2023
5.0.18 5,807 12/17/2022
5.0.17 1,184 12/15/2022
5.0.15 985 12/14/2022
5.0.14 843 12/14/2022
5.0.13 2,324 12/8/2022
5.0.12 13,702 9/30/2022
5.0.11 3,859 8/19/2022
5.0.10 2,222 8/5/2022
5.0.9 3,490 7/8/2022
5.0.8 1,050 7/8/2022
5.0.7 793 7/8/2022
5.0.6 1,249 6/25/2022
5.0.5 1,282 6/17/2022
5.0.4 2,103 6/11/2022
5.0.3 1,319 6/1/2022
5.0.2 6,170 5/31/2022
5.0.1 1,396 5/24/2022
5.0.0 1,239 5/6/2022
5.0.0-preview.1 121 1/7/2023
5.0.0-beta.12 450 4/8/2022
5.0.0-beta.11 1,157 12/8/2021
5.0.0-beta.10 190 11/22/2021
5.0.0-beta.9 826 11/20/2021
5.0.0-beta.8 158 11/8/2021
5.0.0-beta.7 179 11/8/2021
5.0.0-beta.6 293 11/6/2021
5.0.0-beta.5 240 11/6/2021
5.0.0-beta.4 208 11/5/2021