Microsoft.AspNetCore.Datasync.EFCore 6.0.8

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Microsoft.AspNetCore.Datasync.EFCore --version 6.0.8                
NuGet\Install-Package Microsoft.AspNetCore.Datasync.EFCore -Version 6.0.8                
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.EFCore" Version="6.0.8" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.AspNetCore.Datasync.EFCore --version 6.0.8                
#r "nuget: Microsoft.AspNetCore.Datasync.EFCore, 6.0.8"                
#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.EFCore as a Cake Addin
#addin nuget:?package=Microsoft.AspNetCore.Datasync.EFCore&version=6.0.8

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

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

This package is not used by any NuGet packages.

GitHub repositories (2)

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

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 13,662 2/2/2024
6.0.8 2,002 1/12/2024
6.0.7 563 12/15/2023
6.0.6 2,248 11/22/2023
6.0.5 2,772 11/3/2023
6.0.4 1,332 10/13/2023
6.0.3 410 10/6/2023
6.0.2 1,476 9/25/2023
6.0.1 533 9/15/2023
6.0.0 2,771 9/7/2023
5.1.8 1,118 8/26/2023
5.1.7 231 8/22/2023
5.1.6 3,335 6/23/2023
5.1.5 714 5/26/2023
5.1.4 2,286 5/11/2023
5.1.3 2,538 3/14/2023
5.1.2 3,102 2/28/2023
5.1.1 412 2/18/2023
5.1.0 346 2/10/2023
5.0.21 552 2/4/2023
5.0.20 2,755 1/8/2023
5.0.18 4,408 12/17/2022
5.0.17 619 12/15/2022
5.0.15 356 12/14/2022
5.0.14 311 12/14/2022
5.0.13 1,712 12/8/2022
5.0.12 10,071 9/30/2022
5.0.11 3,194 8/19/2022
5.0.10 1,561 8/5/2022
5.0.9 2,912 7/8/2022
5.0.6 607 6/25/2022
5.0.5 544 6/17/2022
5.0.4 1,526 6/11/2022
5.0.3 764 6/1/2022
5.0.2 5,649 5/31/2022
5.0.1 835 5/24/2022
5.0.0 571 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,116 12/8/2021
5.0.0-beta.10 187 11/22/2021
5.0.0-beta.8 169 11/8/2021
5.0.0-beta.7 176 11/8/2021
5.0.0-beta.6 282 11/6/2021
5.0.0-beta.5 233 11/6/2021
5.0.0-beta.4 208 11/5/2021