Skip to content

Upgrade/net10 - #1

Merged
biswajitpanday merged 2 commits into
masterfrom
upgrade/net10
Sep 15, 2026
Merged

biswajitpanday merged 2 commits into
masterfrom
upgrade/net10

Conversation

@biswajitpanday

Copy link
Copy Markdown
Owner

No description provided.

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>
@gitguardian

gitguardian Bot commented Sep 15, 2026 •

Copy link
Copy Markdown

️✅ 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.
While these secrets were previously flagged, we no longer have a reference to the
specific commits where they were detected. Once a secret has been leaked into a git
repository, you should consider it compromised, even if it was deleted immediately.
Find here more information about risks.


🦉 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.

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>
@biswajitpanday
biswajitpanday merged commit e1418cf into master Sep 15, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant