NewId
UUIDNext
NewId | UUIDNext | |
---|---|---|
2 | 6 | |
626 | 157 | |
- | - | |
0.0 | 6.7 | |
over 1 year ago | 7 days ago | |
C# | C# | |
Apache License 2.0 | BSD Zero Clause License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
NewId
-
C# System.Guid.NewGuid() vs SQL NewId()
Your indexes will be fragmented using Guids so there will be an accompanying performance hit, better off maybe with something like https://github.com/phatboyg/NewId
-
Should i check if a Guid is already used or its completly unnecessary?
As an example the author of masstransit created something similar to twitters snowflake for .net https://github.com/phatboyg/NewId
UUIDNext
-
Hey guys! Just wanted to share a tip on how to use performant Guid as primary keys in databases. Have you heard about UUID Version 7? It's here to save the day! Give it a try and let me know what you think. Happy coding! 😎💻
Here's the link to the library: https://github.com/mareek/UUIDNext
-
I need some help to adapt my UUID/GUID library (UUIDNext) to generate the best UUIDs for PostgreSQL, MySQL and other DBMS
I maintain a library that generate database optimized UUIDs and to investigate how UUID are stored and sorted on various databases, I need you to execute a little program that show just that (see end of post for more details).
-
How to use performant Guid as primary keys in databases. UUID Version 7 to the rescue!
Not my library: UUIDNext
-
TL;DR HiLo Key Generation in Entity Framework
BUT if you want to us GUID's on the server side as performant indexes, use this: https://github.com/mareek/UUIDNext
- UUINext: a modern .NET library to generate database friendly or name based UUID/GUID based on the latest RFC draft [crosspost from r/csharp]
- UUINext: a modern .NET library to generate database friendly or name based UUID/GUID based on the latest RFC draft
What are some alternatives?
IdentityServer4AspNetCoreIdentityTemplate - An ASP.NET Core 6.0 IdentityServer4 Identity Bootstrap 4 template with localization
uuid - Go package for UUIDs based on RFC 4122 and DCE 1.1: Authentication and Security Services.
BlazorWithIdentity - A project template for a blazor hosted app using cookie based authentication with ef core identity.
unity-guid-regenerator - :id: GUID regenerator for Unity assets
booking-microservices - Practical microservices, built with .Net 8, DDD, CQRS, Event Sourcing, Vertical Slice Architecture, Event-Driven Architecture, and the latest technologies.
go.uuid - UUID package for Go
MassTransit - Distributed Application Framework for .NET
Huid - 🎫 High-speed a FNV-1a-128 hash-based UUID.
rfc4122bis - revision to RFC4122
Ulid - Fast .NET C# Implementation of ULID for .NET and Unity.
Entity Framework - EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.
uuid - Generate RFC-compliant UUIDs in JavaScript