From ea27bb80c5fb80f3b837a42ded1ab83fe4a46b9a Mon Sep 17 00:00:00 2001 From: Simon Kurtz <84809797+simonkurtz-MSFT@users.noreply.github.com> Date: Mon, 4 Nov 2024 16:48:20 -0500 Subject: [PATCH] Remove .NET 6 and .NET 7-specific content (#154) * Remove .NET 6 and .NET 7-specific content. * Update GH actions (#155) * Remove .NET 6 and .NET 7-specific content. * Add permission to read contents * Add pages write permission * Comment out preview release * Add id-token: write & update to newest action versions --- .github/workflows/infra-deploy.yml | 4 +- .github/workflows/preview-docs.yml | 21 ++++--- .github/workflows/publish-docs.yml | 4 +- docs/aca/00-workshop-intro/4-prerequisites.md | 2 +- docs/aca/01-deploy-api-to-aca/index.md | 6 -- docs/aca/03-aca-dapr-integration/index.md | 56 ++----------------- .../Backend.Api-dotnet7.csproj | 15 ----- docs/aca/04-aca-dapr-stateapi/index.md | 28 +--------- .../Backend.Svc-dotnet7.csproj | 15 ----- .../05-aca-dapr-pubsubapi/Program-dotnet6.cs | 19 ------- docs/aca/05-aca-dapr-pubsubapi/index.md | 56 ++----------------- docs/aca/06-aca-dapr-bindingsapi/index.md | 8 +-- .../Backend.Api-dotnet7.csproj | 16 ------ .../Backend.Svc-dotnet7.csproj | 16 ------ .../Frontend.Ui-dotnet7.csproj | 14 ----- docs/aca/08-aca-monitoring/index.md | 49 +--------------- .../01-run-debug-dapr-app-vscode.md | 3 - snippets/containerize-app.md | 3 +- snippets/dapr-run-backend-api.md | 31 ---------- snippets/dapr-run-backend-service.md | 17 ------ snippets/dapr-run-frontend-webapp.md | 16 ------ 21 files changed, 33 insertions(+), 366 deletions(-) delete mode 100644 docs/aca/04-aca-dapr-stateapi/Backend.Api-dotnet7.csproj delete mode 100644 docs/aca/05-aca-dapr-pubsubapi/Backend.Svc-dotnet7.csproj delete mode 100644 docs/aca/05-aca-dapr-pubsubapi/Program-dotnet6.cs delete mode 100644 docs/aca/08-aca-monitoring/Backend.Api-dotnet7.csproj delete mode 100644 docs/aca/08-aca-monitoring/Backend.Svc-dotnet7.csproj delete mode 100644 docs/aca/08-aca-monitoring/Frontend.Ui-dotnet7.csproj diff --git a/.github/workflows/infra-deploy.yml b/.github/workflows/infra-deploy.yml index 023ef332..08835314 100644 --- a/.github/workflows/infra-deploy.yml +++ b/.github/workflows/infra-deploy.yml @@ -35,7 +35,7 @@ jobs: if : ${{ github.event.inputs.teardown != 'true' }} name: Lint bicep files steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Perform linting run: az bicep build --f bicep/main.bicep @@ -46,7 +46,7 @@ jobs: name: Create RG and Validate bicep template needs: [ lint ] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Azure login uses: azure/login@v1 with: diff --git a/.github/workflows/preview-docs.yml b/.github/workflows/preview-docs.yml index bb466d61..2687f844 100644 --- a/.github/workflows/preview-docs.yml +++ b/.github/workflows/preview-docs.yml @@ -1,5 +1,10 @@ name: Build and Preview Workshop Docs +permissions: + contents: write + pages: write + id-token: write + on: pull_request: branches: @@ -38,14 +43,14 @@ jobs: run: | echo "GIT_PYTHON_REFRESH=quiet" make build-docs-website - - name: Release preview to branch - if: "! github.event.pull_request.head.repo.fork " - uses: rossjrw/pr-preview-action@v1 - with: - source-dir: ./dist/ - preview-branch: gh-pages - umbrella-dir: pr-preview - action: auto + # - name: Release preview to branch + # if: "! github.event.pull_request.head.repo.fork " + # uses: rossjrw/pr-preview-action@v1 + # with: + # source-dir: ./dist/ + # preview-branch: gh-pages + # umbrella-dir: pr-preview + # action: auto publish-preview-docs: if: "! github.event.pull_request.head.repo.fork " name: Preview diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 45f7cc4a..29231070 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -17,9 +17,9 @@ jobs: with: ref: gh-pages - name: Setup Pages - uses: actions/configure-pages@v3 + uses: actions/configure-pages@v5 - name: Upload artifact - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v3 with: path: '.' - name: Deploy to GitHub Pages diff --git a/docs/aca/00-workshop-intro/4-prerequisites.md b/docs/aca/00-workshop-intro/4-prerequisites.md index 94a730ee..c2088b0f 100644 --- a/docs/aca/00-workshop-intro/4-prerequisites.md +++ b/docs/aca/00-workshop-intro/4-prerequisites.md @@ -12,7 +12,7 @@ The workshop is divided into separate modules. Each module will guide you throug Make sure you have your development environment set up and configured. 1. An Azure account with an active subscription - [Create an account for free](https://azure.microsoft.com/free/?ref=microsoft.com&utm_source=microsoft.com&utm_medium=docs&utm_campaign=visualstudio){target=_blank} -1. dotnet 6.0 or a higher version - [Install](https://dotnet.microsoft.com/en-us/download){target=_blank} +1. .NET 8 or a higher version - [Install](https://dotnet.microsoft.com/en-us/download){target=_blank} 1. PowerShell 7.0 or higher version (For Windows Users only!) - [Install](https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.4#installing-the-msi-package){target=_blank} 1. Docker Desktop - [Install](https://docs.docker.com/desktop/install/windows-install/){target=_blank} 1. Visual Studio Code - [Install](https://code.visualstudio.com/){target=_blank} diff --git a/docs/aca/01-deploy-api-to-aca/index.md b/docs/aca/01-deploy-api-to-aca/index.md index 922c52be..584e089c 100644 --- a/docs/aca/01-deploy-api-to-aca/index.md +++ b/docs/aca/01-deploy-api-to-aca/index.md @@ -42,12 +42,6 @@ In this module, we will accomplish three objectives: As our workshop takes advantage of microservices, the use case for minimal APIs is given. However, in order to make the workshop a bit more demonstrable, we will, for now, stick with controller-based APIs. - === ".NET 7 or below" - - ```shell - dotnet new webapi -o TasksTracker.TasksManager.Backend.Api - ``` - === ".NET 8 or above" ```shell diff --git a/docs/aca/03-aca-dapr-integration/index.md b/docs/aca/03-aca-dapr-integration/index.md index 21c855ff..6fcf48c3 100644 --- a/docs/aca/03-aca-dapr-integration/index.md +++ b/docs/aca/03-aca-dapr-integration/index.md @@ -68,11 +68,7 @@ You are now ready to run the applications locally using the Dapr sidecar in a se #### 2.2 Test `{{ apps.backend }}` Locally -=== ".NET 6 or below" - - --8<-- "snippets/dapr-run-backend-api.md:basic-dotnet6" - -=== ".NET 7 or above" +=== ".NET 8 or above" --8<-- "snippets/dapr-run-backend-api.md:basic" @@ -131,23 +127,7 @@ You are now ready to run the applications locally using the Dapr sidecar in a se - Install Dapr SDK for .NET Core in the Frontend Web APP, so we can use the service discovery and service invocation offered by Dapr Sidecar. To do so, add below nuget package to the project. - === ".NET 6" - === "TasksTracker.WebPortal.Frontend.Ui.csproj" - - ```xml - - - - ``` - - === ".NET 7" - === "TasksTracker.WebPortal.Frontend.Ui.csproj" - - ```xml hl_lines="9-11" - --8<-- "docs/aca/03-aca-dapr-integration/Frontend.Ui-dotnet7.csproj" - ``` - - === ".NET 8" + === ".NET 8 or above" === "TasksTracker.WebPortal.Frontend.Ui.csproj" ```xml hl_lines="9-11" @@ -156,29 +136,7 @@ You are now ready to run the applications locally using the Dapr sidecar in a se - Next, open the file `Programs.cs` of the Frontend Web App and register the DaprClient as the highlighted below. - === ".NET 6" - === "Program.cs" - - ```csharp hl_lines="11" - namespace TasksTracker.WebPortal.Frontend.Ui - { - public class Program - { - public static void Main(string[] args) - { - var builder = WebApplication.CreateBuilder(args); - // Add services to the container. - builder.Services.AddRazorPages(); - // Code removed for brevity - builder.Services.AddDaprClient(); - var app = builder.Build(); - // Code removed for brevity - } - } - } - ``` - - === ".NET 7 or above" + === ".NET 8 or above" === "Program.cs" ```csharp hl_lines="6" @@ -230,13 +188,7 @@ We are ready now to verify the changes on the Frontend Web App and test locally. - In each of the two terminals previously opened, run the frontend UI and backend API respectively. - === ".NET 6 or below" - - --8<-- "snippets/dapr-run-frontend-webapp.md:basic-dotnet6" - - --8<-- "snippets/dapr-run-backend-api.md:basic-dotnet6" - - === ".NET 7 or above" + === ".NET 8 or above" --8<-- "snippets/dapr-run-frontend-webapp.md:basic" diff --git a/docs/aca/04-aca-dapr-stateapi/Backend.Api-dotnet7.csproj b/docs/aca/04-aca-dapr-stateapi/Backend.Api-dotnet7.csproj deleted file mode 100644 index edbf852a..00000000 --- a/docs/aca/04-aca-dapr-stateapi/Backend.Api-dotnet7.csproj +++ /dev/null @@ -1,15 +0,0 @@ - - - - net7.0 - enable - enable - - - - - - - - - diff --git a/docs/aca/04-aca-dapr-stateapi/index.md b/docs/aca/04-aca-dapr-stateapi/index.md index 112cc7b3..62b6232c 100644 --- a/docs/aca/04-aca-dapr-stateapi/index.md +++ b/docs/aca/04-aca-dapr-stateapi/index.md @@ -32,11 +32,7 @@ Dapr's state management API allows you to save, read, and query key/value pairs To try out the State Management APIs, run the Backend API from VS Code by running the following command. -=== ".NET 6 or below" - - --8<-- "snippets/dapr-run-backend-api.md:basic-dotnet6" - -=== ".NET 7 or above" +=== ".NET 8 or above" --8<-- "snippets/dapr-run-backend-api.md:basic" @@ -125,22 +121,6 @@ Whereas in the previous section we demonstrated using Dapr State Store without c Similar to what we have done in the Frontend Web App, we need to use Dapr Client SDK to manage the state store. Update the below file with the added Dapr package reference: -=== ".NET 6" - === "TasksTracker.TasksManager.Backend.Api.csproj" - - ```xml - - - - ``` - -=== ".NET 7" - === "TasksTracker.TasksManager.Backend.Api.csproj" - - ```xml hl_lines="10" - --8<-- "docs/aca/04-aca-dapr-stateapi/Backend.Api-dotnet7.csproj" - ``` - === ".NET 8" === "TasksTracker.TasksManager.Backend.Api.csproj" @@ -315,11 +295,7 @@ This will instruct dapr to load the local projects components located at **./com If you have been using the dapr cli commands instead of the aforementioned debugging then you will need to execute the backend api with the resources-path property as follows. -=== ".NET 6 or below" - - --8<-- "snippets/dapr-run-backend-api.md:dapr-components-dotnet6" - -=== ".NET 7 or above" +=== ".NET 8 or above" --8<-- "snippets/dapr-run-backend-api.md:dapr-components" diff --git a/docs/aca/05-aca-dapr-pubsubapi/Backend.Svc-dotnet7.csproj b/docs/aca/05-aca-dapr-pubsubapi/Backend.Svc-dotnet7.csproj deleted file mode 100644 index bd909727..00000000 --- a/docs/aca/05-aca-dapr-pubsubapi/Backend.Svc-dotnet7.csproj +++ /dev/null @@ -1,15 +0,0 @@ - - - - net7.0 - enable - enable - - - - - - - - - \ No newline at end of file diff --git a/docs/aca/05-aca-dapr-pubsubapi/Program-dotnet6.cs b/docs/aca/05-aca-dapr-pubsubapi/Program-dotnet6.cs deleted file mode 100644 index fcadf6ab..00000000 --- a/docs/aca/05-aca-dapr-pubsubapi/Program-dotnet6.cs +++ /dev/null @@ -1,19 +0,0 @@ -namespace TasksTracker.Processor.Backend.Svc -{ - public class Program - { - public static void Main(string[] args) - { - var builder = WebApplication.CreateBuilder(args); - // Add services to the container. - builder.Services.AddControllers().AddDapr(); - var app = builder.Build(); - app.UseHttpsRedirection(); - app.UseAuthorization(); - app.UseCloudEvents(); - app.MapControllers(); - app.MapSubscribeHandler(); - app.Run(); - } - } -} \ No newline at end of file diff --git a/docs/aca/05-aca-dapr-pubsubapi/index.md b/docs/aca/05-aca-dapr-pubsubapi/index.md index f1a13209..033eaca0 100644 --- a/docs/aca/05-aca-dapr-pubsubapi/index.md +++ b/docs/aca/05-aca-dapr-pubsubapi/index.md @@ -50,11 +50,7 @@ However, we want to have more control and provide our own component file, so let To try out the Pub/Sub API, run the Backend API from VS Code by running the below command or using the Run and Debug tasks we have created in the [appendix](../30-appendix/01-run-debug-dapr-app-vscode.md). -=== ".NET 6 or below" - - --8<-- "snippets/dapr-run-backend-api.md:dapr-components-dotnet6" - -=== ".NET 7 or above" +=== ".NET 8 or above" --8<-- "snippets/dapr-run-backend-api.md:dapr-components" @@ -102,12 +98,6 @@ Now we will add a new ASP.NET Core Web API project named **TasksTracker.Processo As our workshop takes advantage of microservices, the use case for minimal APIs is given. However, in order to make the workshop a bit more demonstrable, we will, for now, stick with controller-based APIs. -=== ".NET 7 or below" - - ```shell - dotnet new webapi -o TasksTracker.Processor.Backend.Svc - ``` - === ".NET 8 or above" ```shell @@ -135,25 +125,7 @@ Now we will add the model which will be used to deserialize the published messag Now we will install Dapr SDK to be able to subscribe to the service broker topic in a programmatic way. Add the highlighted NuGet package to the file shown below: -=== ".NET 6" - - === "TasksTracker.Processor.Backend.Svc.csproj" - - ```xml - - - - ``` - -=== ".NET 7" - - === "TasksTracker.Processor.Backend.Svc.csproj" - - ```xml hl_lines="10" - --8<-- "docs/aca/05-aca-dapr-pubsubapi/Backend.Svc-dotnet7.csproj" - ``` - -=== ".NET 8" +=== ".NET 8 or above" === "TasksTracker.Processor.Backend.Svc.csproj" @@ -211,15 +183,7 @@ In our case, a sample response will be as follows: Update below file in **TasksTracker.Processor.Backend.Svc** project. -=== ".NET 6" - - === "Program.cs" - - ```csharp hl_lines="9 13 15" - --8<-- "docs/aca/05-aca-dapr-pubsubapi/Program-dotnet6.cs" - ``` - -=== ".NET 7 or above" +=== ".NET 8 or above" === "Program.cs" @@ -257,12 +221,7 @@ To do so, run the below commands in two separate PowerShell console, ensure you --8<-- "snippets/restore-variables.md:7:11" -=== ".NET 6 or below" - - --8<-- "snippets/dapr-run-backend-api.md:dapr-components-dotnet6" - --8<-- "snippets/dapr-run-backend-service.md:dapr-components-dotnet6" - -=== ".NET 7 or above" +=== ".NET 8 or above" --8<-- "snippets/dapr-run-backend-api.md:dapr-components" --8<-- "snippets/dapr-run-backend-service.md:dapr-components" @@ -418,12 +377,7 @@ With all those bits in place, we are ready to run the publisher service `Backend !!! note Ensure you are on the right root folder of each respective project. -=== ".NET 6 or below" - - --8<-- "snippets/dapr-run-backend-api.md:dapr-components-dotnet6" - --8<-- "snippets/dapr-run-backend-service.md:dapr-components-dotnet6" - -=== ".NET 7 or above" +=== ".NET 8 or above" --8<-- "snippets/dapr-run-backend-api.md:dapr-components" --8<-- "snippets/dapr-run-backend-service.md:dapr-components" diff --git a/docs/aca/06-aca-dapr-bindingsapi/index.md b/docs/aca/06-aca-dapr-bindingsapi/index.md index 998bd930..cafd1ffb 100644 --- a/docs/aca/06-aca-dapr-bindingsapi/index.md +++ b/docs/aca/06-aca-dapr-bindingsapi/index.md @@ -212,13 +212,7 @@ Now we are ready to give it an end-to-end test on our dev machines. To do so, ru --8<-- "snippets/restore-variables.md:7:11" -=== ".NET 6 or below" - - --8<-- "snippets/dapr-run-frontend-webapp.md:basic-dotnet6" - --8<-- "snippets/dapr-run-backend-api.md:dapr-components-dotnet6" - --8<-- "snippets/dapr-run-backend-service.md:dapr-components-dotnet6" - -=== ".NET 7 or above" +=== ".NET 8 or above" --8<-- "snippets/dapr-run-frontend-webapp.md:basic" --8<-- "snippets/dapr-run-backend-api.md:dapr-components" diff --git a/docs/aca/08-aca-monitoring/Backend.Api-dotnet7.csproj b/docs/aca/08-aca-monitoring/Backend.Api-dotnet7.csproj deleted file mode 100644 index e8f6efbd..00000000 --- a/docs/aca/08-aca-monitoring/Backend.Api-dotnet7.csproj +++ /dev/null @@ -1,16 +0,0 @@ - - - - net7.0 - enable - enable - - - - - - - - - - diff --git a/docs/aca/08-aca-monitoring/Backend.Svc-dotnet7.csproj b/docs/aca/08-aca-monitoring/Backend.Svc-dotnet7.csproj deleted file mode 100644 index 32ac7db4..00000000 --- a/docs/aca/08-aca-monitoring/Backend.Svc-dotnet7.csproj +++ /dev/null @@ -1,16 +0,0 @@ - - - - net7.0 - enable - enable - - - - - - - - - - \ No newline at end of file diff --git a/docs/aca/08-aca-monitoring/Frontend.Ui-dotnet7.csproj b/docs/aca/08-aca-monitoring/Frontend.Ui-dotnet7.csproj deleted file mode 100644 index 54b9ee54..00000000 --- a/docs/aca/08-aca-monitoring/Frontend.Ui-dotnet7.csproj +++ /dev/null @@ -1,14 +0,0 @@ - - - - net7.0 - enable - enable - - - - - - - - diff --git a/docs/aca/08-aca-monitoring/index.md b/docs/aca/08-aca-monitoring/index.md index 05c4411a..f31b9e42 100644 --- a/docs/aca/08-aca-monitoring/index.md +++ b/docs/aca/08-aca-monitoring/index.md @@ -51,54 +51,7 @@ Our next step is to incorporate the Application Insights SDK into the **three mi To incorporate the SDK, use the NuGet reference below in the `csproj` file of the Backend API project. You may locate the csproj file in the project directory **TasksTracker.TasksManager.Backend.Api**: -=== ".NET 6" - === "TasksTracker.TasksManager.Backend.Api.csproj" - - ```xml hl_lines="3" - - - - - ``` - - === "TasksTracker.TasksManager.Backend.Svc.csproj" - - ```xml hl_lines="3" - - - - - ``` - - === "TasksTracker.TasksManager.Frontend.Ui.csproj" - - ```xml hl_lines="3" - - - - - ``` - -=== ".NET 7" - === "TasksTracker.TasksManager.Backend.Api.csproj" - - ```xml hl_lines="11" - --8<-- "docs/aca/08-aca-monitoring/Backend.Api-dotnet7.csproj" - ``` - - === "TasksTracker.TasksManager.Backend.Svc.csproj" - - ```xml hl_lines="11" - --8<-- "docs/aca/08-aca-monitoring/Backend.Svc-dotnet7.csproj" - ``` - - === "TasksTracker.TasksManager.Frontend.Ui.csproj" - - ```xml hl_lines="11" - --8<-- "docs/aca/08-aca-monitoring/Frontend.Ui-dotnet7.csproj" - ``` - -=== ".NET 8" +=== ".NET 8 or above" === "TasksTracker.TasksManager.Backend.Api.csproj" ```xml hl_lines="12" diff --git a/docs/aca/30-appendix/01-run-debug-dapr-app-vscode.md b/docs/aca/30-appendix/01-run-debug-dapr-app-vscode.md index 3dee98b0..3f430c49 100644 --- a/docs/aca/30-appendix/01-run-debug-dapr-app-vscode.md +++ b/docs/aca/30-appendix/01-run-debug-dapr-app-vscode.md @@ -17,9 +17,6 @@ To accomplish this, open file `launch.json` and add the two configurations shown ```json --8<-- "https://raw.githubusercontent.com/Azure/aca-dotnet-workshop/main/.vscode/launch.json" ``` -!!! note - The configuration below assumes that you are using **.net 6**. If you are using a different .net version make sure you update the paths to use the correct version. - For example if using .net 7 then change the path to say net7.0 instead of net6.0. === "launch.json" diff --git a/snippets/containerize-app.md b/snippets/containerize-app.md index 295dd171..dac3e796 100644 --- a/snippets/containerize-app.md +++ b/snippets/containerize-app.md @@ -13,4 +13,5 @@ !!! bug "Dockerfile Build Platform" - Azure Container Registry does not set `$BUILDPLATFORM` presently when building containers. This consequently causes the build to fail. See [this issue](https://github.com/microsoft/vscode-docker/issues/4149){target=_blank} for details. Therefore, we remove it from the file for the time being. We expect this to be corrected in the future. \ No newline at end of file + Azure Container Registry does not set `$BUILDPLATFORM` presently when building containers. This consequently causes the build to fail. See [this issue](https://github.com/microsoft/vscode-docker/issues/4149){target=_blank} for details. Therefore, we remove it from the file for the time being. We expect this to be corrected in the future. + \ No newline at end of file diff --git a/snippets/dapr-run-backend-api.md b/snippets/dapr-run-backend-api.md index b2888fcd..67d2748a 100644 --- a/snippets/dapr-run-backend-api.md +++ b/snippets/dapr-run-backend-api.md @@ -26,34 +26,3 @@ dapr run ` -- dotnet run --launch-profile https ``` --8<-- [end:dapr-components] - - - - ---8<-- [start:basic-dotnet6] -```shell -cd ~\TasksTracker.ContainerApps\TasksTracker.TasksManager.Backend.Api - -dapr run ` ---app-id tasksmanager-backend-api ` ---app-port $API_APP_PORT ` ---dapr-http-port 3500 ` ---app-ssl ` --- dotnet run -``` ---8<-- [end:basic-dotnet6] - - ---8<-- [start:dapr-components-dotnet6] -```shell -cd ~\TasksTracker.ContainerApps\TasksTracker.TasksManager.Backend.Api - -dapr run ` ---app-id tasksmanager-backend-api ` ---app-port $API_APP_PORT ` ---dapr-http-port 3500 ` ---app-ssl ` ---resources-path "../components" ` --- dotnet run -``` ---8<-- [end:dapr-components-dotnet6] diff --git a/snippets/dapr-run-backend-service.md b/snippets/dapr-run-backend-service.md index de92fb07..fcb1e091 100644 --- a/snippets/dapr-run-backend-service.md +++ b/snippets/dapr-run-backend-service.md @@ -12,20 +12,3 @@ dapr run ` -- dotnet run --launch-profile https ``` --8<-- [end:dapr-components] - - - - ---8<-- [start:dapr-components-dotnet6] -```shell -cd ~\TasksTracker.ContainerApps\TasksTracker.Processor.Backend.Svc - -dapr run ` ---app-id tasksmanager-backend-processor ` ---app-port $BACKEND_SERVICE_APP_PORT ` ---dapr-http-port 3502 ` ---app-ssl ` ---resources-path "../components" ` --- dotnet run -``` ---8<-- [end:dapr-components-dotnet6] diff --git a/snippets/dapr-run-frontend-webapp.md b/snippets/dapr-run-frontend-webapp.md index b07c2583..eb7b972f 100644 --- a/snippets/dapr-run-frontend-webapp.md +++ b/snippets/dapr-run-frontend-webapp.md @@ -11,19 +11,3 @@ dapr run ` -- dotnet run --launch-profile https ``` --8<-- [end:basic] - - - - ---8<-- [start:basic-dotnet6] -```shell -cd ~\TasksTracker.ContainerApps\TasksTracker.WebPortal.Frontend.Ui - -dapr run ` ---app-id tasksmanager-frontend-webapp ` ---app-port $UI_APP_PORT ` ---dapr-http-port 3501 ` ---app-ssl ` --- dotnet run -``` ---8<-- [end:basic-dotnet6]