John Reilly
Read post

Azure Cosmos DB: container items and generics

This post explores how to store and retrieve different types of objects in an Azure Cosmos DB Container using C# and generics. It also covers the process of deserializing the 'data' property using JSON.NET and System.Text.Json.

    #c##azure-cosmos-db
Apr 02, 2024•5m read time•From johnnyreilly.com
Post cover image
Table of contents
The problem ​A generic solution ​Writing to and reading from the Cosmos DB container ​Deserializing the data property with JSON.NET ​Deserializing the data property with System.Text.Json ​Conclusion ​
7 Impressions
John Reilly's image
John Reilly

Johnny Reilly is a software engineer, blogger, and technology enthusiast known for his insights into...

23 Followers

•

277 Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard