You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/container-apps/dapr-overview.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,21 +1,21 @@
1
1
---
2
-
title: Dapr integration with Azure Container Apps
2
+
title: Microservice APIs powered by Dapr
3
3
description: Learn more about using Dapr on your Azure Container App service to develop applications.
4
4
ms.author: hannahhunter
5
5
author: hhunter-ms
6
6
ms.service: azure-container-apps
7
7
ms.custom: build-2023
8
8
ms.topic: conceptual
9
-
ms.date: 04/22/2024
9
+
ms.date: 08/05/2024
10
10
---
11
11
12
-
# Dapr integration with Azure Container Apps
12
+
# Microservice APIs powered by Dapr
13
13
14
-
[Distributed Application Runtime (Dapr)][dapr-concepts]provides APIs that run as a sidecar process that helps you write and implement simple, portable, resilient, and secured microservices. Dapr works together with Azure Container Apps as an abstraction layer to provide a low-maintenance, serverless, and scalable platform. [Enabling Dapr on your container app][dapr-enable] creates a secondary process alongside your application code that simplifies application intercommunication with Dapr via HTTP or gRPC.
14
+
Azure Container Apps provides APIs powered by [Distributed Application Runtime (Dapr)][dapr-concepts] that help you write and implement simple, portable, resilient, and secured microservices. Dapr works together with Azure Container Apps as an abstraction layer to provide a low-maintenanceand scalable platform. Azure Container Apps offers a selection of fully managed Dapr APIs, components, and features, catered specifically to microservice scenarios. Simply [enable and configure Dapr][dapr-enable] as usual in your container app environment.
15
15
16
-
## Dapr in Azure Container Apps
16
+
## How the microservices APIs work with your container app
17
17
18
-
Configure Dapr for your container apps environment with a [Dapr-enabled container app][dapr-enable], a [Dapr component configured for your solution][dapr-components], and a Dapr sidecar invoking communication between them. The following diagram demonstrates these core concepts related to Dapr in Azure Container Apps.
18
+
Configure microservices APIs for your container apps environment with a [Dapr-enabled container app][dapr-enable], a [Dapr component configured for your solution][dapr-components], and a Dapr sidecar invoking communication between them. The following diagram demonstrates these core concepts, using the pub/sub API as an example.
19
19
20
20
:::image type="content" source="media/dapr-overview/dapr-in-aca.png" alt-text="Diagram demonstrating Dapr pub/sub and how it works in Container Apps.":::
21
21
@@ -60,7 +60,7 @@ Azure Container Apps ensures compatibility with Dapr open source tooling, such a
60
60
-**Actor reminders**: Require a minReplicas of 1+ to ensure reminders is always active and fires correctly.
61
61
-**Jobs**: Dapr isn't supported for jobs.
62
62
63
-
## Next Steps
63
+
## Next steps
64
64
65
65
-[Enable Dapr in your container app.][dapr-enable]
66
66
-[Learn how Dapr components work in Azure Container Apps.][dapr-components]
Copy file name to clipboardExpand all lines: articles/container-apps/faq.yml
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,7 @@ sections:
65
65
66
66
- **Business reasoning for scaling**: You might be eligible for a quota increase request if the platform limits are blocking your workload demands. Scale limits overrides are evaluated on a per-case basis.
67
67
68
-
- name: Dapr
68
+
- name: Microservice APIs powered by Dapr
69
69
questions:
70
70
- question: |
71
71
What Dapr features and APIs are available in Azure Container Apps?
@@ -82,12 +82,12 @@ sections:
82
82
- question: |
83
83
What is the Dapr version release cadence in Azure Container Apps?
84
84
answer: |
85
-
Dapr's typical release timeline is up to six weeks after [the Dapr OSS release](https://docs.dapr.io/operations/support/support-release-policy/). The latest Dapr version is made available in Azure Container Apps after rigorous testing. Rolling out to all regions can take roughly up to two weeks.
85
+
Dapr's typical release timeline is up to six weeks after [the Dapr OSS release](https://docs.dapr.io/operations/support/support-release-policy/). The latest Dapr version is made available in Azure Container Apps after rigorous testing. Rolling out to all regions can take roughly up to two weeks.
86
86
87
87
- question: |
88
88
How can I request a Dapr feature enhancement for Azure Container Apps?
89
89
answer:
90
-
You can submit a feature request via the [Azure Container Apps GitHub repository](https://github.com/microsoft/azure-container-apps/issues/new/choose). Make sure to include "Dapr" in the feature request title.
90
+
91
91
You can submit a feature request via the [Azure Container Apps GitHub repository](https://github.com/microsoft/azure-container-apps/issues/new/choose). Make sure to include "Dapr" in the feature request title.
In this tutorial, you create a microservice to demonstrate [Dapr's Bindings API](https://docs.dapr.io/developing-applications/building-blocks/bindings/bindings-overview/) to work with external systems as inputs and outputs. You'll:
18
18
> [!div class="checklist"]
19
-
> * Run the application locally.
19
+
> * Run the application locally with the Dapr CLI.
20
20
> * Deploy the application to Azure Container Apps via the Azure Developer CLI with the provided Bicep.
21
21
22
22
The service listens to input binding events from a system CRON and then outputs the contents of local data to a PostreSql output binding.
23
23
24
-
:::image type="content" source="media/microservices-dapr-azd/bindings-quickstart.png" alt-text="Diagram of the Dapr binding application.":::
24
+
:::image type="content" source="media/microservices-dapr-azd/bindings-quickstart.png" alt-text="Diagram of the binding application.":::
25
25
26
26
## Prerequisites
27
27
@@ -38,7 +38,7 @@ Before deploying the application to Azure Container Apps, start by running the P
38
38
39
39
### Prepare the project
40
40
41
-
1. Clone the [sample Dapr application](https://github.com/Azure-Samples/bindings-dapr-nodejs-cron-postgres) to your local machine.
41
+
1. Clone the [sample application](https://github.com/Azure-Samples/bindings-dapr-nodejs-cron-postgres) to your local machine.
The `dapr run` command runs the Dapr binding application locally. Once the application is running successfully, the terminal window shows the output binding data.
84
+
The `dapr run` command runs the binding application locally. Once the application is running successfully, the terminal window shows the output binding data.
85
85
86
86
#### Expected output
87
87
@@ -108,9 +108,9 @@ Before deploying the application to Azure Container Apps, start by running the P
108
108
docker compose stop
109
109
```
110
110
111
-
## Deploy the Dapr application template using Azure Developer CLI
111
+
## Deploy the application template using Azure Developer CLI
112
112
113
-
Now that you've run the application locally, let's deploy the Dapr bindings application to Azure Container Apps using [`azd`](/azure/developer/azure-developer-cli/overview). During deployment, we will swap the local containerized PostgreSQL for an Azure PostgreSQL component.
113
+
Now that you've run the application locally, let's deploy the bindings application to Azure Container Apps using [`azd`](/azure/developer/azure-developer-cli/overview). During deployment, we will swap the local containerized PostgreSQL for an Azure PostgreSQL component.
114
114
115
115
### Prepare the project
116
116
@@ -136,7 +136,7 @@ cd bindings-dapr-nodejs-cron-postgres
136
136
| Azure Location | The Azure location for your resources. [Make sure you select a location available for Azure PostgreSQL](../postgresql/flexible-server/overview.md#azure-regions). |
137
137
| Azure Subscription | The Azure subscription for your resources. |
138
138
139
-
1. Run `azd up` to provision the infrastructure and deploy the Dapr application to Azure Container Apps in a single command.
139
+
1. Run `azd up` to provision the infrastructure and deploy the application to Azure Container Apps in a single command.
140
140
141
141
```azdeveloper
142
142
azd up
@@ -215,7 +215,7 @@ Upon successful completion of the `azd up` command:
215
215
216
216
### Prepare the project
217
217
218
-
1. Clone the [sample Dapr application](https://github.com/Azure-Samples/bindings-dapr-python-cron-postgres) to your local machine.
218
+
1. Clone the [sample application](https://github.com/Azure-Samples/bindings-dapr-python-cron-postgres) to your local machine.
@@ -227,7 +227,7 @@ Upon successful completion of the `azd up` command:
227
227
cd bindings-dapr-python-cron-postgres
228
228
```
229
229
230
-
### Run the Dapr application using the Dapr CLI
230
+
### Run the application using the Dapr CLI
231
231
232
232
Before deploying the application to Azure Container Apps, start by running the PostgreSQL container and Python service locally with [Docker Compose](https://docs.docker.com/compose/) and Dapr.
233
233
@@ -254,13 +254,13 @@ Before deploying the application to Azure Container Apps, start by running the P
The `dapr run` command runs the Dapr binding application locally. Once the application is running successfully, the terminal window shows the output binding data.
263
+
The `dapr run` command runs the binding application locally. Once the application is running successfully, the terminal window shows the output binding data.
264
264
265
265
#### Expected output
266
266
@@ -287,9 +287,9 @@ Before deploying the application to Azure Container Apps, start by running the P
287
287
docker compose stop
288
288
```
289
289
290
-
## Deploy the Dapr application template using Azure Developer CLI
290
+
## Deploy the application template using Azure Developer CLI
291
291
292
-
Now that you've run the application locally, let's deploy the Dapr bindings application to Azure Container Apps using [`azd`](/azure/developer/azure-developer-cli/overview). During deployment, we will swap the local containerized PostgreSQL for an Azure PostgreSQL component.
292
+
Now that you've run the application locally, let's deploy the bindings application to Azure Container Apps using [`azd`](/azure/developer/azure-developer-cli/overview). During deployment, we will swap the local containerized PostgreSQL for an Azure PostgreSQL component.
293
293
294
294
### Prepare the project
295
295
@@ -315,7 +315,7 @@ cd bindings-dapr-python-cron-postgres
315
315
| Azure Location | The Azure location for your resources. [Make sure you select a location available for Azure PostgreSQL](../postgresql/flexible-server/overview.md#azure-regions). |
316
316
| Azure Subscription | The Azure subscription for your resources. |
317
317
318
-
1. Run `azd up` to provision the infrastructure and deploy the Dapr application to Azure Container Apps in a single command.
318
+
1. Run `azd up` to provision the infrastructure and deploy the application to Azure Container Apps in a single command.
319
319
320
320
```azdeveloper
321
321
azd up
@@ -392,7 +392,7 @@ Upon successful completion of the `azd up` command:
392
392
393
393
### Prepare the project
394
394
395
-
1. Clone the [sample Dapr application](https://github.com/Azure-Samples/bindings-dapr-csharp-cron-postgres) to your local machine.
395
+
1. Clone the [sample application](https://github.com/Azure-Samples/bindings-dapr-csharp-cron-postgres) to your local machine.
@@ -404,7 +404,7 @@ Upon successful completion of the `azd up` command:
404
404
cd bindings-dapr-csharp-cron-postgres
405
405
```
406
406
407
-
### Run the Dapr application using the Dapr CLI
407
+
### Run the application using the Dapr CLI
408
408
409
409
Before deploying the application to Azure Container Apps, start by running the PostgreSQL container and .NET service locally with [Docker Compose](https://docs.docker.com/compose/) and Dapr.
410
410
@@ -431,13 +431,13 @@ Before deploying the application to Azure Container Apps, start by running the P
431
431
dotnet build
432
432
```
433
433
434
-
1. Run the .NET service application with Dapr.
434
+
1. Run the .NET service application.
435
435
436
436
```bash
437
437
dapr run --app-id batch-sdk --app-port 7002 --resources-path ../components -- dotnet run
438
438
```
439
439
440
-
The `dapr run` command runs the Dapr binding application locally. Once the application is running successfully, the terminal window shows the output binding data.
440
+
The `dapr run` command runs the binding application locally. Once the application is running successfully, the terminal window shows the output binding data.
441
441
442
442
#### Expected output
443
443
@@ -464,9 +464,9 @@ Before deploying the application to Azure Container Apps, start by running the P
464
464
docker compose stop
465
465
```
466
466
467
-
## Deploy the Dapr application template using Azure Developer CLI
467
+
## Deploy the application template using Azure Developer CLI
468
468
469
-
Now that you've run the application locally, let's deploy the Dapr bindings application to Azure Container Apps using [`azd`](/azure/developer/azure-developer-cli/overview). During deployment, we will swap the local containerized PostgreSQL for an Azure PostgreSQL component.
469
+
Now that you've run the application locally, let's deploy the bindings application to Azure Container Apps using [`azd`](/azure/developer/azure-developer-cli/overview). During deployment, we will swap the local containerized PostgreSQL for an Azure PostgreSQL component.
470
470
471
471
### Prepare the project
472
472
@@ -492,7 +492,7 @@ cd bindings-dapr-csharp-cron-postgres
492
492
| Azure Location | The Azure location for your resources. [Make sure you select a location available for Azure PostgreSQL](../postgresql/flexible-server/overview.md#azure-regions). |
493
493
| Azure Subscription | The Azure subscription for your resources. |
494
494
495
-
1. Run `azd up` to provision the infrastructure and deploy the Dapr application to Azure Container Apps in a single command.
495
+
1. Run `azd up` to provision the infrastructure and deploy the application to Azure Container Apps in a single command.
496
496
497
497
```azdeveloper
498
498
azd up
@@ -576,7 +576,7 @@ azd down
576
576
577
577
## Next steps
578
578
579
-
- Learn more about [deploying Dapr applications to Azure Container Apps](./microservices-dapr.md).
579
+
- Learn more about [deploying microservices using Dapr to Azure Container Apps](./microservices-dapr.md).
580
580
-[Enable token authentication for Dapr requests.](./dapr-authentication-token.md)
581
581
- Learn more about [Azure Developer CLI](/azure/developer/azure-developer-cli/overview) and [making your applications compatible with `azd`](/azure/developer/azure-developer-cli/make-azd-compatible).
582
-
-[Scale your Dapr applications using KEDA scalers](./dapr-keda-scaling.md)
582
+
-[Scale your applications using KEDA scalers](./dapr-keda-scaling.md)
0 commit comments