© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago
skmkqw

Problem with seeding data

Hello evereybody. I've recently updated my projects with authentification. Before that, i managed users as simple database resource with simple CRUD operations. Now my AppUser inherits from IdentityUser. I also added a new endpoint for user registration. But now i need to update my integrational tests and im having problems with inserting seed data into test database. How to fix my WebApplicationFactory and Utilites classes to add/delete seede users to database?
TestWebApplicationFactory.cs2.2KB
Utilities.cs4.42KB
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Data seeding database
C#CC# / help
3y ago
Seeding Data Into Database
C#CC# / help
2y ago
Seeding data from csv file
C#CC# / help
3y ago
Data seeding with anonymous objects in .NET 9
C#CC# / help
10mo ago