Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A collection of libraries that implement a client-server system used for synchronizing data from a cloud-based database.

License

NotificationsYou must be signed in to change notification settings

CommunityToolkit/Datasync

Repository files navigation

The Datasync Community Toolkit is a collection of libraries that implement a client-server system used for synchronizing datafrom 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:

The client platforms that have been tested include:

We support most databases that are supported by Entity Framework Core, along with an in-memory store and LiteDb. Support for additionaldatabase 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 ourdocumentation.

You can easily get started by using thedotnet 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:

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

To create a project:

mkdir My.Datasync.Servercd My.Datasync.Serverdotnet new datasync-server

📦 NuGet Packages

The following NuGet packages have been published:

PackageVersionDownloads
CommunityToolkit.Datasync.ClientClient Library VersionClient Library Downloads
CommunityToolkit.Datasync.ServerCore Library VersionCore Library Downloads
CommunityToolkit.Datasync.Server.AbstractionsAbstractions Library VersionAbstractions Library Downloads
CommunityToolkit.Datasync.Server.AutomapperAutomapper Library VersionAutomapper Library Downloads
CommunityToolkit.Datasync.Server.CosmosDBCosmosDB Library VersionCosmosDB Library Downloads
CommunityToolkit.Datasync.Server.EntityFrameworkCoreEFCore Library VersionEFCore Library Downloads
CommunityToolkit.Datasync.Server.InMemoryInMemory Library VersionInMemory Library Downloads
CommunityToolkit.Datasync.Server.LiteDbLiteDb Library VersionLiteDb Library Downloads
CommunityToolkit.Datasync.Server.MongoDBMongoDB Library VersionMongoDB Library Downloads
CommunityToolkit.Datasync.Server.NSwagNSwag Library VersionNSwag Library Downloads
CommunityToolkit.Datasync.Server.OpenApiOpenApi Library VersionOpenApi Library Downloads
CommunityToolkit.Datasync.Server.SwashbuckleSwashbuckle Library VersionSwashbuckle Library Downloads

Running Live Tests

The majority of tests in the test suite provideTestContainers 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 version="1.0" encoding="utf-8"?><RunSettings>  <RunConfiguration>    <EnvironmentVariables>      <ENABLE_SQL_LOGGING>true</ENABLE_SQL_LOGGING>      <COSMOS_CONNECTION_STRING>{insert your connection string here}</COSMOS_CONNECTION_STRING>      <AZSQL_CONNECTION_STRING>{insert your connection string here}</AZSQL_CONNECTION_STRING>    </EnvironmentVariables>  </RunConfiguration></RunSettings>

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

🌍 Roadmap

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

🚀 Contribution

We welcome community contributions. Check out ourcontributing guide to get started.

📄 Code of Conduct

This project has adopted the code of conduct defined by theContributor 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 theold repository.

About

A collection of libraries that implement a client-server system used for synchronizing data from a cloud-based database.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks


[8]ページ先頭

©2009-2025 Movatter.jp