Working with Data and Schemas in Marten

Marten is an open source library for .NET that enables the use of an underlying PostgreSQL database as a document database. Learn how to work with data and schemas in it!
Course info
Level
Intermediate
Updated
December 7, 2016
Duration
1h 55m
Table of contents
Description
Course info
Level
Intermediate
Updated
December 7, 2016
Duration
1h 55m
Description

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. While Marten is easy to get started with, it also provides an array of customization, diagnostic, data manipulation, and performance related features that can be additionally employed. In this course, Working with Data and Schemas in Marten, you'll learn how to improve query performance, diagnose and log SQL statements, implement offline optimistic concurrency, and customize PostgreSQL schema objects. First, you'll discover how to log and diagnose SQL queries and DDL commands generated by Marten. Next, you'll learn how to prevent data loss with offline optimistic concurrency and how to soft-delete documents. Then, you'll move on to learning how to reduce database round trips, improve PostgreSQL query performance, and how to reduce client CPU costs. Finally, you'll discover how to take control over the PostgreSQL schema objects that Marten defines and creates. By the end of this course, you'll have a better understanding of how to work with data and schemas in Marten.

About the author
About the author

With over 15 years experience, Jason Roberts is a Microsoft .NET MVP, freelance developer, and author.

More from the author
Azure Function Triggers Quick Start
Intermediate
1h 44m
4 Mar 2017
More courses by Jason Roberts