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: docs/aca/01-deploy-api-to-aca/index.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ In this module, we will start by creating the first microservice named `ACA Web
17
17
18
18
- From VS Code Terminal tab, open developer command prompt or PowerShell terminal in the project folder `TasksTracker.ContainerApps` and initialize the project. This will create and ASP.NET Web API project scaffolded with a single controller.
19
19
```shell
20
-
dotnet new webapi -o TasksManager.Backend.Api
20
+
dotnet new webapi -o TasksTracker.TasksManager.Backend.Api
21
21
```
22
22
23
23
- Next we need to containerize this application, so we can push it to Azure Container Registry as a docker image then deploy it to Azure Container Apps. Start by opening the VS Code Command Palette (++ctrl+shift+p++) and select`Docker: Add Docker Files to Workspace...`
@@ -73,7 +73,7 @@ In this module, we will start by creating the first microservice named `ACA Web
73
73
```
74
74
- From VS Code Terminal tab, open developer command prompt or PowerShell terminal and navigate to the parent directory which hosts the `.csproj` project folder and build the project.
75
75
```shell
76
-
cd {YourLocalPath}\TasksTracker.ContainerApps\TasksManager.Backend.Api
76
+
cd ~\TasksTracker.ContainerApps\TasksTracker.TasksManager.Backend.Api
77
77
dotnet build
78
78
```
79
79
Make sure that the build is successful and that there are no build errors. Usually you should see a "Build succeeded" message in the terminal upon a successful build.
@@ -177,8 +177,8 @@ We will be using Azure CLI to deploy the Web API Backend to ACA as shown in the
177
177
- Build the Web API project on ACR and push the docker image to ACR. Use the below command to initiate the image build and push process using ACR. The `.` at the end of the command represents the docker build context, in our case, we need to be on the parent directory which hosts the `.csproj`.
178
178
179
179
```shell
180
-
cd {YourLocalPath}\TasksTracker.ContainerApps
181
-
az acr build --registry $ACR_NAME --image "tasksmanager/$BACKEND_API_NAME" --file 'TasksManager.Backend.Api/Dockerfile' .
180
+
cd ~\TasksTracker.ContainerApps
181
+
az acr build --registry $ACR_NAME --image "tasksmanager/$BACKEND_API_NAME" --file 'TasksTracker.TasksManager.Backend.Api/Dockerfile' .
182
182
```
183
183
Once this step is completed you can verify the results by going to the Azure portal and checking that a new repository named `tasksmanager/tasksmanager-backend-api` has been created and there is a new docker image with a `latest` tag is created.
Copy file name to clipboardExpand all lines: docs/aca/03-aca-dapr-integration/index.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,14 +35,14 @@ You are now ready to run the applications locally using Dapr sidecar in a self-h
35
35
!!! note
36
36
Remember to replace the placeholders with your own values based on image below. Remember to use https port number for the Web API application.
37
37
38
-
=== ".Net 6 or below"
38
+
=== ".NET 6 or below"
39
39
40
40
```powershell
41
41
cd TasksTracker.TasksManager.Backend.Api
42
42
dapr run --app-id tasksmanager-backend-api --app-port <web api application https port number found under properties->launchSettings.json. e.g. 7112> --dapr-http-port 3500 --app-ssl -- dotnet run
43
43
```
44
44
45
-
=== ".Net 7 or above"
45
+
=== ".NET 7 or above"
46
46
47
47
```powershell
48
48
cd TasksTracker.TasksManager.Backend.Api
@@ -164,14 +164,14 @@ The SDK offers developers three ways of making remote service invocation calls:
164
164
!!! note
165
165
Remember to replace the placeholders. Remember to use https port number for the Web API application.
166
166
167
-
=== ".Net 6 or below"
167
+
=== ".NET 6 or below"
168
168
169
169
```powershell
170
170
~\TasksTracker.ContainerApps\TasksTracker.WebPortal.Frontend.Ui> dapr run --app-id tasksmanager-frontend-webapp --app-port <web frontend application https port found under properties->launchSettings.json. e.g. 7000> --dapr-http-port 3501 --app-ssl -- dotnet run
171
171
172
172
~\TasksTracker.ContainerApps\TasksTracker.TasksManager.Backend.Api> dapr run --app-id tasksmanager-backend-api --app-port <web api application https port found under properties->launchSettings.json. e.g. 7112> --dapr-http-port 3500 --app-ssl -- dotnet run
173
173
```
174
-
=== ".Net 7 or above"
174
+
=== ".NET 7 or above"
175
175
176
176
```powershell
177
177
~\TasksTracker.ContainerApps\TasksTracker.WebPortal.Frontend.Ui> dapr run --app-id tasksmanager-frontend-webapp --app-port <web frontend application https port found under properties->launchSettings.json. e.g. 7000> --dapr-http-port 3501 --app-ssl -- dotnet run --launch-profile https
Copy file name to clipboardExpand all lines: docs/aca/04-aca-dapr-stateapi/index.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,14 +17,14 @@ Dapr's state management API allows you to save, read, and query key/value pairs
17
17
18
18
To try out the State Management APIs, run the Backend API from VS Code by running the following command. Remember to replace the place holders with your own values:
19
19
20
-
=== ".Net 6 or below"
20
+
=== ".NET 6 or below"
21
21
22
22
```powershell
23
23
24
24
~\TasksTracker.ContainerApps\TasksTracker.TasksManager.Backend.Api> dapr run --app-id tasksmanager-backend-api --app-port <web api application https port number found under properties->launchSettings.json. e.g. 7112> --dapr-http-port 3500 --app-ssl -- dotnet run
25
25
```
26
26
27
-
=== ".Net 7 or above"
27
+
=== ".NET 7 or above"
28
28
29
29
```powershell
30
30
@@ -270,13 +270,13 @@ If you have been using the dapr cli commands instead of the aforementioned debug
270
270
!!! note
271
271
Remember to replace the placeholders. Remember to use https port number for the Web API application.
272
272
273
-
=== ".Net 6 or below"
273
+
=== ".NET 6 or below"
274
274
275
275
```powershell
276
276
277
277
dapr run --app-id tasksmanager-backend-api --app-port <webapiapplicationhttpsportnumberfoundunderproperties->launchSettings.json. e.g. 7112> --dapr-http-port 3500 --app-ssl --resources-path "../components" dotnet run
0 commit comments