百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
D

Datasync

> 编程语言
开源

一组实现客户端-服务器系统的库,用于同步来自基于云的数据库的数据。

178 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

一组实现客户端-服务器系统的库,用于同步来自基于云的数据库的数据。

Datasync Toolkit

The Datasync Community Toolkit is a collection of libraries that implement a client-server system used for synchronizing data from the database table. The Datasync Community Toolkit is a member of the Community Toolkit organization and published under the dotnet Foundation.

Currently, the library supports:

  • Server: ASP.NET Core 10.x or later
  • Client: .NET clients using .NET 10.x or later

The client platforms that have been tested include:

  • Avalonia UI
  • Blazor WASM
  • .NET MAUI
  • Uno Platform
  • Windows Presentation Framework (WPF)
  • Windows UI Library (WinUI) 3

We support most databases that are supported by Entity Framework Core, along with an in-memory store and LiteDb. Support for additional database types is easily added through our flexible repository pattern.

Other platforms may work, but have not been tested.

Getting Started

Please take a look at the tutorials included in our documentation.

You can easily get started by using the dotnet new command to create a new datasync server. The template pre-configured ASP.NET Core, Entity Framework Core, and the Datasync server libraries. To install the template:

dotnetcli
dotnet new -i CommunityToolkit.Datasync.Server.Template.CSharp

To create a project:

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

NuGet Packages

The following NuGet packages have been published:

Package Version Downloads
CommunityToolkit.Datasync.Client Client Library Version Client Library Downloads
CommunityToolkit.Datasync.Server Core Library Version Core Library Downloads
CommunityToolkit.Datasync.Server.Abstractions Abstractions Library Version Abstractions Library Downloads
CommunityToolkit.Datasync.Server.Automapper Automapper Library Version Automapper Library Downloads
CommunityToolkit.Datasync.Server.CosmosDB CosmosDB Library Version CosmosDB Library Downloads
CommunityToolkit.Datasync.Server.EntityFrameworkCore EFCore Library Version EFCore Library Downloads
CommunityToolkit.Datasync.Server.InMemory InMemory Library Version InMemory Library Downloads
CommunityToolkit.Datasync.Server.LiteDb LiteDb Library Version LiteDb Library Downloads
CommunityToolkit.Datasync.Server.MongoDB MongoDB Library Version MongoDB Library Downloads
CommunityToolkit.Datasync.Server.NSwag NSwag Library Version NSwag Library Downloads
CommunityToolkit.Datasync.Server.OpenApi OpenApi Library Version OpenApi Library Downloads
CommunityToolkit.Datasync.Server.Swashbuckle Swashbuckle Library Version Swashbuckle Library Downloads

Running Live Tests

The majority of tests in the test suite provide TestContainers so that the tests are run against real servers running inside containers. However, some test suites have not been set up yet or do not work as expected. For those services, you will need to provide a real service and configure the .runsettings file to run the service. Here is a typical .runsettings file:

xml

  
    
      true
      {insert your connection string here}
      {insert your connection string here}
    
  

NOTE: The .runsettings file contains secrets. It should not be checked in. We have added this file to the .gitignore to ensure that it is not checked into public GitHub repositories.

Building the documentation site

The documentation site is built with MkDocs. To build and serve it locally:

bash
python3 -m venv .venv-docs
source .venv-docs/bin/activate
pip install mkdocs mkdocs-mermaid2-plugin

mkdocs serve

Browse to http://localhost:7000 to view the site. mkdocs serve watches the docs folder and live-reloads whenever you make changes.

To produce a static build instead (the output is written to ./site, which is git-ignored):

bash
mkdocs build

Roadmap

Read what we plan for next iterations, and feel free to ask questions.

Contribution

We welcome community contributions. Check out our contributing guide to get started.

Code of Conduct

This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information see the .NET Foundation Code of Conduct.

.NET Foundation

This project is supported by the .NET Foundation.

History

The Datasync Toolkit used to be known as Azure Mobile Apps. You can find the code for previous (unsupported) versions of the library at the old repository.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C#

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言