Bogus 3.0.5-beta-4

A simple and sane data generator for populating objects that supports different locales. A delightful port of the famed faker.js and inspired by FluentValidation. Use it to create and load databases and UIs with mockup data. Get started by using Faker class or a DataSet directly.

No packages depend on Bogus.

## v3.0.5-beta-4 * Issue #13: StrictMode() now ignores read-only properties. * CoreCLR users please continue using beta releases until CoreCLR is RTM. ## v3.0.5-beta-3 * Issue #12: Make Bogus thread-safe on Generate() and DataSets. Avoids threading issues in test runners. * CoreCLR users please continue using beta releases until CoreCLR is RTM. ## v3.0.5-beta-2 * CoreCLR support (CoreCLR users, please continue using beta releases until CoreCLR is RTM). ## v3.0.4 * Issue 10: Make Bogus work with fields also, not just properties. Fixes LINQPad issues. ## v3.0.3 * PR 9: quantumplation - Fixed typo in Lorem.Sentance() -> Lorem.Sentence() ## v3.0.2 * Generate US: SSN - Social Security Numbers. * Generate Canada: SIN - Social Insurance Numbers. * Generate Brazil: Cadastro de Pessoas Fisicas - CPF Numbers. * Generate Finland: Henkilotunnus - Person ID numbers * Generate Denmark: Det Centrale Personregister - Person ID numbers. * Allow exclude values on Randomizer.Enum. * Randomizer.Replace accepts '*' replace with letter or digit. * Added Lorem.Letter(num). * Can switch locale on Name: f.Name["en"].LastName() ## v3.0.1 * Added debug symbols to symbolsource.org. * PR#6: Fixed lastname and empty list exception -salixzs * Switch to semantic versioning at par with FakerJS. ## v3.0.0.4 * Adding generators: Date.Month(), Date.Weekday() * Sentences using lexically correct "A foo bar." * Added Spanish Mexico (es_MX) locale. ## v3.0.0.3 * Issue #2: Use latest Newtonsoft.Json 7.0.0.0 -Mpdreamz ## v3.0.0.2 * Includes Ireland (English) locale. ## v3.0.0.1 * Migrated to new FakerJS datafile format. Build system uses gulp file to directly import FakerJS locales. * Faker.Parse() can now tokenize and replace handlebar formats. * Added Faker.Hacker and Faker.Company properties. * Added Custom separator on Lorem.Paragraph. * Added Canada (French) (fr_CA) locale. * Added Ukrainian (uk) locale. * Added Ireland (en_IE) locale. * Added Internet.Mac for mac addresses. * Support for Canadian post/zip codes. * Exposed Name.JobTitle, Name.JobDescriptor, Name.JobArea, Name.JobType * Exposed Address.CountryCode * Replace symbols in domain words so it generates output for all locales * Support for gender names, but only for locales that support it. Russian('ru') but not English('en'). * Corrected abbreviation for Yukon to reflect its official abbreviation of "YT". ## v2.1.5.2: * Fixed instantiating a Person in a non-US locale. -antongeorgiev ## v2.1.5.1: * Added Georgian, Turkish, and Chinese (Taiwan) locales. * Added Name.JobTitle() * Added Internet.Url() and Internet.Protocol(). * Sync'd up with faker.js v2.1.5. ## v2.1.4.2: * Fixed bug in Faker.Person and Faker[T] that generates new person context after every new object. * Added support for .FinishWith() for post-processing that runs after all rules but before returning new instance. * Added Newtonsoft.Json as NuGet dependency. ## v2.1.4.1: * Minor changes, mostly XML doc update and Person moved from DataSet to Bogus namespace. ## v2.1.4.0: * Initial port from faker.js 2.1.4.

.NET Framework 4.0

DNX 4.5.1

DNXCore 5.0

Version Downloads Last updated
35.6.5 54 11/01/2025
35.6.4 32 10/03/2025
35.6.3 46 04/12/2025
35.6.2 45 03/11/2025
35.6.1 49 12/26/2024
35.6.0 55 12/10/2024
35.5.1 54 11/23/2024
35.5.0 49 12/13/2024
35.4.1 51 12/26/2024
35.4.0 51 12/26/2024
35.3.2 52 12/11/2024
35.3.1 44 11/23/2024
35.3.0 49 12/26/2024
35.2.0 45 12/13/2024
35.0.1 56 12/15/2024
34.0.2 52 12/15/2024
34.0.1 50 12/11/2024
33.1.1 47 12/15/2024
33.0.2 49 12/12/2024
33.0.1 47 12/10/2024
32.1.1 54 12/26/2024
32.0.2 64 12/14/2022
32.0.1 54 12/26/2024
31.0.3 47 12/13/2024
30.0.4 45 12/13/2024
30.0.1-beta-4 45 12/17/2024
30.0.1-beta-3 47 12/08/2024
30.0.1-beta-2 48 12/26/2024
30.0.1-beta-1 59 12/23/2024
29.0.2 57 12/12/2024
29.0.1 51 12/15/2024
28.4.4 49 12/20/2024
28.4.3 45 12/26/2024
28.4.2 44 12/29/2024
28.4.1 53 11/23/2024
28.3.2 57 12/26/2024
28.3.1 37 11/23/2024
28.2.1 50 12/26/2024
28.1.1 63 12/12/2024
28.0.3 50 12/11/2024
28.0.2 52 12/15/2024
28.0.1 53 12/26/2024
27.0.1 54 12/12/2024
26.0.2 57 12/26/2024
26.0.1 53 12/26/2024
25.0.4 45 11/23/2024
25.0.3 45 11/23/2024
25.0.2 59 12/23/2024
25.0.1 44 12/12/2024
24.3.1 46 12/26/2024
24.3.0 53 12/12/2024
24.2.0 48 11/06/2024
23.0.2 55 12/30/2024
22.3.2 51 12/11/2024
22.3.1 43 12/12/2024
22.2.1 55 12/16/2024
22.1.4 45 12/26/2024
22.1.3 47 12/15/2024
22.1.2 48 11/26/2024
22.1.1 48 12/15/2024
22.0.9 43 12/20/2024
22.0.8 45 12/26/2024
22.0.7 49 12/29/2024
22.0.6 48 12/19/2024
22.0.5 55 11/24/2024
22.0.3 41 12/12/2024
22.0.2 48 11/23/2024
22.0.1 47 12/12/2024
21.0.5 53 12/26/2024
21.0.4 47 12/11/2024
21.0.2 52 11/23/2024
20.0.2 56 11/21/2024
20.0.1 48 12/16/2024
19.0.2 46 12/24/2024
18.0.2 49 11/23/2024
18.0.1 41 11/24/2024
17.0.1 45 12/12/2024
16.0.3 43 11/24/2024
16.0.2 41 12/12/2024
15.0.7 41 12/13/2024
15.0.6 39 12/26/2024
15.0.5 47 12/11/2024
15.0.3 51 11/23/2024
15.0.1 41 12/06/2024
12.0.1 45 12/12/2024
11.0.5 43 11/18/2024
11.0.4 46 12/24/2024
11.0.3 44 12/12/2024
11.0.2 42 12/17/2024
11.0.1 45 12/26/2024
10.0.1 44 12/26/2024
9.0.2 45 11/20/2024
9.0.1 45 12/16/2024
8.0.4 43 11/23/2024
8.0.3 41 11/29/2024
8.0.2 46 11/29/2024
8.0.1 40 12/30/2024
8.0.1-beta-1 48 12/12/2024
7.1.7 42 12/12/2024
7.1.6 42 12/29/2024
7.1.5 33 01/02/2025
7.1.4 47 12/26/2024
7.1.3 38 12/15/2024
7.1.3-beta-1 37 12/15/2024
7.1.2 51 12/15/2024
7.1.2-beta-1 52 12/08/2024
7.1.1 51 12/11/2024
7.1.1-beta-1 38 12/11/2024
6.1.1 47 12/13/2024
6.1.1-beta-1 48 11/19/2024
5.1.1-beta-3 38 12/23/2024
5.1.1-beta-2 47 12/22/2024
5.1.1-beta-1 49 12/07/2024
5.0.1 44 11/24/2024
5.0.1-beta-2 46 12/26/2024
4.0.1 40 12/15/2024
4.0.1-beta-1 41 12/11/2024
3.0.6 48 12/16/2024
3.0.6-beta-1 49 12/17/2024
3.0.5 34 12/11/2024
3.0.5-beta-4 40 12/17/2024
3.0.5-beta-3 47 12/11/2024
3.0.5-beta-2 42 11/08/2024
3.0.4 42 12/17/2024
3.0.3 38 12/26/2024
3.0.2 40 12/17/2024
3.0.1 39 12/19/2024
3.0.0.3 45 12/13/2024
2.1.4.1 44 12/16/2024
2.1.4 42 12/12/2024