Docs Menu

Install Realm - .NET SDK

On this page

  • Overview
  • Prerequisites
  • Installation
  • Open the NuGet Package Manager
  • Add the Realm Package
  • (Optional) Add the Realm Weaver to FodyWeavers.xml
  • Open the NuGet Package Manager
  • Add the Realm Package
  • Add the Realm Weaver to FodyWeavers.xml
  • Import Realm

MongoDB Realm's .NET SDK enables development of applications in C# for the .NET, UWP, Xamarin, and Unity ecosystems.

For more information about specific version support for .NET, UWP, and Xamarin, see Supported Platforms.

Note

Integrating the Realm .NET SDK with Unity has different prerequisites and install steps than the ones below. Learn how to Integrate Realm with Unity.

Before getting started, ensure you have installed Visual Studio:

Follow these steps to add the MongoDB Realm .NET SDK to your project.

Add the following line to the top of your source files to use MongoDB Realm:

using Realms;
Give Feedback
© 2021 MongoDB, Inc.

About

  • Careers
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2021 MongoDB, Inc.