SeedPacket 2.0.7

SeedPacket adds a .seed() method onto IEnumerable for quickly seeding data. Similar to a LINQ extension, it populates lists with realistic data. Ex: var mylist = new List<Item>().Seed().

It is easy to use, with a customizable, and powerful rules engine that keys off the datatype or interface, and name of an item's properties so that the data is appropriate to the type. That is to say, "out-of-the-box" - email properties will be filled with valid emails, phone numbers filled with phone numbers, and names are names etc. If you need to modify the default generated data the rules are simple to create and modify, and come with a many examples, including a data generator that pulls from an xml or json file or string. The randomly generated data can be set to always be repeatable or  to be random on each request.

Go to  for more details.

There is a newer version of this package available.
See the version list below for details.
Install-Package SeedPacket -Version 2.0.7
dotnet add package SeedPacket --version 2.0.7
<PackageReference Include="SeedPacket" Version="2.0.7" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SeedPacket --version 2.0.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SeedPacket, 2.0.7"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install SeedPacket as a Cake Addin
#addin nuget:?package=SeedPacket&version=2.0.7

// Install SeedPacket as a Cake Tool
#tool nuget:?package=SeedPacket&version=2.0.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

2.0 Release
There are numerous improvements including :
*Xml or Json Support from either file or string using new MultiGenerator
*Code reorganization to make customization easier
*SimpleSeed (an alternate approach without the Rules engine)
Unfortunately, these changes will require code refactoring for in-place upgrades.
2.0.5 Release adds LoremText generator.
2.0.7 Changes the names of some Funcs which may need to be changed if they have been referenced from custom rules. Bug fixes.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated 2,615 11/10/2019 232 10/23/2019
3.0.4 312 3/31/2019
2.0.7 1,021 6/19/2017
2.0.6 629 5/7/2017
2.0.5 665 5/6/2017
2.0.4 623 4/28/2017
2.0.3-BETA 507 3/30/2017
0.9.9 778 1/29/2016
0.9.8 628 1/26/2016
0.9.5 752 2/3/2015
0.9.2 733 1/25/2015
0.9.1 664 1/24/2015