refacts, and launching Blogs

This commit is contained in:
Paul Schneider 2026-06-04 22:04:20 +01:00
commit 80144bf9fc
11 changed files with 417 additions and 113 deletions

55
.vscode/launch.json vendored
View file

@ -4,6 +4,44 @@
// Pour plus d'informations, visitez : https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": ".NET API",
"type": "coreclr",
"request": "launch",
"program": "${workspaceFolder}/src/Api/bin/Debug/net10.0/Api.dll",
"args": [],
"cwd": "${workspaceFolder}/src/Api",
"serverReadyAction": {
"pattern": "\\bNow listening on:\\s+(https?://\\S+)"
},
"env": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"envFile": "${workspaceFolder}/src/Api/.env"
},
{
"name": "C#: API Debug",
"type": "dotnet",
"request": "launch",
"projectPath": "${workspaceFolder}/src/Api/Api.csproj"
},
{
"name": "Blogs",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/src/Yavsc.Blogs/bin/Debug/net10.0/Yavsc.Blogs.dll",
"args": [],
"cwd": "${workspaceFolder}/src/Yavsc.Blogs/",
"stopAtEntry": false,
"serverReadyAction": {
"action": "openExternally",
"pattern": "\\bNow listening on:\\s+(https?://\\S+)"
},
"env": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
{
"name": "C#: Yavsc.Org Debug",
"type": "dotnet",
@ -26,8 +64,9 @@
"env": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"envFile": "${workspaceFolder}/src/Yavsc.Org/.env",
"sourceFileMap": {
"/Views": "${workspaceFolder}/Views"
"/Views": "${workspaceFolder}/src/Yavsc.Org/Views"
}
},
{
@ -58,21 +97,9 @@
"ASPNETCORE_ENVIRONMENT": "Development"
},
"sourceFileMap": {
"/Views": "${workspaceFolder}/src/Web/Views"
"/Views": "${workspaceFolder}/src/Yavsc.Web/Views"
}
},
{
"name": "Api",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build-webapi",
"program": "${workspaceFolder}/src/Api/bin/Debug/net10.0/Api.dll",
"args": [],
"cwd": "${workspaceFolder}/src/Api",
"stopAtEntry": false,
"console": "internalConsole"
},
{
"name": "PostIt",
"type": "dotnet",