Skip to content

C# Faker.NET is a library that generates fake data for testing and development purposes. It allows developers to easily create realistic test data such as names, addresses, phone numbers, and other types of data. This can be useful when creating test cases or when developing applications that require large amounts of data for testing.

Notifications You must be signed in to change notification settings

mertsgrr/fakernet-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Faker.NET - Fake User Data Generation and Database Transfer

  • Used in the Project
    Visual Studio - v2022
    C#
    .Net - 6.0
    MySQL

Installation

Database

  • Import the MySQL database in the repository to your own database
    • MySQL Database Name: fakeusersdb
    • MySQL Database Username: root (default)
    • MySQL Database Password: none (default)
    • MySQL Table Name: user

Usage

  1. Open the project with your code editor
  2. You can change the MySQL connection string on line 5 in Program.cs
  3. Enter the number of records you want to be created into the GenerateUser method on lines 12
  4. Run the program
  5. The number of records you specify will be added to the database

About

C# Faker.NET is a library that generates fake data for testing and development purposes. It allows developers to easily create realistic test data such as names, addresses, phone numbers, and other types of data. This can be useful when creating test cases or when developing applications that require large amounts of data for testing.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages