From da021566800579bd5f56ea38d2cd1219b055758c Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 28 Aug 2026 11:23:57 +0000 Subject: [PATCH] chore: solution skeleton with Core/Persistence/Api/Tests projects --- .gitignore | 14 ++++ VolcanicCore.sln | 84 +++++++++++++++++++ global.json | 1 + src/VolcanicCore.Api/Program.cs | 6 ++ .../Properties/launchSettings.json | 23 +++++ src/VolcanicCore.Api/VolcanicCore.Api.csproj | 19 +++++ .../appsettings.Development.json | 8 ++ src/VolcanicCore.Api/appsettings.json | 9 ++ .../VolcanicCore.Core.csproj | 9 ++ .../VolcanicCore.Persistence.csproj | 17 ++++ tests/VolcanicCore.Tests/UnitTest1.cs | 10 +++ .../VolcanicCore.Tests.csproj | 28 +++++++ 12 files changed, 228 insertions(+) create mode 100644 .gitignore create mode 100644 VolcanicCore.sln create mode 100644 global.json create mode 100644 src/VolcanicCore.Api/Program.cs create mode 100644 src/VolcanicCore.Api/Properties/launchSettings.json create mode 100644 src/VolcanicCore.Api/VolcanicCore.Api.csproj create mode 100644 src/VolcanicCore.Api/appsettings.Development.json create mode 100644 src/VolcanicCore.Api/appsettings.json create mode 100644 src/VolcanicCore.Core/VolcanicCore.Core.csproj create mode 100644 src/VolcanicCore.Persistence/VolcanicCore.Persistence.csproj create mode 100644 tests/VolcanicCore.Tests/UnitTest1.cs create mode 100644 tests/VolcanicCore.Tests/VolcanicCore.Tests.csproj diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c4cf37a --- /dev/null +++ b/.gitignore @@ -0,0 +1,14 @@ +## .NET build artifacts +bin/ +obj/ + +## User-specific files +*.user +*.suo + +## Rider / VS +.idea/ +.vs/ + +## OS files +.DS_Store diff --git a/VolcanicCore.sln b/VolcanicCore.sln new file mode 100644 index 0000000..bd6551e --- /dev/null +++ b/VolcanicCore.sln @@ -0,0 +1,84 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{827E0CD3-B72D-47B6-A68D-7590B98EB39B}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VolcanicCore.Core", "src\VolcanicCore.Core\VolcanicCore.Core.csproj", "{49D4C763-D981-4D37-9D6A-375BC287BD08}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VolcanicCore.Persistence", "src\VolcanicCore.Persistence\VolcanicCore.Persistence.csproj", "{D28E8179-24A2-4334-BA8E-1F8631826A07}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VolcanicCore.Api", "src\VolcanicCore.Api\VolcanicCore.Api.csproj", "{819B0D84-A389-408B-91D0-32D2F67BB23F}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VolcanicCore.Tests", "tests\VolcanicCore.Tests\VolcanicCore.Tests.csproj", "{FAA6DA23-2FD7-412B-8C05-36D09DD0A2D5}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|Any CPU = Release|Any CPU + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {49D4C763-D981-4D37-9D6A-375BC287BD08}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {49D4C763-D981-4D37-9D6A-375BC287BD08}.Debug|Any CPU.Build.0 = Debug|Any CPU + {49D4C763-D981-4D37-9D6A-375BC287BD08}.Debug|x64.ActiveCfg = Debug|Any CPU + {49D4C763-D981-4D37-9D6A-375BC287BD08}.Debug|x64.Build.0 = Debug|Any CPU + {49D4C763-D981-4D37-9D6A-375BC287BD08}.Debug|x86.ActiveCfg = Debug|Any CPU + {49D4C763-D981-4D37-9D6A-375BC287BD08}.Debug|x86.Build.0 = Debug|Any CPU + {49D4C763-D981-4D37-9D6A-375BC287BD08}.Release|Any CPU.ActiveCfg = Release|Any CPU + {49D4C763-D981-4D37-9D6A-375BC287BD08}.Release|Any CPU.Build.0 = Release|Any CPU + {49D4C763-D981-4D37-9D6A-375BC287BD08}.Release|x64.ActiveCfg = Release|Any CPU + {49D4C763-D981-4D37-9D6A-375BC287BD08}.Release|x64.Build.0 = Release|Any CPU + {49D4C763-D981-4D37-9D6A-375BC287BD08}.Release|x86.ActiveCfg = Release|Any CPU + {49D4C763-D981-4D37-9D6A-375BC287BD08}.Release|x86.Build.0 = Release|Any CPU + {D28E8179-24A2-4334-BA8E-1F8631826A07}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D28E8179-24A2-4334-BA8E-1F8631826A07}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D28E8179-24A2-4334-BA8E-1F8631826A07}.Debug|x64.ActiveCfg = Debug|Any CPU + {D28E8179-24A2-4334-BA8E-1F8631826A07}.Debug|x64.Build.0 = Debug|Any CPU + {D28E8179-24A2-4334-BA8E-1F8631826A07}.Debug|x86.ActiveCfg = Debug|Any CPU + {D28E8179-24A2-4334-BA8E-1F8631826A07}.Debug|x86.Build.0 = Debug|Any CPU + {D28E8179-24A2-4334-BA8E-1F8631826A07}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D28E8179-24A2-4334-BA8E-1F8631826A07}.Release|Any CPU.Build.0 = Release|Any CPU + {D28E8179-24A2-4334-BA8E-1F8631826A07}.Release|x64.ActiveCfg = Release|Any CPU + {D28E8179-24A2-4334-BA8E-1F8631826A07}.Release|x64.Build.0 = Release|Any CPU + {D28E8179-24A2-4334-BA8E-1F8631826A07}.Release|x86.ActiveCfg = Release|Any CPU + {D28E8179-24A2-4334-BA8E-1F8631826A07}.Release|x86.Build.0 = Release|Any CPU + {819B0D84-A389-408B-91D0-32D2F67BB23F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {819B0D84-A389-408B-91D0-32D2F67BB23F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {819B0D84-A389-408B-91D0-32D2F67BB23F}.Debug|x64.ActiveCfg = Debug|Any CPU + {819B0D84-A389-408B-91D0-32D2F67BB23F}.Debug|x64.Build.0 = Debug|Any CPU + {819B0D84-A389-408B-91D0-32D2F67BB23F}.Debug|x86.ActiveCfg = Debug|Any CPU + {819B0D84-A389-408B-91D0-32D2F67BB23F}.Debug|x86.Build.0 = Debug|Any CPU + {819B0D84-A389-408B-91D0-32D2F67BB23F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {819B0D84-A389-408B-91D0-32D2F67BB23F}.Release|Any CPU.Build.0 = Release|Any CPU + {819B0D84-A389-408B-91D0-32D2F67BB23F}.Release|x64.ActiveCfg = Release|Any CPU + {819B0D84-A389-408B-91D0-32D2F67BB23F}.Release|x64.Build.0 = Release|Any CPU + {819B0D84-A389-408B-91D0-32D2F67BB23F}.Release|x86.ActiveCfg = Release|Any CPU + {819B0D84-A389-408B-91D0-32D2F67BB23F}.Release|x86.Build.0 = Release|Any CPU + {FAA6DA23-2FD7-412B-8C05-36D09DD0A2D5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FAA6DA23-2FD7-412B-8C05-36D09DD0A2D5}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FAA6DA23-2FD7-412B-8C05-36D09DD0A2D5}.Debug|x64.ActiveCfg = Debug|Any CPU + {FAA6DA23-2FD7-412B-8C05-36D09DD0A2D5}.Debug|x64.Build.0 = Debug|Any CPU + {FAA6DA23-2FD7-412B-8C05-36D09DD0A2D5}.Debug|x86.ActiveCfg = Debug|Any CPU + {FAA6DA23-2FD7-412B-8C05-36D09DD0A2D5}.Debug|x86.Build.0 = Debug|Any CPU + {FAA6DA23-2FD7-412B-8C05-36D09DD0A2D5}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FAA6DA23-2FD7-412B-8C05-36D09DD0A2D5}.Release|Any CPU.Build.0 = Release|Any CPU + {FAA6DA23-2FD7-412B-8C05-36D09DD0A2D5}.Release|x64.ActiveCfg = Release|Any CPU + {FAA6DA23-2FD7-412B-8C05-36D09DD0A2D5}.Release|x64.Build.0 = Release|Any CPU + {FAA6DA23-2FD7-412B-8C05-36D09DD0A2D5}.Release|x86.ActiveCfg = Release|Any CPU + {FAA6DA23-2FD7-412B-8C05-36D09DD0A2D5}.Release|x86.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(NestedProjects) = preSolution + {49D4C763-D981-4D37-9D6A-375BC287BD08} = {827E0CD3-B72D-47B6-A68D-7590B98EB39B} + {D28E8179-24A2-4334-BA8E-1F8631826A07} = {827E0CD3-B72D-47B6-A68D-7590B98EB39B} + {819B0D84-A389-408B-91D0-32D2F67BB23F} = {827E0CD3-B72D-47B6-A68D-7590B98EB39B} + {FAA6DA23-2FD7-412B-8C05-36D09DD0A2D5} = {827E0CD3-B72D-47B6-A68D-7590B98EB39B} + EndGlobalSection +EndGlobal diff --git a/global.json b/global.json new file mode 100644 index 0000000..5d044d4 --- /dev/null +++ b/global.json @@ -0,0 +1 @@ +{ "sdk": { "version": "9.0.100", "rollForward": "latestFeature" } } diff --git a/src/VolcanicCore.Api/Program.cs b/src/VolcanicCore.Api/Program.cs new file mode 100644 index 0000000..a5cb996 --- /dev/null +++ b/src/VolcanicCore.Api/Program.cs @@ -0,0 +1,6 @@ +var builder = WebApplication.CreateBuilder(args); +var app = builder.Build(); +app.MapGet("/api/health", () => Results.Ok(new { ok = true })); +app.Run(); + +public partial class Program { } diff --git a/src/VolcanicCore.Api/Properties/launchSettings.json b/src/VolcanicCore.Api/Properties/launchSettings.json new file mode 100644 index 0000000..c402831 --- /dev/null +++ b/src/VolcanicCore.Api/Properties/launchSettings.json @@ -0,0 +1,23 @@ +{ + "$schema": "https://json.schemastore.org/launchsettings.json", + "profiles": { + "http": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": true, + "applicationUrl": "http://localhost:5208", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + }, + "https": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": true, + "applicationUrl": "https://localhost:7223;http://localhost:5208", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + } + } +} diff --git a/src/VolcanicCore.Api/VolcanicCore.Api.csproj b/src/VolcanicCore.Api/VolcanicCore.Api.csproj new file mode 100644 index 0000000..651e4bb --- /dev/null +++ b/src/VolcanicCore.Api/VolcanicCore.Api.csproj @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + net9.0 + enable + enable + + + diff --git a/src/VolcanicCore.Api/appsettings.Development.json b/src/VolcanicCore.Api/appsettings.Development.json new file mode 100644 index 0000000..ff66ba6 --- /dev/null +++ b/src/VolcanicCore.Api/appsettings.Development.json @@ -0,0 +1,8 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + } +} diff --git a/src/VolcanicCore.Api/appsettings.json b/src/VolcanicCore.Api/appsettings.json new file mode 100644 index 0000000..4d56694 --- /dev/null +++ b/src/VolcanicCore.Api/appsettings.json @@ -0,0 +1,9 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + }, + "AllowedHosts": "*" +} diff --git a/src/VolcanicCore.Core/VolcanicCore.Core.csproj b/src/VolcanicCore.Core/VolcanicCore.Core.csproj new file mode 100644 index 0000000..125f4c9 --- /dev/null +++ b/src/VolcanicCore.Core/VolcanicCore.Core.csproj @@ -0,0 +1,9 @@ + + + + net9.0 + enable + enable + + + diff --git a/src/VolcanicCore.Persistence/VolcanicCore.Persistence.csproj b/src/VolcanicCore.Persistence/VolcanicCore.Persistence.csproj new file mode 100644 index 0000000..82fd813 --- /dev/null +++ b/src/VolcanicCore.Persistence/VolcanicCore.Persistence.csproj @@ -0,0 +1,17 @@ + + + + + + + + + + + + net9.0 + enable + enable + + + diff --git a/tests/VolcanicCore.Tests/UnitTest1.cs b/tests/VolcanicCore.Tests/UnitTest1.cs new file mode 100644 index 0000000..1cb3a92 --- /dev/null +++ b/tests/VolcanicCore.Tests/UnitTest1.cs @@ -0,0 +1,10 @@ +namespace VolcanicCore.Tests; + +public class UnitTest1 +{ + [Fact] + public void Test1() + { + + } +} diff --git a/tests/VolcanicCore.Tests/VolcanicCore.Tests.csproj b/tests/VolcanicCore.Tests/VolcanicCore.Tests.csproj new file mode 100644 index 0000000..568c8e5 --- /dev/null +++ b/tests/VolcanicCore.Tests/VolcanicCore.Tests.csproj @@ -0,0 +1,28 @@ + + + + net9.0 + enable + enable + false + + + + + + + + + + + + + + + + + + + + +