Getting Started
What DataForger is, how it fits into your workflow, and your first generated entity.
DataForger is a .NET library for generating realistic, deterministic, country-specific synthetic data. Use it to seed databases, mock APIs, power demos, and feed load tests without ever touching production data.
How it works
- Pick a country provider with
ForCountry. - Describe the entity as a plain C# class.
- Call
Create<T>()— DataForger fills every supported property.
First example
csharp
var person = DataForger
.ForCountry(Country.PT)
.Create<Person>();
// Name: Ana Martins
// City: Lisboa
// Phone: +351 912 345 678Next: install the package, then read Basic Usage to learn the core API.