ShortId Factory

karimfahmy

Karim Fahmy

Posted on March 6, 2023

ShortId Factory

ShortIdFactory

A library that generates unique random identifiers by set characters length. Identifiers generated can be used as primary keys for databases and unique identifiers.

Install ShortIdFactory with Nuget

dotnet add package ShortIdFactory

Usage
var shortId = new ShortIdFactory(characterCount: 11).Generate();
// _6ulErifjS0

Source code

enjoy

💖 💪 🙅 🚩
karimfahmy
Karim Fahmy

Posted on March 6, 2023

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

ShortId Factory
webdev ShortId Factory

March 6, 2023