07:31On .NET Live: Next-level EF Core Data Seeding with Bogus
From the creator
When you seed your app's database for testing, do you use realistic data? Or do you manually enter Mr. Test Userone and Ms. Test Usertwo and call it a day? In this week's episode, community MVP Sander ten Brinke joins us along with Brian Chavez, the developer of Bogus, a library for seeding databases in Entity Framework Core apps. Come learn how to uplevel your data seeding code! ⌚ Chapters: 00:00 Countdown 3:07 Welcome to On .NET Live 05:04 Agenda 06:15 Bogus 09:55 Demo 14:45 Multi-language 20:36 Why is Bogus useful? 23:30 Datasets 25:47 Bogus and Faker.js 29:15 Locales and languages 30:10 API Extension Methods 31:15 Community NuGet Extensions 33:10 Q&A 37:51 Entity Framework Core 40:15 A practical example 42:55 The pain of setting up data for a new system 43:47 Setting up test data with EF Core 44:40 Migrations 47:07 Q&A 48:50 Combining Entity Framework Core with Bogus 50:35 Demo 58:00 The future of Bogus 58:51 Resources 59:33 Wrap Resources: Bogus: https://github.com/bchavez/Bogus EF Core: https://github.com/dotnet/efcore Blog: https://stenbrinke.nl/blog/taking-ef-core-data-seeding-to-the-next-level-with-bogus/ Demo: https://github.com/sander1095/bogus-efcore-demo Featuring: Sander ten Brinke (@sandertenbrinke), Brian Chavez (@bchavez) #ef-core #database
Published 2024-04-16 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.





