fix: ApiClient 의존성 주입 등록 및 using 추가

Program.cs:
- using QuantEngine.Web.Services 추가
- builder.Services.AddHttpClient<ApiClient>();
- builder.Services.AddScoped<ApiClient>();

Collection.razor에서 ApiClient 주입 가능하도록 함
This commit is contained in:
2026-06-29 23:21:10 +09:00
parent d083eb7bf9
commit c5e6a013f4
292 changed files with 74 additions and 1938 deletions
@@ -1,124 +0,0 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v10.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v10.0": {
"QuantEngine.Infrastructure/1.0.0": {
"dependencies": {
"Dapper": "2.1.79",
"Npgsql": "10.0.3",
"QuantEngine.Application": "1.0.0",
"QuantEngine.Core": "1.0.0"
},
"runtime": {
"QuantEngine.Infrastructure.dll": {}
}
},
"Dapper/2.1.79": {
"runtime": {
"lib/net10.0/Dapper.dll": {
"assemblyVersion": "2.0.0.0",
"fileVersion": "2.1.79.29349"
}
}
},
"Microsoft.Extensions.DependencyInjection.Abstractions/10.0.0": {
"runtime": {
"lib/net10.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.25.52411"
}
}
},
"Microsoft.Extensions.Logging.Abstractions/10.0.0": {
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0"
},
"runtime": {
"lib/net10.0/Microsoft.Extensions.Logging.Abstractions.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.25.52411"
}
}
},
"Npgsql/10.0.3": {
"dependencies": {
"Microsoft.Extensions.Logging.Abstractions": "10.0.0"
},
"runtime": {
"lib/net10.0/Npgsql.dll": {
"assemblyVersion": "10.0.3.0",
"fileVersion": "10.0.3.0"
}
}
},
"QuantEngine.Application/1.0.0": {
"dependencies": {
"QuantEngine.Core": "1.0.0"
},
"runtime": {
"QuantEngine.Application.dll": {
"assemblyVersion": "1.0.0.0",
"fileVersion": "1.0.0.0"
}
}
},
"QuantEngine.Core/1.0.0": {
"runtime": {
"QuantEngine.Core.dll": {
"assemblyVersion": "1.0.0.0",
"fileVersion": "1.0.0.0"
}
}
}
}
},
"libraries": {
"QuantEngine.Infrastructure/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"Dapper/2.1.79": {
"type": "package",
"serviceable": true,
"sha512": "sha512-8YijbzgTfmqmQOnVNorYM6K++pxqnW3nJ4aC1sRHzxUA2CcuoJ9gsTem3kgBnPRMc38zZHl4Esb6hAezXIEEuw==",
"path": "dapper/2.1.79",
"hashPath": "dapper.2.1.79.nupkg.sha512"
},
"Microsoft.Extensions.DependencyInjection.Abstractions/10.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-L3AdmZ1WOK4XXT5YFPEwyt0ep6l8lGIPs7F5OOBZc77Zqeo01Of7XXICy47628sdVl0v/owxYJTe86DTgFwKCA==",
"path": "microsoft.extensions.dependencyinjection.abstractions/10.0.0",
"hashPath": "microsoft.extensions.dependencyinjection.abstractions.10.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Logging.Abstractions/10.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-FU/IfjDfwaMuKr414SSQNTIti/69bHEMb+QKrskRb26oVqpx3lNFXMjs/RC9ZUuhBhcwDM2BwOgoMw+PZ+beqQ==",
"path": "microsoft.extensions.logging.abstractions/10.0.0",
"hashPath": "microsoft.extensions.logging.abstractions.10.0.0.nupkg.sha512"
},
"Npgsql/10.0.3": {
"type": "package",
"serviceable": true,
"sha512": "sha512-7nb5YzXuvWWJxB0J8DiyL3we+X4FOctZrt0fIBnucOIaIevFEEwGQVZKtiu9olXdlNAK1eNgqSral6r/jlhI4w==",
"path": "npgsql/10.0.3",
"hashPath": "npgsql.10.0.3.nupkg.sha512"
},
"QuantEngine.Application/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"QuantEngine.Core/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}
@@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("QuantEngine.Infrastructure")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+e7e7d1470d5dc4a958da105e9b89e4d291e0e404")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+d083eb7bf9b7e96f19b3ac73f4d514e69e495e47")]
[assembly: System.Reflection.AssemblyProductAttribute("QuantEngine.Infrastructure")]
[assembly: System.Reflection.AssemblyTitleAttribute("QuantEngine.Infrastructure")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
@@ -1 +1 @@
ed04eb2ec98ea7203001d52f1bbd4c7d4f61cf65c6cfcab8ebd12f4ebfa222b4
29bf1c8ad6d0c2188af9e28f08d932a676dc5b5612881e7d053d65b7c40f3d83
@@ -1,4 +0,0 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v10.0", FrameworkDisplayName = ".NET 10.0")]
@@ -1,22 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("QuantEngine.Infrastructure")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+325c6d64e17702c514691d989194bc4dc0d08460")]
[assembly: System.Reflection.AssemblyProductAttribute("QuantEngine.Infrastructure")]
[assembly: System.Reflection.AssemblyTitleAttribute("QuantEngine.Infrastructure")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// MSBuild WriteCodeFragment 클래스에서 생성되었습니다.
@@ -1 +0,0 @@
9ddcfd534d5956ee942111fd9e8d3cd7228a3c99ba1fe107f589f6f308e71821
@@ -1,17 +0,0 @@
is_global = true
build_property.TargetFramework = net10.0
build_property.TargetFrameworkIdentifier = .NETCoreApp
build_property.TargetFrameworkVersion = v10.0
build_property.TargetPlatformMinVersion =
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = QuantEngine.Infrastructure
build_property.ProjectDir = C:\Temp\data_feed\src\dotnet\QuantEngine.Infrastructure\
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =
build_property.EffectiveAnalysisLevelStyle = 10.0
build_property.EnableCodeStyleSeverity =
@@ -1,8 +0,0 @@
// <auto-generated/>
global using System;
global using System.Collections.Generic;
global using System.IO;
global using System.Linq;
global using System.Net.Http;
global using System.Threading;
global using System.Threading.Tasks;
@@ -1 +0,0 @@
2c89a848a1ccc5c11e2cb41149b3cfe9148f8714dc00f89e8f932c3c17612403
@@ -1,17 +0,0 @@
C:\Temp\data_feed\src\dotnet\QuantEngine.Infrastructure\bin\Release\net10.0\QuantEngine.Infrastructure.deps.json
C:\Temp\data_feed\src\dotnet\QuantEngine.Infrastructure\bin\Release\net10.0\QuantEngine.Infrastructure.dll
C:\Temp\data_feed\src\dotnet\QuantEngine.Infrastructure\bin\Release\net10.0\QuantEngine.Infrastructure.pdb
C:\Temp\data_feed\src\dotnet\QuantEngine.Infrastructure\bin\Release\net10.0\QuantEngine.Application.dll
C:\Temp\data_feed\src\dotnet\QuantEngine.Infrastructure\bin\Release\net10.0\QuantEngine.Core.dll
C:\Temp\data_feed\src\dotnet\QuantEngine.Infrastructure\bin\Release\net10.0\QuantEngine.Core.pdb
C:\Temp\data_feed\src\dotnet\QuantEngine.Infrastructure\bin\Release\net10.0\QuantEngine.Application.pdb
C:\Temp\data_feed\src\dotnet\QuantEngine.Infrastructure\obj\Release\net10.0\QuantEngine.Infrastructure.csproj.AssemblyReference.cache
C:\Temp\data_feed\src\dotnet\QuantEngine.Infrastructure\obj\Release\net10.0\QuantEngine.Infrastructure.GeneratedMSBuildEditorConfig.editorconfig
C:\Temp\data_feed\src\dotnet\QuantEngine.Infrastructure\obj\Release\net10.0\QuantEngine.Infrastructure.AssemblyInfoInputs.cache
C:\Temp\data_feed\src\dotnet\QuantEngine.Infrastructure\obj\Release\net10.0\QuantEngine.Infrastructure.AssemblyInfo.cs
C:\Temp\data_feed\src\dotnet\QuantEngine.Infrastructure\obj\Release\net10.0\QuantEngine.Infrastructure.csproj.CoreCompileInputs.cache
C:\Temp\data_feed\src\dotnet\QuantEngine.Infrastructure\obj\Release\net10.0\QuantEng.BF5EDD9E.Up2Date
C:\Temp\data_feed\src\dotnet\QuantEngine.Infrastructure\obj\Release\net10.0\QuantEngine.Infrastructure.dll
C:\Temp\data_feed\src\dotnet\QuantEngine.Infrastructure\obj\Release\net10.0\refint\QuantEngine.Infrastructure.dll
C:\Temp\data_feed\src\dotnet\QuantEngine.Infrastructure\obj\Release\net10.0\QuantEngine.Infrastructure.pdb
C:\Temp\data_feed\src\dotnet\QuantEngine.Infrastructure\obj\Release\net10.0\ref\QuantEngine.Infrastructure.dll