Implementing Dapr State Management in ASP.NET Core Web APIs

Implementing Dapr State Management in ASP.NET Core Web APIs

In distributed architectures, we’ll usually have a number of independent stateless services that serve a purpose (set around a domain, such as ordering items, storing items in a catalog, handling authentication etc.) While services should strive to be stateless, there will be some services that need to track state in order to fufil a business operation or function. Dapr has a state management build block that simplifies state tracking and enables you to store state across a variety of data stores....

June 14, 2023 · 12 min · Will Velida
Building an event streaming app with Azure Functions, Event Hubs and Azure Cosmos DB

Building an event streaming app with Azure Functions, Event Hubs and Azure Cosmos DB

Back in 2020, I wrote an article on how you can build a simple streaming app using Azure Functions, Event Hubs and Azure Cosmos DB. I’ve been meaning to update some old samples that I created while I was an MVP, so the long weekend seemed like a good time to update this one. Again, this is a relatively simple sample that I’ve created here. Previously, I developed all of this locally and created all my Azure resources via the portal....

April 24, 2022 · 22 min · Will Velida
Cosmos DB, Managed Identities, Functions logo

Using Managed Identities to authenticate with Azure Cosmos DB

In Azure, Managed Identities provide our Azure resources with an identity within Azure Active Directory. We can use this identity to authenticate with any service in Azure that supports Azure AD authentication without having to manage credentials. In Azure Cosmos DB, we can use managed identities to provide resources with the roles and permissions required to perform actions on our data (depending on what role we provide the identity) without having to use any connection strings or access keys to do so....

March 24, 2022 · 8 min · Will Velida