Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Core
  3. Yessql

Yessql

MITC#v6.0.0

A .NET document database interface that works over any relational database, providing document storage with SQL power.

GitHubGitHub
1.4k stars196 forks0 contributors

What is Yessql?

YesSql is a .NET document database interface that works over any relational database system. It enables developers to store and query documents using familiar SQL databases while providing document-oriented abstractions like indexes and map/reduce. It solves the need for a free, transactional document database in the .NET ecosystem.

Target Audience

.NET developers who need document database features but must use or prefer relational databases due to transactional requirements, existing SQL expertise, or infrastructure constraints.

Value Proposition

Developers choose YesSql because it offers the flexibility of document storage with the transactional integrity, replication, and reporting capabilities of SQL databases—all for free, unlike some commercial alternatives.

Overview

A .NET document database working on any RDBMS

Use Cases

Best For

  • Adding document storage to existing .NET applications using SQL databases
  • Building .NET applications that require transactional document operations
  • Migrating from MongoDB or RavenDb to a SQL-based document solution
  • Leveraging SQL reporting and replication with document data models
  • Implementing map/reduce aggregations over document collections in .NET
  • Developing on infrastructure where only relational databases are trusted or allowed

Not Ideal For

  • Projects prioritizing horizontal scaling and distributed data models over transactional consistency
  • Teams with budget for commercial solutions like RavenDb that offer more out-of-the-box features
  • Applications needing schema-less storage with minimal setup and no SQL database management
  • Developers in non-.NET ecosystems or those preferring JavaScript-based document databases

Pros & Cons

Pros

Transactional Integrity

Leverages RDBMS transactions for ACID compliance, ensuring data consistency unlike MongoDB, as highlighted in the README's comparison with non-transactional alternatives.

SQL Database Flexibility

Supports multiple relational databases like SQLite, PostgreSQL, SQL Server, and MySQL, allowing reuse of existing SQL infrastructure for replication and reporting, as stated in the key features.

Map/Reduce Support

Fully supports map/reduce operations for complex data aggregation, with sample projects and tests available in the source code, demonstrating its capabilities beyond basic document storage.

Cost-Free Solution

Provides a free alternative to paid options like RavenDb, making it accessible for projects with budget constraints, as explicitly mentioned in the README's FAQ section.

Cons

Setup Complexity

Requires configuring and maintaining a relational database, along with defining custom index tables and classes, which adds overhead compared to managed NoSQL services that offer simpler deployments.

Performance Overhead

The abstraction layer over SQL can introduce latency, and map/reduce operations might not be as performant as native implementations in dedicated document databases like MongoDB, due to SQL query translation.

Limited Advanced Features

Lacks some NoSQL-specific features such as automatic sharding or built-in geospatial queries, relying on the underlying SQL database's capabilities, which may not match specialized document stores.

Open Source Alternative To

Yessql is an open-source alternative to the following products:

M
MongoDB
RavenDb
RavenDb

RavenDB is a NoSQL document database for .NET with ACID transactions, full-text search, and distributed data capabilities, designed for high performance.

Frequently Asked Questions

Quick Stats

Stars1,355
Forks196
Contributors0
Open Issues138
Last commit20 hours ago
CreatedSince 2012

Tags

#orm#document-database#dapper#dotnet#database-abstraction#net-core#transactional#relational-database#map-reduce#sql

Built With

M
MySQL
S
SQLite
P
PostgreSQL
.
.NET Core
D
Dapper
s
sql-server

Included in

.NET21.2kCore21.2k
Auto-fetched 13 hours ago

Related Projects

LiteDBLiteDB

LiteDB - A .NET NoSQL Document Store in a single data file

Stars9,417
Forks1,322
Last commit16 days ago
Event StoreEvent Store

KurrentDB is a database that's engineered for modern software applications and event-driven architectures. Its event-native design simplifies data modeling and preserves data integrity while the integrated streaming engine solves distributed messaging challenges and ensures data consistency.

Stars5,812
Forks677
Last commit1 day ago
IgniteIgnite

Apache Ignite

Stars5,066
Forks1,937
Last commit1 day ago
RavenDBRavenDB

ACID Document Database

Stars3,962
Forks857
Last commit22 hours ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub