Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
A Developer's Guide to .NET in Azure

You're reading from   A Developer's Guide to .NET in Azure Build quick, scalable cloud-native applications and microservices with .NET 6.0 and Azure

Arrow left icon
Product type Paperback
Published in Oct 2023
Publisher Packt
ISBN-13 9781837633012
Length 504 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Tamir Al Balkhi Tamir Al Balkhi
Author Profile Icon Tamir Al Balkhi
Tamir Al Balkhi
Anuraj Parameswaran Anuraj Parameswaran
Author Profile Icon Anuraj Parameswaran
Anuraj Parameswaran
Arrow right icon
View More author details
Toc

Table of Contents (20) Chapters Close

Preface 1. Part 1: An Introduction to Your Environment
2. Chapter 1: Setting Up Your Development Environment FREE CHAPTER 3. Part 2: Serverless and Microservices
4. Chapter 2: Creating Docker Containers on Azure 5. Chapter 3: Building Resilient Applications with Dapr 6. Chapter 4: Designing Microservices with AKS and Containers in Azure 7. Chapter 5: Building Serverless Apps with Azure Functions and Container Apps 8. Part 3: Data and Storage
9. Chapter 6: Exploring Azure Blob Storage 10. Chapter 7: Creating an Azure SQL Database 11. Chapter 8: Creating Documents via .NET for Azure Cosmos DB 12. Part 4: Messaging Mechanisms and Security
13. Chapter 9: Utilizing Azure App Configuration 14. Chapter 10: Processing Data with Azure Event Hubs 15. Chapter 11: Designing Ready-Made Solutions with Azure Service Bus 16. Chapter 12: Enhancing Data Protection with Azure Key Vault 17. Chapter 13: Managing Access with Azure Active Directory B2C 18. Index 19. Other Books You May Enjoy

Querying and managing data in Azure Cosmos DB with the .NET SDK

The .NET SDK for Azure Cosmos DB offers easy querying and data management for modern, cloud-based applications. In this section, we’ll explore how to use the .NET SDK to query and manage data in Cosmos DB. We’ll cover how to use Language Integrated Query (LINQ) and the SQL API for data filtering and querying, as well as how to use the change feed to receive real-time updates.

Querying data with the .NET SDK

The .NET SDK for Cosmos DB provides two main ways to query data: the SQL API and LINQ. Both methods are powerful and flexible and can be used to retrieve and manipulate data in Cosmos DB.

Using the SQL API

The SQL API provides a powerful query language for querying data in Cosmos DB. The SQL language is similar to SQL used in relational databases but has a few key differences. For example, instead of using joins to combine data from multiple containers, you can use the Cosmos DB JOIN operator...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime