-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/ardalis/CleanArchitecture
- Loading branch information
Showing
19 changed files
with
218 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
// Use IntelliSense to find out which attributes exist for C# debugging | ||
// Use hover for the description of the existing attributes | ||
// For further information visit https://github.com/dotnet/vscode-csharp/blob/main/debugger-launchjson.md. | ||
"name": ".NET Core Launch (web)", | ||
"type": "coreclr", | ||
"request": "launch", | ||
"preLaunchTask": "build", | ||
// If you have changed target frameworks, make sure to update the program path. | ||
"program": "${workspaceFolder}/src/Clean.Architecture.Web/bin/Debug/net7.0/Clean.Architecture.Web.dll", | ||
"args": [], | ||
"cwd": "${workspaceFolder}/src/Clean.Architecture.Web", | ||
"stopAtEntry": false, | ||
// Enable launching a web browser when ASP.NET Core starts. For more information: https://aka.ms/VSCode-CS-LaunchJson-WebBrowser | ||
"serverReadyAction": { | ||
"action": "openExternally", | ||
"pattern": "\\bNow listening on:\\s+(https?://\\S+)" | ||
}, | ||
"env": { | ||
"ASPNETCORE_ENVIRONMENT": "Development" | ||
}, | ||
"sourceFileMap": { | ||
"/Views": "${workspaceFolder}/Views" | ||
} | ||
}, | ||
{ | ||
"name": ".NET Core Attach", | ||
"type": "coreclr", | ||
"request": "attach" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "build", | ||
"command": "dotnet", | ||
"type": "process", | ||
"args": [ | ||
"build", | ||
"${workspaceFolder}/Clean.Architecture.sln", | ||
"/property:GenerateFullPaths=true", | ||
"/consoleloggerparameters:NoSummary;ForceNoAlign" | ||
], | ||
"problemMatcher": "$msCompile" | ||
}, | ||
{ | ||
"label": "publish", | ||
"command": "dotnet", | ||
"type": "process", | ||
"args": [ | ||
"publish", | ||
"${workspaceFolder}/Clean.Architecture.sln", | ||
"/property:GenerateFullPaths=true", | ||
"/consoleloggerparameters:NoSummary;ForceNoAlign" | ||
], | ||
"problemMatcher": "$msCompile" | ||
}, | ||
{ | ||
"label": "watch", | ||
"command": "dotnet", | ||
"type": "process", | ||
"args": [ | ||
"watch", | ||
"run", | ||
"--project", | ||
"${workspaceFolder}/Clean.Architecture.sln" | ||
], | ||
"problemMatcher": "$msCompile" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
sample/src/NimblePros.SampleToDo.UseCases/NimblePros.SampleToDo.UseCases.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# For more info on HTTP files go to https://aka.ms/vs/httpfile | ||
@hostname=localhost | ||
@port=57678 | ||
|
||
// List all contributors | ||
GET http://{{hostname}}:{{port}}/Contributors | ||
|
||
### | ||
|
||
// Get a specific contributor | ||
@id_to_get=1 | ||
GET http://{{hostname}}:{{port}}/Contributors/{{id_to_get}} | ||
|
||
### | ||
|
||
// Add a new contributor | ||
POST http://{{hostname}}:{{port}}/Contributors | ||
Content-Type: application/json | ||
|
||
{ | ||
"name": "John Doe" | ||
} | ||
|
||
### | ||
|
||
// Update a contributor | ||
@id_to_update=1 | ||
PUT http://{{hostname}}:{{port}}/Contributors/{{id_to_update}} | ||
Content-Type: application/json | ||
|
||
{ | ||
"id": {{id_to_update}}, | ||
"name": "ardalis2" | ||
} | ||
|
||
### | ||
|
||
// Delete a contributor | ||
@id_to_delete=1 | ||
DELETE http://{{hostname}}:{{port}}/Contributors/{{id_to_delete}} | ||
|
||
### | ||
|
||
// List all Projects | ||
GET http://{{hostname}}:{{port}}/Projects | ||
|
||
### | ||
|
||
// Get a specific project | ||
@id_to_get=1 | ||
GET http://{{hostname}}:{{port}}/Projects/{{id_to_get}} | ||
|
||
### | ||
|
||
// Create a new project | ||
POST http://{{hostname}}:{{port}}/Projects | ||
Content-Type: application/json | ||
|
||
{ | ||
"name": "New Project" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# For more info on HTTP files go to https://aka.ms/vs/httpfile | ||
@hostname=localhost | ||
@port=57679 | ||
|
||
// List all contributors | ||
GET http://{{hostname}}:{{port}}/Contributors | ||
|
||
### | ||
|
||
// Get a specific contributor | ||
@id_to_get=1 | ||
GET http://{{hostname}}:{{port}}/Contributors/{{id_to_get}} | ||
|
||
### | ||
|
||
// Add a new contributor | ||
POST http://{{hostname}}:{{port}}/Contributors | ||
Content-Type: application/json | ||
|
||
{ | ||
"name": "John Doe", | ||
"email": "[email protected]" | ||
} | ||
|
||
### | ||
|
||
// Update a contributor | ||
@id_to_update=1 | ||
PUT http://{{hostname}}:{{port}}/Contributors/{{id_to_update}} | ||
Content-Type: application/json | ||
|
||
{ | ||
"id": {{id_to_update}}, | ||
"name": "ardalis2" | ||
} | ||
|
||
### | ||
|
||
// Delete a contributor | ||
@id_to_delete=1 | ||
DELETE http://{{hostname}}:{{port}}/Contributors/{{id_to_delete}} | ||
|
Oops, something went wrong.