June 2017
Intermediate to advanced
1083 pages
22h 12m
English
We're now ready to seed our database. Since we hooked the DbSeeder.SeedAsync to the Startup class, it'll be as easy as hitting
F5
and letting the application work its magic. If we have done everything correctly, our database should be populated in no time. In order to check that, we can:
OpenGameList database.dbo.Items table and select View Data.Upon doing that, we should see something like the following:

Last but not least, we need to modify our ItemsController to use the ApplicationDbContext to retrieve data, getting ...
Read now
Unlock full access