DensoDB

discontinued

by Paolo Possanzini · since 2012 · also known as DeNSo DB, DeNSo

Small .NET document store from 2012 that ran in-process, as a Windows service, or as a P2P-synced mesh.

documentdatabase engineopen source (copyleft)legacy

discontinued. Last release December 2012 and last commit October 2013; CodePlex has since shut down. LiteDB or RavenDB are the usual .NET successors.

Overview

DensoDB (styled DeNSo DB) was an open-source document database for .NET written in C# by Paolo Possanzini and hosted on CodePlex, later mirrored to GitHub. Entities were serialised into BSON-like documents in schema-free collections keyed by a unique id, and queried with LINQ. It could run in-process for speed, as a Windows service exposing REST and WCF endpoints, or as a peer-to-peer mesh in which nodes synchronised and propagated events, and its internals were organised around CQRS with a journal and event-dispatcher plugins. The last CodePlex release dates from December 2012 and the GitHub mirror from 2013; LiteDB is the obvious modern replacement for embedded .NET document storage.

Strengths & trade-offs

Strengths

  • +Same API whether embedded in-process, run as a service or joined to a sync mesh
  • +Stores plain .NET entities with built-in BSON serialisation and LINQ queries
  • +CQRS-style event dispatcher made plugins such as P2P sync easy to bolt on

Trade-offs

  • −Unmaintained since 2013 and targets old .NET Framework and Windows Phone
  • −GPLv2 licence is awkward for embedding in closed-source applications
  • −No secondary indexes or documented consistency model for mesh sync

Great for

  • +Historical reference for early embedded .NET NoSQL stores
  • +Reading the code for a compact CQRS-based storage design

Think twice for

  • −New .NET applications
  • −Multi-user production systems

Capabilities

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

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

Scale & consistency

Comfortable data size
Small · ≤ 100 GB
Horizontal scaling
None
Multi-region
No
Transactions
Limited ACID
Consistency
Eventual
Schema
Schemaless
Architecture
Embedded, Client server, Distributed
Query languages
LINQ

Mesh mode replicated data between peers rather than sharding it.

Deployment

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

Ecosystem

apis & protocolsIn-process .NET API, REST, WCF
client languagesC#

Alternatives to DensoDB

Compare all→
LiteDBDocument10.8

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

densodb vs litedb →
RavenDBDocument30.9

ACID document database for .NET and beyond, with auto-indexing, Corax search and multi-master replication.

densodb vs ravendb →
Realm (Atlas Device SDK)Object25.2

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

densodb vs realm →
Couchbase LiteDocument7.9

Embedded JSON document database with SQL++ queries, vector search and sync to Couchbase.

densodb vs couchbase-lite →
LealoneRelational2.8

Chinese Java OLTP database derived from H2, now repositioned as an AI agent platform built on its SQL engine.

densodb vs lealone →
Microsoft AccessRelational45.8

Desktop database and forms builder bundled with Microsoft 365; still everywhere in back offices.

densodb vs microsoft-access →

DensoDB FAQ

What is DensoDB?

DensoDB is a document database by Paolo Possanzini, first released in 2012. DensoDB (styled DeNSo DB) was an open-source document database for .NET written in C# by Paolo Possanzini and hosted on CodePlex, later mirrored to GitHub. Entities were serialised into BSON-like documents in schema-free collections keyed by a unique id, and queried with LINQ. It could run in-process for speed, as a Windows service exposing REST and WCF endpoints, or as a peer-to-peer mesh in which nodes synchronised and propagated events, and its internals were organised around CQRS with a journal and event-dispatcher plugins. The last CodePlex release dates from December 2012 and the GitHub mirror from 2013; LiteDB is the obvious modern replacement for embedded .NET document storage.

Is DensoDB open source?

Yes. DensoDB is open source. License: GNU GPL v2.

Does DensoDB support ACID transactions?

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

Does DensoDB scale horizontally?

DensoDB 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 DensoDB?

You can self-host it and embed it in your application.

What is DensoDB best for?

DensoDB is a strong fit for historical reference for early embedded .NET NoSQL stores and reading the code for a compact CQRS-based storage design. Think twice for new .NET applications.

What are the best alternatives to DensoDB?

Common alternatives to DensoDB include LiteDB, RavenDB, Realm (Atlas Device SDK), Couchbase Lite and Lealone. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.

Is DensoDB still maintained?

DensoDB is discontinued. Last release December 2012 and last commit October 2013; CodePlex has since shut down. LiteDB or RavenDB are the usual .NET successors.

How popular is DensoDB?

DensoDB ranks #659 of 844 databases on the WhichDB Score (0.3/100), and #61 among document databases. The score combines public adoption signals such as package downloads, GitHub activity, job posts and developer discussion.