Repository navigation
Upgrade/net10 - #1
Merged
Merged
Conversation
Target net10.0 in both projects and pin the SDK with global.json. Delta.EF 6.0.0 -> 9.0.1 and all Microsoft.* packages -> 10.0.12; migrate HyperCache.sln to the .slnx format. API - Move UseCors ahead of UseDelta so Delta's 304 short-circuit still carries Access-Control-Allow-Origin for the cross-origin Blazor client. - Add OpenAPI + Scalar reference UI (/openapi/v1.json, /scalar) in Development. - Replace the anonymous paged response with a PagedResponse<T> record produced by a C# 14 extension block (QueryableExtensions.ToPagedAsync). - Make the startup seed row count configurable (Seed:Count, C# 14 `field` validation), generate rows lazily, and use Random.Shared. - Drop the redundant HasConversion<byte[]>() on the rowversion column (no model drift; no migration needed). - Fix the placeholder connection string and point HyperCache.http at the real endpoints, including an If-None-Match round-trip. Web - Adopt .NET 10 fingerprinted static assets (OverrideHtmlAssetPlaceholders, preload/importmap placeholders in index.html). - Replace template leftovers: real landing page, GitHub link, remove unused sample-data/weather.json; make ApiConstant static. Docs - README: .NET 10 / VS 2026, real Delta wiring (there is no AddDelta), correct dotnet ef and launch-profile instructions, configuration, API table with Scalar screenshot, how Delta detects changes, C# 14 features used, benchmark provenance note, badges. - LICENSE placeholder filled in; CLAUDE.md added to .gitignore. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
️✅ There are no secrets present in this pull request anymore.If these secrets were true positive and are still valid, we highly recommend you to revoke them. 🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request. |
biswajitpanday
force-pushed
the
upgrade/net10
branch
from
September 15, 2026 23:42
e81872c to
1e3f622
Compare
HyperCache.Api.Tests boots the API in-process with WebApplicationFactory against a throw-away SQL Server database (HyperCacheDB_Test, recreated from migrations and seeded with 200 rows on every run). The fixture takes HYPERCACHE_TEST_CONNECTION or derives the test database from the API's configured connection string, and refuses to drop any database whose name does not end in _Test. Covers: paged response shape and ETag, If-None-Match -> 304, search (including the empty-keyword 400), details 400/404/200, and the OpenAPI document. CI runs restore/build/test on ubuntu with an mssql/server:2022 service container and uploads TRX results. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.