Bogus 28.3.1

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 Bogus to create UIs with fake data or seed databases. Get started by using Faker class or a DataSet directly.

Install-Package Bogus -Version 28.3.1
dotnet add package Bogus --version 28.3.1
<PackageReference Include="Bogus" Version="28.3.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Bogus --version 28.3.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

## v28.3.1
Release Date: 2019-09-20

* Issue 255 / PR 256: Allows interfaces with `Faker<T>` using `Faker<IFoo>.CustomInstantiator(f => new Foo())`. Thanks Rowland!

## v28.2.1
Release Date: 2019-09-10

* Added `Faker<T>.RuleFor(string, (f, t) => )` overload.
* Internal re-factoring `.RuleFor` overload logic. Simplified overload call chain.
* Internal `Faker<T>.RuleForInternal()` renamed to `Faker<T>.AddRule()`

## v28.1.1
Release Date: 2019-09-09

* Issue 253, PR 254: New rule overload for `Faker<T>.RuleFor('string',...)`. Helps cases that require rules for protected or hidden members of `T`.

## v28.0.3
Release Date: 2019-08-28

* Issue 249: Fixed `Internet.Url()` including spaces in domain names for `pt_BR` locale or any locale with compound first names that may contain spaces. Thanks RodrigoRodriguesX10!
* PR 241: General code quality improvements in `DataSets.System`. Better XML docs and lower array allocations. Thanks bartdebever!
* PR 245: XML doc improvements to `DataSets.Lorem`. Thanks bartdebever!

## v28.0.2
Release Date: 2019-07-07

* PR 235: Added `Bogus.DataSets.Vehicle.GbRegistrationPlate()` in `Bogus.Extensions.UnitedKingdom` extension namespace to generate GB registration plates. Thanks @colinangusmackay.


Full History Here: https://github.com/bchavez/Bogus/blob/master/HISTORY.md

Showing the top 10 GitHub repositories that depend on Bogus:

Repository Stars
graphql-dotnet/graphql-dotnet
GraphQL for .NET
elastic/elasticsearch-net
Elasticsearch.Net & NEST
Windows-XAML/Template10
Making Windows 10 apps great again
skoruba/IdentityServer4.Admin
The administration for the IdentityServer4 and Asp.Net Core Identity
riganti/dotvvm
Open source MVVM framework for Web Apps
json-api-dotnet/JsonApiDotNetCore
JSONAPI Framework for ASP.Net Core
bchavez/RethinkDb.Driver
:headphones: A NoSQL C#/.NET RethinkDB database driver with 100% ReQL API coverage.
brunohbrito/JPProject.IdentityServer4.AdminUI
:wrench: Administration tools for 🆔IdentityServer4 and ASP.NET Core Identity
cecilphillip/aspnet-servicediscovery-patterns
Samples of simple service discovery patterns with ASP .NET Core
MicrosoftLearning/20532-DevelopingMicrosoftAzureSolutions
20532: Developing Microsoft Azure Solutions Lab Content

Version History

Version Downloads Last updated
28.3.1 261 9/21/2019
28.2.1 9,737 9/10/2019
28.1.1 707 9/10/2019
28.0.3 11,085 8/28/2019
28.0.2 104,212 7/7/2019
28.0.1 9,836 7/2/2019
27.0.1 184,449 5/2/2019
26.0.2 130,602 3/22/2019
26.0.1 127,344 2/26/2019
25.0.4 151,012 1/18/2019
25.0.3 57,258 1/6/2019
25.0.2 92,693 12/11/2018
25.0.1 59,619 11/27/2018
24.3.1 90,732 11/3/2018
24.3.0 207,473 10/2/2018
24.2.0 15,910 9/27/2018
23.0.2 63,633 8/13/2018
22.3.2 92,850 7/18/2018
22.3.1 67,213 7/5/2018
22.2.1 11,061 6/29/2018
22.1.4 8,970 6/26/2018
22.1.3 1,366 6/14/2018
22.1.2 93,829 5/29/2018
22.1.1 9,649 5/21/2018
22.0.9 2,100 5/17/2018
22.0.8 172,502 4/10/2018
22.0.7 25,021 4/1/2018
22.0.6 4,483 3/29/2018
22.0.5 79,993 3/3/2018
22.0.3 10,880 2/27/2018
22.0.2 88,788 1/6/2018
22.0.1 37,223 12/23/2017
21.0.5 5,220 12/16/2017
21.0.4 7,290 12/13/2017
21.0.2 7,092 12/8/2017
20.0.2 35,705 11/6/2017
20.0.1 3,659 11/5/2017
19.0.2 18,542 11/1/2017
18.0.2 80,399 9/14/2017
18.0.1 7,935 9/13/2017
17.0.1 27,817 8/25/2017
16.0.3 10,140 8/24/2017
16.0.2 1,623 8/23/2017
15.0.7 4,917 8/21/2017
15.0.6 11,632 8/3/2017
15.0.5 4,353 7/28/2017
15.0.3 109,212 5/7/2017
15.0.1 28,450 4/11/2017
12.0.1 7,926 3/27/2017
11.0.5 8,078 3/20/2017
11.0.4 20,825 3/15/2017
11.0.3 2,273 3/13/2017
11.0.2 11,341 2/23/2017
11.0.1 1,413 2/21/2017
10.0.1 1,224 2/18/2017
9.0.2 18,345 1/19/2017
9.0.1 838 1/18/2017
8.0.4 974 1/17/2017
8.0.3 27,007 12/20/2016
8.0.2 6,313 12/7/2016
8.0.1 8,437 11/25/2016
8.0.1-beta-1 18,818 10/22/2016
7.1.7 41,634 10/11/2016
7.1.6 27,725 8/8/2016
7.1.5 1,101 7/27/2016
7.1.4 4,006 7/7/2016
7.1.3 4,411 6/28/2016
7.1.3-beta-1 629 5/20/2016
7.1.2 7,322 5/16/2016
7.1.2-beta-1 587 5/16/2016
7.1.1 688 5/15/2016
7.1.1-beta-1 617 5/15/2016
6.1.1 5,782 3/30/2016
6.1.1-beta-1 821 3/29/2016
5.1.1-beta-3 634 3/23/2016
5.1.1-beta-2 599 3/22/2016
5.1.1-beta-1 596 3/21/2016
5.0.1 2,484 2/25/2016
5.0.1-beta-2 632 2/25/2016
4.0.1 778 2/16/2016
4.0.1-beta-1 616 2/16/2016
3.0.6 2,007 1/21/2016
3.0.6-beta-1 578 1/21/2016
3.0.5 4,785 1/21/2016
3.0.5-beta-4 602 1/20/2016
3.0.5-beta-3 641 1/18/2016
3.0.5-beta-2 1,709 1/12/2016
3.0.4 1,560 12/10/2015
3.0.3 663 12/9/2015
3.0.2 785 11/24/2015
3.0.1 917 10/22/2015
3.0.0.3 1,358 7/21/2015
3.0.0.2 2,031 7/12/2015
3.0.0.1 3,212 7/12/2015
2.1.5.2 1,034 6/22/2015
2.1.5.1 718 6/11/2015
2.1.4.2 679 6/11/2015
2.1.4.1 726 6/10/2015
2.1.4 1,107 6/9/2015