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
<PackageReference Include="Microsoft.AspNetCore.Datasync" Version="6.1.0" />
paket add Microsoft.AspNetCore.Datasync --version 6.1.0
#r "nuget: Microsoft.AspNetCore.Datasync, 6.1.0"
// 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
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:
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 | Versions 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. |
-
net6.0
- Microsoft.AspNetCore.Datasync.Abstractions (>= 6.1.0)
- Microsoft.AspNetCore.JsonPatch (>= 6.0.13)
- Microsoft.AspNetCore.Mvc.NewtonsoftJson (>= 6.0.13)
- Microsoft.AspNetCore.OData (>= 8.2.3)
- Newtonsoft.Json (>= 13.0.3)
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 | 17,968 | 2/2/2024 |
6.0.8 | 2,518 | 1/12/2024 |
6.0.7 | 1,000 | 12/15/2023 |
6.0.6 | 2,711 | 11/22/2023 |
6.0.5 | 3,233 | 11/3/2023 |
6.0.4 | 1,976 | 10/13/2023 |
6.0.3 | 825 | 10/6/2023 |
6.0.2 | 1,814 | 9/25/2023 |
6.0.1 | 1,012 | 9/15/2023 |
6.0.0 | 3,140 | 9/7/2023 |
5.1.8 | 2,775 | 8/26/2023 |
5.1.7 | 842 | 8/22/2023 |
5.1.6 | 4,759 | 6/23/2023 |
5.1.5 | 1,235 | 5/26/2023 |
5.1.4 | 2,766 | 5/11/2023 |
5.1.3 | 4,450 | 3/14/2023 |
5.1.2 | 3,794 | 2/28/2023 |
5.1.1 | 1,028 | 2/18/2023 |
5.1.0 | 960 | 2/10/2023 |
5.0.21 | 14,529 | 2/4/2023 |
5.0.20 | 3,672 | 1/8/2023 |
5.0.18 | 5,925 | 12/17/2022 |
5.0.17 | 1,207 | 12/15/2022 |
5.0.15 | 992 | 12/14/2022 |
5.0.14 | 847 | 12/14/2022 |
5.0.13 | 2,328 | 12/8/2022 |
5.0.12 | 14,083 | 9/30/2022 |
5.0.11 | 3,958 | 8/19/2022 |
5.0.10 | 2,226 | 8/5/2022 |
5.0.9 | 3,494 | 7/8/2022 |
5.0.8 | 1,054 | 7/8/2022 |
5.0.7 | 797 | 7/8/2022 |
5.0.6 | 1,253 | 6/25/2022 |
5.0.5 | 1,286 | 6/17/2022 |
5.0.4 | 2,109 | 6/11/2022 |
5.0.3 | 1,323 | 6/1/2022 |
5.0.2 | 6,311 | 5/31/2022 |
5.0.1 | 1,400 | 5/24/2022 |
5.0.0 | 1,243 | 5/6/2022 |
5.0.0-preview.1 | 125 | 1/7/2023 |
5.0.0-beta.12 | 452 | 4/8/2022 |
5.0.0-beta.11 | 1,160 | 12/8/2021 |
5.0.0-beta.10 | 192 | 11/22/2021 |
5.0.0-beta.9 | 828 | 11/20/2021 |
5.0.0-beta.8 | 160 | 11/8/2021 |
5.0.0-beta.7 | 181 | 11/8/2021 |
5.0.0-beta.6 | 295 | 11/6/2021 |
5.0.0-beta.5 | 242 | 11/6/2021 |
5.0.0-beta.4 | 210 | 11/5/2021 |