commit 60100ec90cb7d8c5c9c3fa3de3cbc64d4b47d446 Author: carteronm Date: Thu Mar 12 14:24:48 2026 +0100 Base diff --git a/.idea/.idea.Knots/.idea/.gitignore b/.idea/.idea.Knots/.idea/.gitignore new file mode 100644 index 0000000..b4b0a9a --- /dev/null +++ b/.idea/.idea.Knots/.idea/.gitignore @@ -0,0 +1,15 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Rider ignored files +/modules.xml +/projectSettingsUpdater.xml +/contentModel.xml +/.idea.Knots.iml +# Ignored default folder with query files +/queries/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml +# Editor-based HTTP Client requests +/httpRequests/ diff --git a/.idea/.idea.Knots/.idea/encodings.xml b/.idea/.idea.Knots/.idea/encodings.xml new file mode 100644 index 0000000..df87cf9 --- /dev/null +++ b/.idea/.idea.Knots/.idea/encodings.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/.idea/.idea.Knots/.idea/indexLayout.xml b/.idea/.idea.Knots/.idea/indexLayout.xml new file mode 100644 index 0000000..7b08163 --- /dev/null +++ b/.idea/.idea.Knots/.idea/indexLayout.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/.idea.Knots/.idea/vcs.xml b/.idea/.idea.Knots/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/.idea.Knots/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Knots.sln b/Knots.sln new file mode 100644 index 0000000..789a4b4 --- /dev/null +++ b/Knots.sln @@ -0,0 +1,16 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Knots", "Knots\Knots.csproj", "{AB48E354-A60B-496A-B049-7D8B6191A8D5}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {AB48E354-A60B-496A-B049-7D8B6191A8D5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {AB48E354-A60B-496A-B049-7D8B6191A8D5}.Debug|Any CPU.Build.0 = Debug|Any CPU + {AB48E354-A60B-496A-B049-7D8B6191A8D5}.Release|Any CPU.ActiveCfg = Release|Any CPU + {AB48E354-A60B-496A-B049-7D8B6191A8D5}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/Knots/Knots.csproj b/Knots/Knots.csproj new file mode 100644 index 0000000..18df39d --- /dev/null +++ b/Knots/Knots.csproj @@ -0,0 +1,13 @@ + + + + net9.0 + enable + enable + + + + + + + diff --git a/Knots/Knots.http b/Knots/Knots.http new file mode 100644 index 0000000..f10c956 --- /dev/null +++ b/Knots/Knots.http @@ -0,0 +1,6 @@ +@Knots_HostAddress = http://localhost:4200 + +GET {{Knots_HostAddress}}/weatherforecast/ +Accept: application/json + +### diff --git a/Knots/Program.cs b/Knots/Program.cs new file mode 100644 index 0000000..7688653 --- /dev/null +++ b/Knots/Program.cs @@ -0,0 +1,23 @@ +var builder = WebApplication.CreateBuilder(args); + +// Add services to the container. + +builder.Services.AddControllers(); +// Learn more about configuring OpenAPI at https://aka.ms/aspnet/openapi +builder.Services.AddOpenApi(); + +var app = builder.Build(); + +// Configure the HTTP request pipeline. +if (app.Environment.IsDevelopment()) +{ + app.MapOpenApi(); +} + +app.UseHttpsRedirection(); + +app.UseAuthorization(); + +app.MapControllers(); + +app.Run(); \ No newline at end of file diff --git a/Knots/Properties/launchSettings.json b/Knots/Properties/launchSettings.json new file mode 100644 index 0000000..c49dd0d --- /dev/null +++ b/Knots/Properties/launchSettings.json @@ -0,0 +1,23 @@ +{ + "$schema": "https://json.schemastore.org/launchsettings.json", + "profiles": { + "http": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": false, + "applicationUrl": "http://localhost:5250", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + }, + "https": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": false, + "applicationUrl": "https://localhost:7296;http://localhost:5250", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + } + } +} diff --git a/Knots/appsettings.Development.json b/Knots/appsettings.Development.json new file mode 100644 index 0000000..0c208ae --- /dev/null +++ b/Knots/appsettings.Development.json @@ -0,0 +1,8 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + } +} diff --git a/Knots/appsettings.json b/Knots/appsettings.json new file mode 100644 index 0000000..10f68b8 --- /dev/null +++ b/Knots/appsettings.json @@ -0,0 +1,9 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + }, + "AllowedHosts": "*" +} diff --git a/Knots/obj/Debug/net9.0/.NETCoreApp,Version=v9.0.AssemblyAttributes.cs b/Knots/obj/Debug/net9.0/.NETCoreApp,Version=v9.0.AssemblyAttributes.cs new file mode 100644 index 0000000..9e76325 --- /dev/null +++ b/Knots/obj/Debug/net9.0/.NETCoreApp,Version=v9.0.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")] diff --git a/Knots/obj/Debug/net9.0/Knots.AssemblyInfo.cs b/Knots/obj/Debug/net9.0/Knots.AssemblyInfo.cs new file mode 100644 index 0000000..3a219d9 --- /dev/null +++ b/Knots/obj/Debug/net9.0/Knots.AssemblyInfo.cs @@ -0,0 +1,22 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("Knots")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyProductAttribute("Knots")] +[assembly: System.Reflection.AssemblyTitleAttribute("Knots")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// Généré par la classe MSBuild WriteCodeFragment. + diff --git a/Knots/obj/Debug/net9.0/Knots.AssemblyInfoInputs.cache b/Knots/obj/Debug/net9.0/Knots.AssemblyInfoInputs.cache new file mode 100644 index 0000000..6d9f51c --- /dev/null +++ b/Knots/obj/Debug/net9.0/Knots.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +ef506b50f3abb951fe8ca64fd2738acf5f7eeab97d3b34f758e7354d582a5f14 diff --git a/Knots/obj/Debug/net9.0/Knots.GeneratedMSBuildEditorConfig.editorconfig b/Knots/obj/Debug/net9.0/Knots.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..df7b57e --- /dev/null +++ b/Knots/obj/Debug/net9.0/Knots.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,21 @@ +is_global = true +build_property.TargetFramework = net9.0 +build_property.TargetPlatformMinVersion = +build_property.UsingMicrosoftNETSdkWeb = true +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property.EnforceExtendedAnalyzerRules = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = Knots +build_property.RootNamespace = Knots +build_property.ProjectDir = /home/carteronm@stsio.lan/RiderProjects/Knots/Knots/ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = +build_property.RazorLangVersion = 9.0 +build_property.SupportLocalizedComponentNames = +build_property.GenerateRazorMetadataSourceChecksumAttributes = +build_property.MSBuildProjectDirectory = /home/carteronm@stsio.lan/RiderProjects/Knots/Knots +build_property._RazorSourceGeneratorDebug = +build_property.EffectiveAnalysisLevelStyle = 9.0 +build_property.EnableCodeStyleSeverity = diff --git a/Knots/obj/Debug/net9.0/Knots.GlobalUsings.g.cs b/Knots/obj/Debug/net9.0/Knots.GlobalUsings.g.cs new file mode 100644 index 0000000..025530a --- /dev/null +++ b/Knots/obj/Debug/net9.0/Knots.GlobalUsings.g.cs @@ -0,0 +1,17 @@ +// +global using global::Microsoft.AspNetCore.Builder; +global using global::Microsoft.AspNetCore.Hosting; +global using global::Microsoft.AspNetCore.Http; +global using global::Microsoft.AspNetCore.Routing; +global using global::Microsoft.Extensions.Configuration; +global using global::Microsoft.Extensions.DependencyInjection; +global using global::Microsoft.Extensions.Hosting; +global using global::Microsoft.Extensions.Logging; +global using global::System; +global using global::System.Collections.Generic; +global using global::System.IO; +global using global::System.Linq; +global using global::System.Net.Http; +global using global::System.Net.Http.Json; +global using global::System.Threading; +global using global::System.Threading.Tasks; diff --git a/Knots/obj/Debug/net9.0/Knots.assets.cache b/Knots/obj/Debug/net9.0/Knots.assets.cache new file mode 100644 index 0000000..e544123 Binary files /dev/null and b/Knots/obj/Debug/net9.0/Knots.assets.cache differ diff --git a/Knots/obj/Debug/net9.0/Knots.csproj.AssemblyReference.cache b/Knots/obj/Debug/net9.0/Knots.csproj.AssemblyReference.cache new file mode 100644 index 0000000..886b1bb Binary files /dev/null and b/Knots/obj/Debug/net9.0/Knots.csproj.AssemblyReference.cache differ diff --git a/Knots/obj/Knots.csproj.nuget.dgspec.json b/Knots/obj/Knots.csproj.nuget.dgspec.json new file mode 100644 index 0000000..790ddf9 --- /dev/null +++ b/Knots/obj/Knots.csproj.nuget.dgspec.json @@ -0,0 +1,76 @@ +{ + "format": 1, + "restore": { + "/home/carteronm@stsio.lan/RiderProjects/Knots/Knots/Knots.csproj": {} + }, + "projects": { + "/home/carteronm@stsio.lan/RiderProjects/Knots/Knots/Knots.csproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "/home/carteronm@stsio.lan/RiderProjects/Knots/Knots/Knots.csproj", + "projectName": "Knots", + "projectPath": "/home/carteronm@stsio.lan/RiderProjects/Knots/Knots/Knots.csproj", + "packagesPath": "/home/carteronm@stsio.lan/.nuget/packages/", + "outputPath": "/home/carteronm@stsio.lan/RiderProjects/Knots/Knots/obj/", + "projectStyle": "PackageReference", + "configFilePaths": [ + "/home/carteronm@stsio.lan/.nuget/NuGet/NuGet.Config" + ], + "originalTargetFrameworks": [ + "net9.0" + ], + "sources": { + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net9.0": { + "targetAlias": "net9.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + }, + "restoreAuditProperties": { + "enableAudit": "true", + "auditLevel": "low", + "auditMode": "direct" + }, + "SdkAnalysisLevel": "9.0.300" + }, + "frameworks": { + "net9.0": { + "targetAlias": "net9.0", + "dependencies": { + "Microsoft.AspNetCore.OpenApi": { + "target": "Package", + "version": "[9.0.8, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.AspNetCore.App": { + "privateAssets": "none" + }, + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "/home/carteronm@stsio.lan/.dotnet/sdk/9.0.304/PortableRuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/Knots/obj/Knots.csproj.nuget.g.props b/Knots/obj/Knots.csproj.nuget.g.props new file mode 100644 index 0000000..7c7d882 --- /dev/null +++ b/Knots/obj/Knots.csproj.nuget.g.props @@ -0,0 +1,15 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + /home/carteronm@stsio.lan/.nuget/packages/ + /home/carteronm@stsio.lan/.nuget/packages/ + PackageReference + 7.0.0 + + + + + \ No newline at end of file diff --git a/Knots/obj/Knots.csproj.nuget.g.targets b/Knots/obj/Knots.csproj.nuget.g.targets new file mode 100644 index 0000000..3dc06ef --- /dev/null +++ b/Knots/obj/Knots.csproj.nuget.g.targets @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/Knots/obj/project.assets.json b/Knots/obj/project.assets.json new file mode 100644 index 0000000..c01823e --- /dev/null +++ b/Knots/obj/project.assets.json @@ -0,0 +1,148 @@ +{ + "version": 3, + "targets": { + "net9.0": { + "Microsoft.AspNetCore.OpenApi/9.0.8": { + "type": "package", + "dependencies": { + "Microsoft.OpenApi": "1.6.17" + }, + "compile": { + "lib/net9.0/Microsoft.AspNetCore.OpenApi.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net9.0/Microsoft.AspNetCore.OpenApi.dll": { + "related": ".xml" + } + }, + "frameworkReferences": [ + "Microsoft.AspNetCore.App" + ] + }, + "Microsoft.OpenApi/1.6.17": { + "type": "package", + "compile": { + "lib/netstandard2.0/Microsoft.OpenApi.dll": { + "related": ".pdb;.xml" + } + }, + "runtime": { + "lib/netstandard2.0/Microsoft.OpenApi.dll": { + "related": ".pdb;.xml" + } + } + } + } + }, + "libraries": { + "Microsoft.AspNetCore.OpenApi/9.0.8": { + "sha512": "BwF9sQCKmvu93C/pmKxJjPhF5fFB23MEcgTsGL+7W3wKLYawS4lyFSL5/qh00IJzuADLf+1SmvxMaphbyZYqQQ==", + "type": "package", + "path": "microsoft.aspnetcore.openapi/9.0.8", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "lib/net9.0/Microsoft.AspNetCore.OpenApi.dll", + "lib/net9.0/Microsoft.AspNetCore.OpenApi.xml", + "microsoft.aspnetcore.openapi.9.0.8.nupkg.sha512", + "microsoft.aspnetcore.openapi.nuspec" + ] + }, + "Microsoft.OpenApi/1.6.17": { + "sha512": "Le+kehlmrlQfuDFUt1zZ2dVwrhFQtKREdKBo+rexOwaCoYP0/qpgT9tLxCsZjsgR5Itk1UKPcbgO+FyaNid/bA==", + "type": "package", + "path": "microsoft.openapi/1.6.17", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "README.md", + "lib/netstandard2.0/Microsoft.OpenApi.dll", + "lib/netstandard2.0/Microsoft.OpenApi.pdb", + "lib/netstandard2.0/Microsoft.OpenApi.xml", + "microsoft.openapi.1.6.17.nupkg.sha512", + "microsoft.openapi.nuspec" + ] + } + }, + "projectFileDependencyGroups": { + "net9.0": [ + "Microsoft.AspNetCore.OpenApi >= 9.0.8" + ] + }, + "packageFolders": { + "/home/carteronm@stsio.lan/.nuget/packages/": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "/home/carteronm@stsio.lan/RiderProjects/Knots/Knots/Knots.csproj", + "projectName": "Knots", + "projectPath": "/home/carteronm@stsio.lan/RiderProjects/Knots/Knots/Knots.csproj", + "packagesPath": "/home/carteronm@stsio.lan/.nuget/packages/", + "outputPath": "/home/carteronm@stsio.lan/RiderProjects/Knots/Knots/obj/", + "projectStyle": "PackageReference", + "configFilePaths": [ + "/home/carteronm@stsio.lan/.nuget/NuGet/NuGet.Config" + ], + "originalTargetFrameworks": [ + "net9.0" + ], + "sources": { + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net9.0": { + "targetAlias": "net9.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + }, + "restoreAuditProperties": { + "enableAudit": "true", + "auditLevel": "low", + "auditMode": "direct" + }, + "SdkAnalysisLevel": "9.0.300" + }, + "frameworks": { + "net9.0": { + "targetAlias": "net9.0", + "dependencies": { + "Microsoft.AspNetCore.OpenApi": { + "target": "Package", + "version": "[9.0.8, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.AspNetCore.App": { + "privateAssets": "none" + }, + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "/home/carteronm@stsio.lan/.dotnet/sdk/9.0.304/PortableRuntimeIdentifierGraph.json" + } + } + } +} \ No newline at end of file diff --git a/Knots/obj/project.nuget.cache b/Knots/obj/project.nuget.cache new file mode 100644 index 0000000..b5ab018 --- /dev/null +++ b/Knots/obj/project.nuget.cache @@ -0,0 +1,11 @@ +{ + "version": 2, + "dgSpecHash": "MX1gpu4XXz8=", + "success": true, + "projectFilePath": "/home/carteronm@stsio.lan/RiderProjects/Knots/Knots/Knots.csproj", + "expectedPackageFiles": [ + "/home/carteronm@stsio.lan/.nuget/packages/microsoft.aspnetcore.openapi/9.0.8/microsoft.aspnetcore.openapi.9.0.8.nupkg.sha512", + "/home/carteronm@stsio.lan/.nuget/packages/microsoft.openapi/1.6.17/microsoft.openapi.1.6.17.nupkg.sha512" + ], + "logs": [] +} \ No newline at end of file diff --git a/Knots/obj/project.packagespec.json b/Knots/obj/project.packagespec.json new file mode 100644 index 0000000..4cb7554 --- /dev/null +++ b/Knots/obj/project.packagespec.json @@ -0,0 +1 @@ +"restore":{"projectUniqueName":"/home/carteronm@stsio.lan/RiderProjects/Knots/Knots/Knots.csproj","projectName":"Knots","projectPath":"/home/carteronm@stsio.lan/RiderProjects/Knots/Knots/Knots.csproj","outputPath":"/home/carteronm@stsio.lan/RiderProjects/Knots/Knots/obj/","projectStyle":"PackageReference","originalTargetFrameworks":["net9.0"],"sources":{"https://api.nuget.org/v3/index.json":{}},"frameworks":{"net9.0":{"targetAlias":"net9.0","projectReferences":{}}},"warningProperties":{"warnAsError":["NU1605"]},"restoreAuditProperties":{"enableAudit":"true","auditLevel":"low","auditMode":"direct"},"SdkAnalysisLevel":"9.0.300"}"frameworks":{"net9.0":{"targetAlias":"net9.0","dependencies":{"Microsoft.AspNetCore.OpenApi":{"target":"Package","version":"[9.0.8, )"}},"imports":["net461","net462","net47","net471","net472","net48","net481"],"assetTargetFallback":true,"warn":true,"frameworkReferences":{"Microsoft.AspNetCore.App":{"privateAssets":"none"},"Microsoft.NETCore.App":{"privateAssets":"all"}},"runtimeIdentifierGraphPath":"/home/carteronm@stsio.lan/.dotnet/sdk/9.0.304/PortableRuntimeIdentifierGraph.json"}} \ No newline at end of file diff --git a/Knots/obj/rider.project.restore.info b/Knots/obj/rider.project.restore.info new file mode 100644 index 0000000..5c17370 --- /dev/null +++ b/Knots/obj/rider.project.restore.info @@ -0,0 +1 @@ +17733217804474979 \ No newline at end of file diff --git a/global.json b/global.json new file mode 100644 index 0000000..93681ff --- /dev/null +++ b/global.json @@ -0,0 +1,7 @@ +{ + "sdk": { + "version": "9.0.0", + "rollForward": "latestMinor", + "allowPrerelease": false + } +} \ No newline at end of file