Bogus 3.0.6-beta-1

Prefix Reserved
This is a prerelease version of Bogus.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Bogus --version 3.0.6-beta-1
                    
NuGet\Install-Package Bogus -Version 3.0.6-beta-1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Bogus" Version="3.0.6-beta-1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Bogus" Version="3.0.6-beta-1" />
                    
Directory.Packages.props
<PackageReference Include="Bogus" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Bogus --version 3.0.6-beta-1
                    
#r "nuget: Bogus, 3.0.6-beta-1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Bogus&version=3.0.6-beta-1&prerelease
                    
Install Bogus as a Cake Addin
#tool nuget:?package=Bogus&version=3.0.6-beta-1&prerelease
                    
Install Bogus as a Cake Tool

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.

Product Compatible and additional computed target framework versions.
.NET Framework net40 is compatible.  net403 was computed.  net45 was computed.  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. 
DNX dnx451 is compatible. 
DNXCore dnxcore50 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (171)

Showing the top 5 NuGet packages that depend on Bogus:

Package Downloads
AutoBogus

A C# library complementing the Bogus generator by adding auto creation and population capabilities.

FunFair.Test.Common

FunFair Common Test Infrastructure for building xUnit tests on top of.

Soenneker.Utils.AutoBogus

The .NET Bogus autogenerator

Reo.Core.Testing

Package Description

NodaTime.Bogus

Add support for NodaTime https://nodatime.org/ to Bogus https://github.com/bchavez/Bogus

GitHub repositories (128)

Showing the top 20 popular GitHub repositories that depend on Bogus:

Repository Stars
cefsharp/CefSharp
.NET (WPF and Windows Forms) bindings for the Chromium Embedded Framework
FluentValidation/FluentValidation
A popular .NET validation library for building strongly-typed validation rules.
bchavez/Bogus
:card_index: A simple fake data generator for C#, F#, and VB.NET. Based on and ported from the famed faker.js.
elsa-workflows/elsa-core
A .NET workflows library
graphql-dotnet/graphql-dotnet
GraphQL for .NET
kurrent-io/EventStore
EventStoreDB, the event-native database. Designed for Event Sourcing, Event-Driven, and Microservices architectures
ServiceStack/ServiceStack
Thoughtfully architected, obscenely fast, thoroughly enjoyable web services for all
FastEndpoints/FastEndpoints
A light-weight REST API development framework for ASP.NET 8 and newer.
umbraco/Umbraco-CMS
Umbraco is a free and open source .NET content management system helping you deliver delightful digital experiences.
fluentassertions/fluentassertions
A very extensive set of extension methods that allow you to more naturally specify the expected outcome of a TDD or BDD-style unit tests. Targets .NET Framework 4.7, as well as .NET Core 2.1, .NET Core 3.0, .NET 6, .NET Standard 2.0 and 2.1. Supports the unit test frameworks MSTest2, NUnit3, XUnit2, MSpec, and NSpec3.
elastic/elasticsearch-net
This strongly-typed, client library enables working with Elasticsearch. It is the official client maintained and supported by Elastic.
skoruba/IdentityServer4.Admin
The administration for the IdentityServer4 and Asp.Net Core Identity
oskardudycz/EventSourcing.NetCore
Examples and Tutorials of Event Sourcing in .NET
dotnet/samples
Sample code referenced by the .NET documentation
JasperFx/marten
.NET Transactional Document DB and Event Store on PostgreSQL
chromelyapps/Chromely
Build Cross Platform HTML Desktop Apps on .NET using native GUI, HTML5, JavaScript, CSS, Owin, AspNetCore (MVC, RazorPages, Blazor)
vietnam-devs/coolstore-microservices
A full-stack .NET microservices build on Dapr and Tye
evolutionary-architecture/evolutionary-architecture-by-example
Navigate the complex landscape of .NET software architecture with our step-by-step, story-like guide. Unpack the interplay between modular monoliths, microservices, domain-driven design, and various architectural patterns. Go beyond the one-size-fits-all solutions and understand how to blend these approaches based on your unique needs.
SubnauticaNitrox/Nitrox
An open-source, multiplayer modification for the game Subnautica.
reactivemarbles/DynamicData
Reactive collections based on Rx.Net
Version Downloads Last updated
35.6.2 988,129 2/21/2025
35.6.1 7,011,854 9/2/2024
35.6.0 2,007,597 7/19/2024
35.5.1 4,141,839 4/28/2024
35.5.0 2,904,140 3/9/2024
35.4.1 389,338 3/2/2024
35.4.0 3,024,858 1/14/2024
35.3.2 8,549 1/14/2024
35.3.1 16,975 1/13/2024
35.3.0 637,590 1/1/2024
35.2.0 150,604 12/26/2023
35.0.1 556,997 12/12/2023
34.0.2 32,646,114 3/27/2022
34.0.1 4,937,592 11/23/2021
33.1.1 3,191,539 8/29/2021
33.0.2 7,650,853 2/21/2021
33.0.1 399,526 2/7/2021
32.1.1 220,961 1/31/2021
32.0.2 2,190,373 12/12/2020
32.0.1 739,473 11/28/2020
31.0.3 12,262,046 10/4/2020
30.0.4 838,257 8/15/2020
30.0.1-beta-4 17,489 7/24/2020
30.0.1-beta-3 15,753 6/30/2020
30.0.1-beta-2 5,423 6/21/2020
30.0.1-beta-1 8,027 6/15/2020
29.0.2 5,095,583 4/11/2020
29.0.1 1,651,236 2/10/2020
28.4.4 2,492,226 12/10/2019
28.4.3 323,072 12/4/2019
28.4.2 23,638 11/30/2019
28.4.1 1,232,031 10/15/2019
28.3.2 261,227 10/4/2019
28.3.1 179,073 9/21/2019
28.2.1 607,376 9/10/2019
28.1.1 7,412 9/10/2019
28.0.3 254,375 8/28/2019
28.0.2 1,276,749 7/7/2019
28.0.1 60,242 7/2/2019
27.0.1 1,238,358 5/2/2019
26.0.2 456,112 3/22/2019
26.0.1 743,919 2/26/2019
25.0.4 532,685 1/18/2019
25.0.3 128,173 1/6/2019
25.0.2 239,877 12/11/2018
25.0.1 122,038 11/27/2018
24.3.1 204,393 11/3/2018
24.3.0 522,309 10/2/2018
24.2.0 57,009 9/27/2018
23.0.2 192,357 8/13/2018
22.3.2 167,163 7/18/2018
22.3.1 119,712 7/5/2018
22.2.1 28,965 6/29/2018
22.1.4 33,262 6/26/2018
22.1.3 66,480 6/14/2018
22.1.2 327,588 5/29/2018
22.1.1 37,939 5/21/2018
22.0.9 6,614 5/17/2018
22.0.8 415,812 4/10/2018
22.0.7 57,636 4/1/2018
22.0.6 9,677 3/29/2018
22.0.5 150,248 3/3/2018
22.0.3 19,599 2/27/2018
22.0.2 177,425 1/6/2018
22.0.1 56,730 12/23/2017
21.0.5 13,062 12/16/2017
21.0.4 32,032 12/13/2017
21.0.2 20,400 12/8/2017
20.0.2 136,956 11/6/2017
20.0.1 8,344 11/5/2017
19.0.2 54,431 11/1/2017
18.0.2 139,866 9/14/2017
18.0.1 15,840 9/13/2017
17.0.1 80,111 8/25/2017
16.0.3 14,569 8/24/2017
16.0.2 7,739 8/23/2017
15.0.7 8,742 8/21/2017
15.0.6 30,282 8/3/2017
15.0.5 8,543 7/28/2017
15.0.3 256,238 5/7/2017
15.0.1 36,784 4/11/2017
12.0.1 15,770 3/27/2017
11.0.5 14,193 3/20/2017
11.0.4 33,063 3/15/2017
11.0.3 10,324 3/13/2017
11.0.2 56,106 2/23/2017
11.0.1 5,049 2/21/2017
10.0.1 5,027 2/18/2017
9.0.2 25,605 1/19/2017
9.0.1 4,502 1/18/2017
8.0.4 4,831 1/17/2017
8.0.3 39,799 12/20/2016
8.0.2 12,889 12/7/2016
8.0.1 15,193 11/25/2016
8.0.1-beta-1 23,623 10/22/2016
7.1.7 81,664 10/11/2016
7.1.6 45,118 8/8/2016
7.1.5 8,888 7/27/2016
7.1.4 7,845 7/7/2016
7.1.3 49,001 6/28/2016
7.1.3-beta-1 3,972 5/20/2016
7.1.2 44,044 5/16/2016
7.1.2-beta-1 4,041 5/16/2016
7.1.1 4,426 5/15/2016
7.1.1-beta-1 3,895 5/15/2016
6.1.1 10,088 3/30/2016
6.1.1-beta-1 4,137 3/29/2016
5.1.1-beta-3 4,033 3/23/2016
5.1.1-beta-2 4,399 3/22/2016
5.1.1-beta-1 4,104 3/21/2016
5.0.1 18,379 2/25/2016
5.0.1-beta-2 4,231 2/25/2016
4.0.1 4,714 2/16/2016
4.0.1-beta-1 3,952 2/16/2016
3.0.6 6,478 1/21/2016
3.0.6-beta-1 3,955 1/21/2016
3.0.5 8,694 1/21/2016
3.0.5-beta-4 3,865 1/20/2016
3.0.5-beta-3 3,940 1/18/2016
3.0.5-beta-2 5,121 1/12/2016
3.0.4 5,263 12/10/2015
3.0.3 4,300 12/9/2015
3.0.2 4,511 11/24/2015
3.0.1 4,908 10/22/2015
3.0.0.3 5,229 7/21/2015
3.0.0.2 6,274 7/12/2015
3.0.0.1 25,083 7/12/2015
2.1.5.2 4,812 6/22/2015
2.1.5.1 4,385 6/11/2015
2.1.4.2 4,434 6/11/2015
2.1.4.1 4,422 6/10/2015
2.1.4 63,833 6/9/2015

## v3.0.6
* Roll-up Release for .NET Framework since v3.0.5.
* CoreCLR users please continue using latest beta release until CoreCLR is RTM.

## v3.0.6-beta-1
* Issue #13: Fixed StrictMode to exclude private fields.
* New Feature: Ignore property or field in StrictMode: Faker[Order].Ignore(o => o.OrderId).
* CoreCLR users please continue using latest beta release until CoreCLR is RTM.

## v3.0.5
* Roll-up Release for .NET Framework since v3.0.4.
* CoreCLR users please continue using latest beta release until CoreCLR is RTM.

## v3.0.5-beta-4
* Issue #13: StrictMode() now ignores read-only properties.
* Newtonsoft.Json v8 compatibility.
* CoreCLR users please continue using latest beta release 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 latest beta release until CoreCLR is RTM.

## v3.0.5-beta-2
* CoreCLR support (CoreCLR users please continue using latest beta release 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.