랭킹으로 돌아가기

realm/realm-dotnet

C#realm.io

Realm is a mobile database: a replacement for SQLite & ORMs

realmdatabasemobiledotnetdotnet-corexamarinxamarin-formsrealtimesyncmobile-databasemongodbhacktoberfest
스타 성장
스타
1.3k
포크
177
주간 성장
이슈
147
5001k
2016년 5월2019년 9월2023년 2월2026년 7월
README

[!WARNING] We announced the deprecation of Atlas Device Sync + Realm SDKs in September 2024. For more information please see:

For a version of realm-dotnet without sync features, install version 20 or see the "community" branch.

realm

Realm is a mobile database that runs directly on phones, tablets or wearables.

This repository holds the source code for the .NET / C# versions of Realm. Currently, we support all major mobile and desktop operating systems, such as iOS, Android, UWP, macOS, Linux, and Windows. For a full list of supported platforms and their versions, check out the Platform and Framework Compatibility section in the documentation.

Features

  • Mobile-first: Realm is the first database built from the ground up to run directly inside phones, tablets, and wearables.
  • Simple: Data is directly exposed as objects and queryable by code, removing the need for ORM's riddled with performance & maintenance issues. Plus, we've worked hard to keep our API down to just a few common classes: most of our users pick it up intuitively, getting simple apps up & running in minutes.
  • Modern: Realm supports relationships, generics, vectorization and modern C# idioms.
  • Fast: Realm is faster than even raw SQLite on common operations while maintaining an extremely rich feature set.
  • MongoDB Atlas Device Sync: Makes it simple to keep data in sync across users, devices, and your backend in real-time. Get started for free with a template application and create the cloud backend.

Getting Started

Please see the detailed instructions in our Quick Start to add Realm to your solution.

Documentation

The documentation can be found in the Guides/ directory.

Generate API reference docs from the Docs/ directory.

Getting Help

  • Need help with your code?: Look for previous questions on the #realm tag — or ask a new question. You can also check out our Community Forum where general questions about how to do something can be discussed.
  • Have a bug to report? Open an issue. If possible, include the version of Realm, a full log, the Realm file, and a project that shows the issue.
  • Have a feature request? Open an issue. Tell us what the feature should do, and why you want the feature.

Nightly builds

If you want to test recent bugfixes or features that have not been packaged in an official release yet, you can use the preview releases published after every commit to our private NuGet feed. The source URL you need to specify for our feed is https://s3.amazonaws.com/realm.nugetpackages/index.json. Refer to this guide for instructions on adding custom sources to the NuGet Package Manager.

Building Realm

We highly recommend using our pre-built binaries via NuGet but you can also build from source.

Prerequisites:

  • Visual Studio 2019 Community or above.
  • Building iOS/macOS apps also requires Xcode 8.1 or above.

Instructions:

  1. Download and build the native libraries using the instructions in wrappers/README.md
  2. Open the Realm.sln in Visual Studio
  3. Build Realm, Realm.Fody and Realm.SourceGenerator
  4. Build and run the tests for the relevant platforms.

If you are actively testing code against the Realm source, see also the unit test projects and other tests under the Tests folder.

Examples

Some minimal examples of Realm use can be found in the examples folder:

  • QuickJournal: a quick journaling MAUI application that shows how Realm can be used effectively in conjunction with MVVM and data binding.
  • SimpleToDo: a simple to-do list Avalonia application that shows how Realm can be used effectively in conjunction with MVVM and data binding.

It is possible to find additional (and more complex) examples that use Atlas Device Sync in the realm-dotnet-samples repo.

Contributing

See CONTRIBUTING.md for more details!

Code of Conduct

This project adheres to the MongoDB Code of Conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to community-conduct@mongodb.com.

License

Realm .NET and Realm Core are published under the Apache License 2.0.

Feedback

If you use Realm and are happy with it, all we ask is that you please consider sending out a tweet mentioning @realm to share your thoughts!

And if you don't like it, please let us know what you would like improved, so we can fix it!

관련 저장소
realm/realm-js

Realm is a mobile database: an alternative to SQLite & key-value stores

TypeScriptnpmApache License 2.0mobile-databasenosql-database
realm.io
6k611
sergdort/CleanArchitectureRxSwift

Example of Clean Architecture of iOS app using RxSwift

Swiftiosreactive-programming
3.9k496
codeestX/GeekNews

:books:A pure reading App based on Material Design + MVP + RxJava2 + Retrofit + Dagger2 + Realm + Glide

JavaMavenmaterial-designrxjava
3.5k815
north2016/T-MVP

Android AOP Architecture by Apt, AspectJ, Javassisit, based on Realm+Databinding+MVP+Retrofit+Rxjava2

JavaMavenaopaop-architecture
2.7k624
HabitRPG/habitica-android

Native Android app for Habitica

KotlinGNU General Public License v3.0javahabitica
1.8k584
huangzhibiao/BGFMDB

BGFMDB让数据的增删改查分别只需要一行代码即可,就是这么简单任性,本库几乎支持存储ios所有基本的自带数据类型.

Objective-Ccoredatalkdbhelper
1.4k326
ClintJang/awesome-swift-korean-lecture

훌륭한 Swift 세션 동영상(강좌), 한글 자막있는 혹은 한국어 강의 정보 링크 모음 (Awesome Swift Korean lecture information)

SwiftMIT Licenseswiftvideo-lecture
1.3k213
younatics/YNSearch

🔍 Awesome fully customize search view like Pinterest written in Swift 5.0 + Realm support!

SwiftMIT Licenseswiftsearch
cocoacontrols.com/controls/ynsearch
1.2k100
RxSwiftCommunity/RxRealm

RxSwift extension for RealmSwift's types

SwiftMIT Licenserealmrxswift
1.2k279
TonnyL/Espresso

🚚 Espresso is an express delivery tracking app designed with Material Design style, built on MVP(Model-View-Presenter) architecture with RxJava2, Retrofit2, Realm database and ZXing

JavaMavenApache License 2.0mvpgoogle
1.1k199
aheze/OpenFind

An app to find text in real life.

SwiftMIT Licenseappcamera
open.getfind.app
1.1k71
realm/realm-core

Core database component for the Realm Mobile Database SDKs

C++Apache License 2.0databasemobile-database
realm.io
1.1k218