DEV Community

Cover image for .NET 5 with RavenDB Series -1
Assis Zang
Assis Zang

Posted on

.NET 5 with RavenDB Series -1

Knowing RavenDB

RavenDB is an open source document-oriented NoSQL designed for the .NET / Windows platform. It has a free edition available for open source projects, but it must be requested. It also has its commercial version.

RavenDB supports multiple databases. RavenDB can easily handle hundreds or thousands of databases on the same instance, explicitly designed with multi-tenancy in mind. This allows RavenDB to manage a large number of databases, but at any one time only one database is active and consuming resources.

Each RavenDB database contains a set of documents that can be divided into collections. A Collection is a logical way to group documents, similar to a table in relational databases. In a Collection, documents share the same entity name.

Following are links to the official RavenDB documentation as well as the book written by Oren Eini, CEO of RavenDB.

Oficial documentation
Book Inside RavenDB 4.0

There is also a bootcamp for beginners that you can apply through this link.
Bootcamp RavenDB

Why RavenDB?

RavenDB was produced not only to solve some problems but also to meet the needs of a better environment. Every year developers become better and more demanding, with better environments, better tools, and simpler, more straightforward methods to achieve a wide variety of goals.

With this in mind, users considering adhering to a NoSQL solution should choose the appropriate database management system that best suits their needs and their applications.

But why does RavenDB make data management with NoSql easier? Here are the main advantages of adopting RavenDB:

  • RavenDB is made in C #, .NET and as we know this platform has one of the best learning curves currently.
    This is a big plus. Data can be efficiently queried using .NET LINQ queries or using RESTful APIs.

  • In RavenDB, the database schema is no longer fixed, data is stored without schema like JSON documents, so documents can have arbitrary structures and attributes associated with them.

  • RavenDB is extremely fast, it has an automatic cache management that identifies the queries already performed and manages to make the least possible effort in the database, which generates an incredible speed in queries.

  • Highly scalable and designed for web scale. It offers out-of-the-box replication and fragmentation support.
    RavenDB is fully transactional with ACID Support.

  • It has the RQL (Raven Query Language) which is very similar to the SQL SERVER syntax, which makes it much easier for quick database queries by the user.

In this first lesson we learned a little about RavenDB and why using it is a good idea.
In the next lesson we will install it through the docker and access your dashboard locally.

Discussion (0)