See the version list below for details.
dotnet add package YesSql --version 3.0.9
NuGet\Install-Package YesSql -Version 3.0.9
<PackageReference Include="YesSql" Version="3.0.9" />
paket add YesSql --version 3.0.9
#r "nuget: YesSql, 3.0.9"
// Install YesSql as a Cake Addin #addin nuget:?package=YesSql&version=3.0.9 // Install YesSql as a Cake Tool #tool nuget:?package=YesSql&version=3.0.9
A .NET document database interface for relational databases, because in SQL we (still) trust !
How does it work ?
YesSql is a .NET Core document database interface over relational databases which allows you to define documents and indexes using plain old CLR objects. The main difference with document databases is that it uses any RDBMS to store them, which gives you all the power of SQL databases like transactions, replication, reporting, ... But the main advantage might be that there is no magic involved, it's pure SQL !
A video about YesSql was recorded and is available here https://www.youtube.com/watch?v=D42eK6CJjF4
Aren't NoSQL databases also about map/reduce ?
YesSql has support for it too. There is a sample project in the source code, and you'll see that map/reduce is fully supported by looking at the tests.
How is the database structured ?
There is a global [Document] table. Each index is a custom class which has its own table. A reduce index also adds a bridge table in order to map many documents. Internally YesSql communicates with the database server using Dapper.
Dude ! Why another document database ?
I know 😕 Well actually I am a big fan of document databases and I am well aware that some like MongoDb and RavenDb are already top-notch ones, but what if you want a free, transactional .NET document database ?
- MongoDb is not transactional, and some applications can't cope with it. RDBMS on the contrary are all transactional.
- RavenDb (which I am a big fan of) is not free (for most usages).
- Some companies which have invested a lot in SQL, only trust SQL, and have in-house experts.
So YesSql might be an answer for the developers who face those restrictions. If you don't care about those then please don't spend one more minute on YesSql, it's useless for you.
I am sold, where do I start ?
The documentation is here: https://github.com/sebastienros/yessql/wiki
You can also take a look at the sample apps in the source code.
|Product||Versions Compatible and additional computed target framework versions.|
|.NET||net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed.|
|.NET Core||netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 is compatible.|
|.NET Standard||netstandard2.0 is compatible. netstandard2.1 was computed.|
|.NET Framework||net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed.|
|MonoAndroid||monoandroid was computed.|
|MonoMac||monomac was computed.|
|MonoTouch||monotouch was computed.|
|Tizen||tizen40 was computed. tizen60 was computed.|
|Xamarin.iOS||xamarinios was computed.|
|Xamarin.Mac||xamarinmac was computed.|
|Xamarin.TVOS||xamarintvos was computed.|
|Xamarin.WatchOS||xamarinwatchos was computed.|
NuGet packages (1)
Showing the top 1 NuGet packages that depend on YesSql:
Orchard Core CMS is a Web Content Management System (CMS) built on top of the Orchard Core Framework. Provides data access functionality using YesSql
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on YesSql:
Orchard Core is an open-source modular and multi-tenant application framework built with ASP.NET Core, and a content management system (CMS) built on top of that framework.