RandomDataGenerator
This is a configurable generator to create random data like Lorum Ipsum Text, Words, Text Patterns, First/Last Names, MAC-Addresses, IP-Addresses, Guids and DateTime.
Install / Use
/learn @StefH/RandomDataGeneratorREADME
RandomDataGenerator.Net
This is a simple generator to create random data.
NuGet
Supported Random Data
- Bytes
- Cities
- Countries
- Credit Card Numbers
- DateTime
- Email Addresses
- First/Last Names
- Guids
- IBANs
- IP Addresses (V4 and V6)
- Lorum Ipsum Text
- MAC Addresses
- NaughtyStrings
- Numbers (integer, long, float, double, byte, ...)
- Text Regex Patterns
- Words
Usage
// Generate a random text with a Regular expression
var randomizerTextRegex = RandomizerFactory.GetRandomizer(new FieldOptionsTextRegex { Pattern = @"^[0-9]{4}[A-Z]{2}" });
string textRegex = randomizerTextRegex.Generate();
// Generate a random first name
var randomizerFirstName = RandomizerFactory.GetRandomizer(new FieldOptionsFirstName());
string firstName = randomizerFirstName.Generate();
// Generate a random text (no numbers or special characters allowed)
var randomizerText = RandomizerFactory.GetRandomizer(new FieldOptionsText { UseNumber = false, UseSpecial = false });
string text = randomizerText.Generate();
Usage (as SQL Data Generator GUI)
You can also use a UI to generate SQL insert table statements.


Copyright
Referenced files / projects
- https://github.com/gustavofrizzo/CreditCardValidator
- http://www.cambiaresearch.com/articles/13/csharp-randomprovider-class
- http://www.codeproject.com/Articles/423229/CsharpRandomStringGenerator
- https://github.com/SaladLab/NetLegacySupport/tree/master/core/ConcurrentDictionary/System/Collections/Concurrent
- https://raw.githubusercontent.com/SimonCropp/NaughtyStrings/master/src/NaughtyStrings/TheNaughtyStrings.cs
NuGet dependencies
Sponsors
Entity Framework Extensions and Dapper Plus are major sponsors and proud to contribute to the development of RandomDataGenerator.Net.
Related Skills
node-connect
339.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
339.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.8kCommit, push, and open a PR


