OpsCanary
Back to daily brief
azurecontainer appsPractitioner

Unlocking Dapr in Azure Container Apps: What You Need to Know

5 min read Microsoft LearnApr 27, 2026
Share
PractitionerHands-on experience recommended

Azure Container Apps provides a robust environment for deploying microservices, and integrating Dapr can significantly enhance your application's capabilities. Dapr, or Distributed Application Runtime, enables seamless communication between your container apps through its sidecar architecture. This means you can invoke Dapr APIs via HTTP or gRPC, allowing for flexible and efficient service interactions. The Dapr sidecar operates on HTTP port 3500 and gRPC port 50001, making it straightforward to set up and use.

To get started, you need to configure your container app to be Dapr-enabled, set up the necessary Dapr components, and ensure that the sidecar is correctly invoking communication between your services. This setup allows you to utilize various state management and pub/sub components, such as state.azure.cosmosdb or pubsub.azure.servicebus.queues, which are essential for building resilient applications. Be mindful that Dapr versions in Azure Container Apps follow semantic versioning, ensuring compatibility with the corresponding OSS Dapr runtime version APIs.

In production, you should be aware of some limitations. Dapr isn't supported for jobs, and certain SDK packages, like the actor and workflow SDKs, are not compatible with Azure Container Apps. Additionally, the versioning might not always follow a sequential pattern, which can be confusing. Always check the version suffix to ensure you're using the correct one.

Key takeaways

  • Configure Dapr at the container app level to apply settings across all revisions.
  • Utilize the Dapr sidecar for API communication via HTTP on port 3500 and gRPC on port 50001.
  • Incorporate stable Tier 1 components for critical scenarios to enhance reliability.
  • Be cautious with versioning; the suffix might not always increment sequentially.
  • Avoid using Dapr for jobs as it is not supported in that context.

Why it matters

Integrating Dapr with Azure Container Apps can significantly simplify microservices communication, leading to more maintainable and scalable applications. This setup allows you to focus on business logic rather than infrastructure concerns.

Code examples

plaintext
state.azure.cosmosdb
plaintext
pubsub.azure.servicebus.queues
plaintext
state.sqlserver

When NOT to use this

Dapr isn't supported for jobs. If your architecture relies heavily on job processing, consider alternative solutions that are designed for that purpose.

Want the complete reference?

Read official docs

Test what you just learned

Quiz questions written from this article

Take the quiz →

Get the daily digest

One email. 5 articles. Every morning.

No spam. Unsubscribe anytime.