UUID v7 in .NET 9
Read OriginalThis article details the introduction of UUID version 7 support in .NET 9 Preview 7, covering the new `Guid.CreateVersion7()` API. It explains the timestamp-based structure of UUID v7, its advantages for database sorting over UUID v4, and how to control the timestamp using `DateTimeOffset` and `TimeProvider` for testing.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser