Simple play icon Course
Skills Expanded

Getting Started with .NET Document Databases Using Marten 1

by Jason Roberts

Marten is a document database library for the easy storing, updating, and querying of .NET objects. It provides an easy way for you to persist data without the added complexities of object relational mapper tools.

What you'll learn

Marten is an open source library for .NET that enables the use of an underlying PostgreSQL database as a document database. Marten can be used as a replacement or alternative to other document databases such as MongoDb or RavenDb and can also be an alternative to ORMs such as Entity Framework. In this course, Getting Started with .NET Document Databases Using Marten 1, you'll learn how the open-source Marten library allows you to use the PostgreSQL database as a document database in which to persist your .NET objects. First, you'll explore the fundamentals of how Marten works. Next, you'll discover how to store .NET entities as documents and how to update and delete documents. Finally, you'll learn the various ways to query the data from your .NET application. By the end of this course, you'll understand how to use Marten to store objects as documents and how to retrieve, modify, and delete them from C# code.

About the author

With over 15 years of experience in both frontend and backend software development, Jason Roberts is a freelance developer, trainer, and author. He holds a Bachelor of Science degree in computing, is the author of several books, and writes at his blog DontCodeTired.com. Jason is an open source contributor and in addition to enterprise software development, he has designed and developed Windows Store and Windows Phone apps.

Ready to upskill? Get started