RavenDB 4: Getting Started

RavenDB enables you to build scalable, high-performance NoSQL applications. This course will cover the basics of RavenDB, including what features it offers, usage with .NET, querying & indexing, and management using the powerful Studio interface.
Course info
Rating
(12)
Level
Beginner
Updated
Feb 7, 2018
Duration
2h 15m
Table of contents
Description
Course info
Rating
(12)
Level
Beginner
Updated
Feb 7, 2018
Duration
2h 15m
Description

RavenDB is a cross-platform NoSQL distributed document database designed for small to enterprise-level applications. In this course, RavenDB 4: Getting Started, you’ll learn how to leverage RavenDB in the context of .NET application development. First, you’ll learn what RavenDB brings to the table and what problems it will help solve. Next, you’ll see how to create, update, and query data with the .NET client SDK. Finally, you’ll discover how to manage Raven using the first-class "Studio" UI experience. When you’re finished with this course, you’ll have a foundational knowledge of Raven enabling you to use it in your next NoSQL-based application.

About the author
About the author

Kamran Ayub is a technologist specializing in full-stack web solutions. He's a huge fan of open source and of sharing what he knows.

More from the author
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hi everyone, my name is Kamran Ayub, and I'm excited to welcome you to my course RavenDB 4: Getting Started. I'm a developer, instructor, speaker, and all-around technologist with experience at multiple Fortune 500 companies, building small to massive-scale web applications. RavenDB is an open-source, cross-platform, NoSQL-document database that's been around for years, but the latest version has been rewritten from the ground up. This course is an introduction for folks new to Raven, or for those of you who want to see what's new in 4. 0. Some of the major topics that we'll cover include Raven concepts and features, the new studio management interface, basic document operations, and querying and indexing. By the end of this course, you'll understand what Raven brings to the table, and have a solid foundation to get started building your own applications powered by Raven. While the sample application and demos are presented in C# and ASP. NET, Raven is just a database server, and the course focuses on concepts and features that will help you get started on any platform with any of the available client SDKs for JavaScript, Go, Python, or Java. I hope you'll join me on this journey to learn Raven with the RavenDB 4: Getting Started course at Pluralsight.

Installing and Using Your RavenDB Environment
Now that we have a good understanding of what Raven offers, it's time to get it up and running on our computer. The first thing we'll do is install Raven. I'll cover standalone installations and Docker-based installations. Next, once Raven is running, we'll walk through some common commands you can use to control the server via the commandline. And then finally, we'll jump right into the studio interface to see what features we can take advantage of to manage our databases like a pro.

Storing, Retrieving, and Saving Documents
Welcome back. It's time to start developing against Raven. In this module, we're going to start migrating our in-memory code to use Raven by implementing basic document operations. First, we'll begin by running our sample app and connecting to the database using the document store and document sessions. Since we're going to create our first document programmatically, I'll explain why IDs or document keys are important and make Raven ACID-compliant. Next we'll implement the code to create and load our conference talks with speaker information. Then we'll implement updating and deleting conference talks. We'll improve our update handling by avoiding concurrency issues and document conflicts, then we'll end the module going over some common defaults Raven has that help save you from yourself.

Querying Using Indexes
This is it, the final module, and I've saved the best for last, because we're going to learn how indexes work in Raven, a powerful and robust feature that sets Raven apart from the competition. By the way, I hope you stick around for the very last video in the module, because it's more than just a summary, it's also the course wrap up. This module is all about querying with indexes, so of course we'll start out with an overview of how indexing works and what indexes are good for. Then we'll implement some more of the sample application by using LINQ queries and paging to populate talks. We'll implement the two most common types of indexes, map and map reduce, which will power more of our UI. Search is also an important aspect of most apps, so we'll see how easy it is to set up a search index on specific document fields. And finally, we'll end the module by using the Studio to manage and view our indexes.