Back to Browse

Generating Demo Data with EFCore and Bogus

1.8K views
Oct 19, 2021
27:35

Recording of my lectures at HTL Leonding 2021/22. You can find the course material on GitHub at https://github.com/rstropek/htl-leo-pro-5. This week, we dive deeper into various aspects of Entity Framework Core. In the first hour, we learn how we can generate demo data for testing (manual and automated) with the Bogus library. If you are not interested in following along with the sample, forward to the part about Bogus: 00:00:00 Intro 00:00:17 Recap of the requirements of the sample 00:02:28 Setting up the starter project 00:03:38 Updating to .NET 6 RC 2 00:04:13 Configuring LocalDB (incl. version update) 00:09:10 Setting up the demo data generator class 00:10:17 Clearing data with raw SQL 00:12:10 Generating demo data with Bogus 00:21:50 Adding the demo data generator to DI 00:22:29 Implementing the API for demo data generation 00:26:47 Wrapping up

Download

0 formats

No download links available.

Generating Demo Data with EFCore and Bogus | NatokHD