From e6d7531a424021adea2b5982c44fd81a80dd4494 Mon Sep 17 00:00:00 2001 From: Malcolm Smith <20709258+msmithNI@users.noreply.github.com> Date: Wed, 30 Oct 2024 17:32:58 -0500 Subject: [PATCH] Update docs, VSCode tasks --- .vscode/tasks.json | 30 +++++++++++++++++++ .../NimbleBlazor/CONTRIBUTING.md | 4 +++ 2 files changed, 34 insertions(+) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index dad6c0eafc..05d998414d 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -111,6 +111,21 @@ }, "problemMatcher": "$msCompile" }, + { + "label": "blazor-hybrid-example:build", + "command": "dotnet", + "type": "process", + "args": [ + "build", + "${workspaceFolder}/packages/blazor-workspace/Examples/Demo.Hybrid/Demo.Hybrid.csproj", + "/property:GenerateFullPaths=true", + "/consoleloggerparameters:NoSummary" + ], + "options": { + "cwd": "${workspaceFolder}/packages/blazor-workspace/Examples/Demo.Hybrid/" + }, + "problemMatcher": "$msCompile" + }, { "label": "blazor-server-example:watch", "command": "dotnet", @@ -141,5 +156,20 @@ }, "problemMatcher": "$msCompile" }, + { + "label": "blazor-hybrid-example:watch", + "command": "dotnet", + "type": "process", + "args": [ + "watch", + "run", + "--project", + "${workspaceFolder}/packages/blazor-workspace/Examples/Demo.Hybrid/Demo.Hybrid.csproj" + ], + "options": { + "cwd": "${workspaceFolder}/packages/blazor-workspace/Examples/Demo.Hybrid/" + }, + "problemMatcher": "$msCompile" + }, ] } \ No newline at end of file diff --git a/packages/blazor-workspace/NimbleBlazor/CONTRIBUTING.md b/packages/blazor-workspace/NimbleBlazor/CONTRIBUTING.md index 6ef1d75144..8f4b6f6a7d 100644 --- a/packages/blazor-workspace/NimbleBlazor/CONTRIBUTING.md +++ b/packages/blazor-workspace/NimbleBlazor/CONTRIBUTING.md @@ -111,6 +111,10 @@ Visual Studio Code commands are included to build and run the example projects. - `blazor-server-example:watch`: Run the `Demo.Server` project in watch mode (to automatically pick up code changes) - `blazor-wasm-example:build`: Build the `Demo.Client` project - `blazor-wasm-example:watch`: Run the `Demo.Client` project in watch mode (to automatically pick up code changes) +- `blazor-hybrid-example:build`: Build the `Demo.Hybrid` project +- `blazor-hybrid-example:watch`: Run the `Demo.Hybrid` project in watch mode (to automatically pick up code changes) + +Also see the [trusting the ASP.NET Core development certificate docs](https://learn.microsoft.com/en-us/aspnet/core/security/enforcing-ssl?view=aspnetcore-8.0&tabs=visual-studio%2Clinux-sles#trust-the-aspnet-core-https-development-certificate-on-windows-and-macos). ## Creating a New Project