Projects Issues Blogs Broadcasts Groups Events Resources
Project

realm-dotnet

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

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 Prerequisites 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 2 common classes (RealmObject and Realm): 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.

Getting Started

Please see the detailed instructions in our User Guide to add Realm to your solution.

Documentation

The documentation can be found at realm.io/docs/dotnet/latest. The API reference is located at realm.io/docs/dotnet/latest/api.

Getting Help

  • Need help with your code?: Look for previous questions on the #realm tag — or ask a new question. We actively monitor & answer questions on SO!
  • 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.
  • Sign up for our Community Newsletter to get regular tips, learn about other use-cases and get alerted to blog posts and tutorials about Realm.

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 the realm-nightly MyGet feed. Refer to this guide for instructions on adding custom sources to the NuGet Package Manager. The source URL you need to specify is https://www.myget.org/F/realm-nightly/api/v3/index.json.

Building Realm

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

Prerequisites:

  • Visual Studio Community or above.
  • Building Xamarin iOS apps also requires Xcode 8.1.

We support the current Xamarin Stable update channel, at the time of release this corresponded to:

  • Xamarin iOS version 10.3.1.8
  • Xamarin Android version 7.0.2.42
  • Xamarin Studio version 6.1.4

Note for Debugging that the following steps mention building for Release. If you are debugging, just substitute Debug and you probably also want to choose Debug | iPhoneSimulator as a platform.

  1. Download and build the native libraries using the instructions in wrappers/README.md
  2. Open the Realm.sln in Visual Studio
  3. Build RealmWeaver.Fody and Realm.BuildTasks
  4. Build Realm and Realm.Sync
  5. 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.

Contributing

See CONTRIBUTING.md for more details!

This project adheres to the Contributor Covenant Code of Conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to info@realm.io.

License

Realm .NET is published under the Apache 2.0 license. Realm Core is also published under the Apache 2.0 license and is available here.

This product is not being made available to any person located in Cuba, Iran, North Korea, Sudan, Syria or the Crimea region, or to any other person that is not eligible to receive the product under U.S. law.

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!

analytics

NuGet

Realm (fuget.org)
324,209 Total Downloads 241 Downloads Per Day Latest Version: 164 (June 14, 2019) Hide All Versions Show All Versions
Version Downloads Last Updated
6/14/2019 June 14, 2019
1/9/2019 January 9, 2019
11/8/2018 November 8, 2018
9/27/2018 September 27, 2018
9/4/2018 September 4, 2018
7/4/2018 July 4, 2018
4/16/2018 April 16, 2018
3/22/2018 March 22, 2018
11/13/2017 November 13, 2017
10/17/2017 October 17, 2017
10/3/2017 October 3, 2017
8/15/2017 August 15, 2017
6/20/2017 June 20, 2017
5/19/2017 May 19, 2017
5/16/2017 May 16, 2017
5/1/2017 May 1, 2017
4/4/2017 April 4, 2017
3/15/2017 March 15, 2017
3/3/2017 March 3, 2017
2/21/2017 February 21, 2017
2/14/2017 February 14, 2017
1/27/2017 January 27, 2017
1/23/2017 January 23, 2017
12/15/2016 December 15, 2016
10/27/2016 October 27, 2016
9/15/2016 September 15, 2016
9/11/2016 September 11, 2016
8/11/2016 August 11, 2016
7/28/2016 July 28, 2016
6/15/2016 June 15, 2016
6/9/2016 June 9, 2016
6/3/2016 June 3, 2016
5/10/2016 May 10, 2016
777
114
140
Website

{{ 'https://realm.io' | no-protocol }}

Source

{{ 'https://github.com/realm/realm-dotnet' | no-protocol }}

NuGet