Coding Shorts: Generating Sample Data in C# (with Bogus)

Опубликовано: 07 Январь 2025
на канале: Shawn Wildermuth
4,338
181

I've holding an ASP.NET Core + TailwindCSS + Vue workshop in Atlanta this March 28-30th. For more info:

https://shawn.wildermuth.com

I may be late to the party, but sometimes you want to generate large sets of sample data while in development with C#. I found Bogus, a great solution for doing this. Take a look on how it works:

00:00 - Introduction
00:45 - The Project
02:33 - Creating Your First Faker
07:29 - Generating Customers
08:55 - Replicating the Same Customers
11:24 - Using Multiple Fakers
16:27 - Using Bogus to Seed a Database
22:49 - Wrapping Up

Source code: https://github.com/shawnwildermuth/co...

If you like this video, you might like other videos in my Instructional Videos:
   • Instructional Videos  

You can hire me too! You can reach me at my new website:
https://shawn.wildermuth.com