RandomDataGenerator.Net
1.0.19.1
dotnet add package RandomDataGenerator.Net --version 1.0.19.1
NuGet\Install-Package RandomDataGenerator.Net -Version 1.0.19.1
<PackageReference Include="RandomDataGenerator.Net" Version="1.0.19.1" />
<PackageVersion Include="RandomDataGenerator.Net" Version="1.0.19.1" />
<PackageReference Include="RandomDataGenerator.Net" />
paket add RandomDataGenerator.Net --version 1.0.19.1
#r "nuget: RandomDataGenerator.Net, 1.0.19.1"
#addin nuget:?package=RandomDataGenerator.Net&version=1.0.19.1
#tool nuget:?package=RandomDataGenerator.Net&version=1.0.19.1
RandomDataGenerator.Net
This is a simple generator to create random data.
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();
Sponsors
Entity Framework Extensions and Dapper Plus are major sponsors and proud to contribute to the development of RandomDataGenerator.Net.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
.NET Core | netcoreapp1.0 was computed. netcoreapp1.1 was computed. netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard1.3 is compatible. netstandard1.4 was computed. netstandard1.5 was computed. netstandard1.6 was computed. netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net35 is compatible. net40 was computed. net403 was computed. net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen30 was computed. tizen40 was computed. tizen60 was computed. |
Universal Windows Platform | uap was computed. uap10.0 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 3.5
- Fare (>= 2.2.1)
- Stef.Validation (>= 0.1.1)
-
.NETFramework 4.5
- Fare (>= 2.2.1)
- Stef.Validation (>= 0.1.1)
- System.Text.RegularExpressions (>= 4.3.1)
-
.NETStandard 1.3
- Fare (>= 2.2.1)
- NETStandard.Library (>= 1.6.1)
- Stef.Validation (>= 0.1.1)
- System.ComponentModel.Primitives (>= 4.3.0)
- System.Dynamic.Runtime (>= 4.3.0)
- System.Reflection.TypeExtensions (>= 4.3.0)
- System.Text.RegularExpressions (>= 4.3.1)
-
.NETStandard 2.0
- Fare (>= 2.2.1)
- Stef.Validation (>= 0.1.1)
- System.Text.RegularExpressions (>= 4.3.1)
-
.NETStandard 2.1
- Fare (>= 2.2.1)
- Stef.Validation (>= 0.1.1)
- System.Text.RegularExpressions (>= 4.3.1)
NuGet packages (7)
Showing the top 5 NuGet packages that depend on RandomDataGenerator.Net:
Package | Downloads |
---|---|
Handlebars.Net.Helpers.Random
Handlebars.Net.Helpers Random |
|
WireMock.Net.OpenApiParser
An OpenApi (swagger) parser to generate MappingModel or mapping.json file. |
|
fion.modelerp.core
ModelErp |
|
BVP.Common.NET
Most important reusable code for BVP |
|
Infocaster.Umbraco.ContentGenerator
The content generator is a small tool that can help you to easily create any content item so you can quickly have some content to work with. |
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on RandomDataGenerator.Net:
Repository | Stars |
---|---|
chocolatey/choco
Chocolatey - the package manager for Windows
|
|
wiremock/WireMock.Net
WireMock.Net is a flexible product for stubbing and mocking web HTTP responses using advanced request matching and response templating. Based on the functionality from http://WireMock.org, but extended with more functionality.
|
Version | Downloads | Last Updated | |
---|---|---|---|
1.0.19.1 | 174 | 6/20/2025 | |
1.0.19 | 34,536 | 6/10/2025 | |
1.0.18 | 2,977,648 | 10/9/2024 | |
1.0.17 | 12,242,887 | 11/30/2022 | |
1.0.16 | 124,770 | 8/3/2022 | |
1.0.15 | 2,580,918 | 4/21/2022 | |
1.0.14 | 674,569 | 3/24/2022 | |
1.0.13 | 1,391,131 | 9/2/2021 | |
1.0.12 | 3,517,195 | 6/24/2020 | |
1.0.11 | 52,295 | 4/10/2020 | |
1.0.11-preview-01 | 4,325 | 10/16/2019 | |
1.0.10 | 1,752,415 | 10/10/2019 | |
1.0.9 | 3,478 | 8/4/2019 | |
1.0.8 | 493,541 | 6/5/2019 | |
1.0.7 | 353,087 | 12/3/2018 | |
1.0.6 | 2,581 | 12/2/2018 | |
1.0.4 | 34,756 | 11/20/2018 | |
1.0.3 | 2,659 | 11/9/2018 | |
1.0.2 | 2,568 | 11/9/2018 | |
1.0.1 | 2,625 | 11/9/2018 | |
1.0.0 | 2,742 | 11/8/2018 |
See ReleaseNotes.md