Back to the API
Data seeding
A quick way of getting some test data into the database is to use data setting form JSON.
A JSON generator can be used to generated some data that can easily be seeded into the database via EF. The new way of doing this is to run migrations in Program.cs and then seed the data.
This would need to be a development only step rather than n production.
Automapper
Using automapper to convert between Dtos and Models. This is something that I'm quite familiar with. Would just need to check the performance.
A quick way of getting some test data into the database is to use data setting form JSON.
A JSON generator can be used to generated some data that can easily be seeded into the database via EF. The new way of doing this is to run migrations in Program.cs and then seed the data.
This would need to be a development only step rather than n production.
Automapper
Using automapper to convert between Dtos and Models. This is something that I'm quite familiar with. Would just need to check the performance.
Comments
Post a Comment