MarcelloDB

discontinued

by Mark Meeus · since 2015 · also known as Marcello DB

Pure-C# embedded object database for Xamarin and UWP apps that stores whole object graphs.

objectdocumentembedded libraryopen source (permissive)legacy

discontinued. No commits or releases since 1.0.9 (Feb 2020), and its Xamarin/UWP targets are retired. LiteDB, Realm or SQLite are maintained options for .NET apps.

Overview

MarcelloDB is an in-process NoSQL object database by Belgian developer Mark Meeus, written entirely in C# as a portable class library for Xamarin.iOS, Xamarin.Android, Windows Phone 8.1 and Windows 10 UWP. You persist plain C# objects, including nested children, lists and dictionaries, into named collections inside collection files, define typed indexes for lookups, and group writes in transactions; an encryption add-on was offered with a paid support package. Betas circulated from October 2015 and the 1.0 line stabilised soon after, but the last release, 1.0.9, shipped in February 2020. With Xamarin itself retired in favour of .NET MAUI, it is best treated as legacy.

Strengths & trade-offs

Strengths

  • +Stores complete C# object graphs without ORM mapping
  • +Pure managed code: no native binaries to ship per platform
  • +Typed indexes and transactions in a small library
  • +MIT license

Trade-offs

  • −Unmaintained since 2020; targets retired Xamarin and UWP platforms
  • −Querying limited to index lookups and enumeration
  • −Encryption was only in the paid add-on

Great for

  • +Maintaining older Xamarin or UWP apps that use it
  • +Reference for a pure-C# embedded object store

Think twice for

  • −New .NET MAUI or cross-platform apps
  • −Apps needing rich queries or sync

Capabilities

Native or official first-party support · 4 of 25 tracked

✓Transactions
✓Secondary indexes
✓Durable persistence
✓Encryption at rest
–Joins
–Full-text search
–Vector search
–Geospatial
–JSON
–Change data capture
–Triggers
–Stored procedures
–Materialized views
–TTL / expiry
–Pub/Sub
–Columnar storage
–In-memory
–Compression
–Role-based access
–Time travel
–Branching
–Online schema changes
–Streaming ingest
–Offline sync
–Runs in WebAssembly

Scale & consistency

Comfortable data size
Small · ≤ 100 GB
Horizontal scaling
None
Multi-region
No
Transactions
Limited ACID
Consistency
Strong
Schema
Schemaless
Architecture
Embedded
Query languages
C# API (index-based Find/Enumerate)

Single-process, on-device storage.

Deployment

Self-hosted Vendor-managed cloud Serverless Embedded Edge Kubernetes operator

Ecosystem

apis & protocols.NET API
client languagesC#

Alternatives to MarcelloDB

Compare all→
LiteDBDocument10.8

Serverless single-file NoSQL document database for .NET, in the spirit of SQLite.

marcellodb vs litedb →
Realm (Atlas Device SDK)Object25.2

Object-oriented mobile database whose MongoDB sync service is gone; the local engine survives as open source.

marcellodb vs realm →
SQLiteRelational75.5

The in-process SQL engine that ships in every phone, browser and OS: one file, zero servers.

marcellodb vs sqlite →
ObjectBoxObject12.4

Fast on-device object database with built-in HNSW vector search and an optional commercial sync server.

marcellodb vs objectbox →
KitaroDBKey-Value0.0

Synergex's free embedded key-value store for WinRT, Windows Phone and Win32 apps (2012-2015).

marcellodb vs kitarodb →
PouchDBDocument23.2

JavaScript database for browsers and Node that speaks the CouchDB replication protocol.

marcellodb vs pouchdb →

MarcelloDB FAQ

What is MarcelloDB?

MarcelloDB is an object database by Mark Meeus, first released in 2015. MarcelloDB is an in-process NoSQL object database by Belgian developer Mark Meeus, written entirely in C# as a portable class library for Xamarin.iOS, Xamarin.Android, Windows Phone 8.1 and Windows 10 UWP. You persist plain C# objects, including nested children, lists and dictionaries, into named collections inside collection files, define typed indexes for lookups, and group writes in transactions; an encryption add-on was offered with a paid support package. Betas circulated from October 2015 and the 1.0 line stabilised soon after, but the last release, 1.0.9, shipped in February 2020. With Xamarin itself retired in favour of .NET MAUI, it is best treated as legacy.

Is MarcelloDB open source?

Yes. MarcelloDB is open source. License: MIT License.

Does MarcelloDB support ACID transactions?

Partly. MarcelloDB offers limited ACID guarantees (for example, single-record or single-partition transactions), with strong consistency.

Does MarcelloDB scale horizontally?

MarcelloDB does not scale horizontally; it runs on a single node, so you scale it up rather than out. It is comfortable at small scale (≤ 100 GB).

How can I run MarcelloDB?

You can embed it in your application.

What is MarcelloDB best for?

MarcelloDB is a strong fit for maintaining older Xamarin or UWP apps that use it and reference for a pure-C# embedded object store. Think twice for new .NET MAUI or cross-platform apps.

What are the best alternatives to MarcelloDB?

Common alternatives to MarcelloDB include LiteDB, Realm (Atlas Device SDK), SQLite, ObjectBox and KitaroDB. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.

Is MarcelloDB still maintained?

MarcelloDB is discontinued. No commits or releases since 1.0.9 (Feb 2020), and its Xamarin/UWP targets are retired. LiteDB, Realm or SQLite are maintained options for .NET apps.

How popular is MarcelloDB?

MarcelloDB ranks #539 of 844 databases on the WhichDB Score (1.5/100), and #16 among object databases. The score combines public adoption signals such as package downloads, GitHub activity, job posts and developer discussion.