Skip to content

GenerateUniqueIDsWithNewId: .NET 11 and NewId ordering tests - #2417

Merged
vladimir-pecanac-main merged 2 commits into
CodeMazeBlog:mainfrom
vladimir-pecanac-main:seo/110066-newid-sortable-unique-ids
Nov 15, 2026
Merged

vladimir-pecanac-main merged 2 commits into
CodeMazeBlog:mainfrom
vladimir-pecanac-main:seo/110066-newid-sortable-unique-ids

Conversation

@vladimir-pecanac-main

Copy link
Copy Markdown
Collaborator

Moves the GenerateUniqueIDsWithNewId sample to net11.0 with EF Core, InMemory and Microsoft.AspNetCore.OpenApi 11.0.0, replaces Swashbuckle with AddOpenApi and MapOpenApi, swaps FluentAssertions for plain xUnit asserts in the same five endpoint tests, updates the test packages, and adds NewIdOrderingTests, which checks how NextGuid, NextSequentialGuid and Guid.CreateVersion7 sort as Guid, as text and in SqlGuid order.

Both projects target net11.0. EF Core, InMemory and Microsoft.AspNetCore.OpenApi move to 11.0.0, Swashbuckle is replaced by AddOpenApi/MapOpenApi, FluentAssertions is replaced by plain xUnit asserts, and the test packages move to their current releases. NewIdOrderingTests checks the sort order of NextGuid, NextSequentialGuid and Guid.CreateVersion7.
@vladimir-pecanac-main
vladimir-pecanac-main merged commit 68f2e87 into CodeMazeBlog:main Nov 15, 2026
4 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