All Projects → oriches → faker-cs

oriches / faker-cs

Licence: MIT license
C# port of the Ruby Faker gem (http://faker.rubyforge.org/)

Projects that are alternatives of or similar to faker-cs

Faker.js
generate massive amounts of realistic fake data in Node.js and the browser
Stars: ✭ 34,329 (+21490.57%)
Mutual labels:  fake-data, faker-generator
faker
A set of javascript packages that generates fake data for you.
Stars: ✭ 33 (-79.25%)
Mutual labels:  fake-data, faker-generator
Curlsharp
CurlSharp - .Net binding and object-oriented wrapper for libcurl.
Stars: ✭ 153 (-3.77%)
Mutual labels:  dotnet-framework
toolbox
dein ToolBox - C# .Net Library with utilities like: command line, files, log, platform, shell, system, transform and validation [ Win+Mac+Linux ]
Stars: ✭ 46 (-71.07%)
Mutual labels:  dotnet-framework
CrawlerSamples
This is a Puppeteer+AngleSharp crawler console app samples, used C# 7.1 coding and dotnet core build.
Stars: ✭ 36 (-77.36%)
Mutual labels:  chsarp
Dotnet Etcd
A C# .NET (dotnet) GRPC client for etcd v3 +
Stars: ✭ 157 (-1.26%)
Mutual labels:  dotnet-framework
Dot-Net-Ecosystem
Welcome to the GitHub repository of the .NET Ecosystem. This repository contains the examples for the Pluralsight course: The .NET Ecosystem: The Big Picture. You can download a copy and follow along in the course.
Stars: ✭ 34 (-78.62%)
Mutual labels:  dotnet-framework
Entityframeworkcore.cacheable
EntityFrameworkCore second level cache
Stars: ✭ 138 (-13.21%)
Mutual labels:  dotnet-framework
useragent-generator
Easily generate correct user-agent strings for popular browsers
Stars: ✭ 62 (-61.01%)
Mutual labels:  faker-generator
BlipBinding
ASP.NET MVC case study solution for PluralSight Guides. Demonstrates how to use default MVC model binding with hierarchical form data.
Stars: ✭ 29 (-81.76%)
Mutual labels:  dotnet-framework
Simple.Wpf.Template
template for creating an MVVM based WPF application using Autofac, NLog & Rx
Stars: ✭ 31 (-80.5%)
Mutual labels:  dotnet-framework
bizbook-server
The repository of bizbook server web api project
Stars: ✭ 45 (-71.7%)
Mutual labels:  dotnet-framework
Hazel Networking
Hazel Networking is a low level networking library for C# providing connection orientated, message based communication via TCP, UDP and RUDP.
Stars: ✭ 194 (+22.01%)
Mutual labels:  dotnet-framework
common-random
简单易用的随机数据生成器。生成各种比较真实的假数据。一般用于开发和测试阶段的数据填充模拟。支持各类中国特色本地化的数据格式。An easy-to use random data generator. Generally used for data filling, simulation, demonstration and other scenarios in the development and test phase.
Stars: ✭ 397 (+149.69%)
Mutual labels:  fake-data
Appmetrics
App Metrics is an open-source and cross-platform .NET library used to record and report metrics within an application.
Stars: ✭ 1,986 (+1149.06%)
Mutual labels:  dotnet-framework
B2.NET
.NET library for Backblaze's B2 Cloud Storage
Stars: ✭ 63 (-60.38%)
Mutual labels:  dotnet-framework
Vulnerator
The official distribution of the vulnerability parsing utility.
Stars: ✭ 148 (-6.92%)
Mutual labels:  dotnet-framework
Sharpsnmplib
Sharp SNMP Library- Open Source SNMP for .NET and Mono
Stars: ✭ 247 (+55.35%)
Mutual labels:  dotnet-framework
MockSMS
Android application to create/craft fake sms.
Stars: ✭ 63 (-60.38%)
Mutual labels:  fake-data
ganttchart
The Winforms Gantt Chart is the .NET Winforms control originally hosted on CodePlex (http://ganttchart.codeplex.com)
Stars: ✭ 150 (-5.66%)
Mutual labels:  dotnet-framework

Faker

NuGet Build status FuGet

Codebase is built with AppVeyor and manually deployed to the offical nuGet feed from there.

C# port of the Ruby Faker gem (http://faker.rubyforge.org/) and is used to easily generate fake data:

addresses (UK, US),
boolean,
companies,
countries,
currencies,
enums,
finance (isin, ticker, coupon, maturity, bond name),
identification (social security number (US), MBI (US), national insurance number (UK), passport number (UK & US), Bulgarian Person Identification Number(PIN/ENG))
internet (email, domain names, user names),
lorem ipsum,
names,
phone numbers

Available as a NuGet package (https://nuget.org/packages/Faker.Net).

Get the code via git:

git clone git://github.com/slashdotdash/faker-cs.git

Example code

var name = Faker.Name.FullName(); // Tod Yundt
var firstName = Faker.Name.First(); // Orlando
var lastName = Faker.Name.Last(); // Brekke
var address = Faker.Address.StreetAddress(); // 713 Pfeffer Bridge
var city = Faker.Address.City(); // Reynaton
var number = Faker.RandomNumber.Next(100); // 30
var dob = Faker.Identification.DateOfBirth(); // 1971-11-16T00:00:00.0000000Z

// US - United States
var ssn = Faker.Identification.SocialSecurityNumber(); // 249-17-9666
var mbi = Faker.Identification.MedicareBeneficiaryIdentifier(); // 8NK0Q74KT53
var usPassport = Faker.Identification.UsPassportNumber(); // 335587506

// UK - United Kingdom
var nin = Faker.Identification.UkNationalInsuranceNumber(); // YA171053Y
var ninFormatted = Faker.Identification.UkNationalInsuranceNumber(true); // YA 17 10 53 Y
var ukPassport = Faker.Identification.UkPassportNumber(); // 496675685
var ukNhs = Faker.Identification.UkNhsNumber(); // 6584168301
var ukNhsFormatted = Faker.Identification.UkNhsNumber(true); // 658 416 8301

// BG - Bulgaria
var bulgarianPin = Faker.Identification.BulgarianPin(); //6402142606

Supported versions:

.NET framework 4.5,
.NET framework 4.6,
.NET framework 4.7,
.NET framework 4.8,
.NET Standard 2.0,
.NET Standard 2.1,
.NET Core 3.0,
.NET Core 3.1,
.NET 5.0,
.NET 6.0

No longer supported in nuGet package (1.1 going forward):

.NET framework 3.5 SP1,
.NET framework 4.0,
Silverlight 3.0,
Silverlight 4.0,
Silverlight 5.0,
Windows Phone 7,
Windows Phone 7.1
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].