Skip to content

Commit

Permalink
Merge pull request #76 from DuendeSoftware/joe/run-from-vs-code
Browse files Browse the repository at this point in the history
Move access token management launch config
  • Loading branch information
josephdecock authored Dec 17, 2024
2 parents 07b1117 + d2eef28 commit 4753c91
Show file tree
Hide file tree
Showing 4 changed files with 109 additions and 89 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,5 @@ tools/
# Rider
.idea

# Visual Studio Code workspace options
.vscode

# Verify Tests
*.received.*
97 changes: 97 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "--- Access Token Management ---",
"type": "node",
"request": "launch",
"presentation": {
"group": "0_atm",
"order": 0
}
},
{
"name": "BlazorServer",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build-atm-blazorServer",
"program": "${workspaceFolder}/access-token-management/samples/BlazorServer/bin/Debug/net8.0/BlazorServer.dll",
"args": [],
"cwd": "${workspaceFolder}/access-token-management/samples/BlazorServer",
"env": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"console": "externalTerminal",
"presentation": {
"group": "0_atm",
}
},
{
"name": "Web",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build-atm-web",
"program": "${workspaceFolder}/access-token-management/samples/Web/bin/Debug/net8.0/Web.dll",
"args": [],
"cwd": "${workspaceFolder}/access-token-management/samples/Web",
"env": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"console": "externalTerminal",
"presentation": {
"group": "0_atm",
}
},
{
"name": "WebJarJwt",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build-atm-webJarJwt",
"program": "${workspaceFolder}/access-token-management/samples/WebJarJwt/bin/Debug/net8.0/WebJarJwt.dll",
"args": [],
"cwd": "${workspaceFolder}/access-token-management/samples/WebJarJwt",
"env": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"console": "externalTerminal",
"presentation": {
"group": "0_atm",
}
},
{
"name": "Worker",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build-atm-worker",
"program": "${workspaceFolder}/access-token-management/samples/Worker/bin/Debug/net8.0/Worker.dll",
"args": [],
"cwd": "${workspaceFolder}/access-token-management/samples/Worker",
"env": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"console": "externalTerminal",
"presentation": {
"group": "0_atm",
}
},
{
"name": "WorkerDI",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build-atm-workerDI",
"program": "${workspaceFolder}/access-token-management/samples/WorkerDI/bin/Debug/net8.0/WorkerDI.dll",
"args": [],
"cwd": "${workspaceFolder}/access-token-management/samples/WorkerDI",
"env": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"console": "externalTerminal",
"presentation": {
"group": "0_atm",
}
}
]
}
24 changes: 12 additions & 12 deletions access-token-management/.vscode/tasks.json → .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,72 +2,72 @@
"version": "2.0.0",
"tasks": [
{
"label": "build",
"label": "build-atm",
"type": "process",
"command": "dotnet",
"args": [
"build",
"${workspaceFolder}",
"${workspaceFolder}/access-token-management",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "build-web",
"label": "build-atm-web",
"type": "process",
"command": "dotnet",
"args": [
"build",
"${workspaceFolder}/samples/Web/Web.csproj",
"${workspaceFolder}/access-token-management/samples/Web/Web.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "build-blazorServer",
"label": "build-atm-blazorServer",
"type": "process",
"command": "dotnet",
"args": [
"build",
"${workspaceFolder}/samples/BlazorServer/BlazorServer.csproj",
"${workspaceFolder}/access-token-management/samples/BlazorServer/BlazorServer.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "build-webJarJwt",
"label": "build-atm-webJarJwt",
"type": "process",
"command": "dotnet",
"args": [
"build",
"${workspaceFolder}/samples/WebJarJwt/WebJarJwt.csproj",
"${workspaceFolder}/access-token-management/samples/WebJarJwt/WebJarJwt.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "build-worker",
"label": "build-atm-worker",
"type": "process",
"command": "dotnet",
"args": [
"build",
"${workspaceFolder}/samples/Worker/Worker.csproj",
"${workspaceFolder}/access-token-management/samples/Worker/Worker.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "build-workerDI",
"label": "build-atm-workerDI",
"type": "process",
"command": "dotnet",
"args": [
"build",
"${workspaceFolder}/samples/WorkerDI/WorkerDI.csproj",
"${workspaceFolder}/access-token-management/samples/WorkerDI/WorkerDI.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
Expand Down
74 changes: 0 additions & 74 deletions access-token-management/.vscode/launch.json

This file was deleted.

0 comments on commit 4753c91

Please sign in to comment.