Tools / Bogus
Visit official site north_east

Bogus

Bogus is a simple and sane fake data generator for .NET languages like C#.

A port of the famous Faker.js library, Bogus lets you create realistic-looking test data in seconds.

Features

  • Generate names, addresses, phone numbers, email addresses, and more
  • Locale support for 40+ languages
  • Fluent API, easy to chain
  • Reproducible data with seed support

Usage

var faker = new Faker<Order>()
    .RuleFor(o => o.Name, f => f.Commerce.ProductName())
    .RuleFor(o => o.Price, f => f.Commerce.Price());

Ready to get started? Visit the official site to learn more.

Visit official site north_east
An unhandled error has occurred. Reload