Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
- Overview of Segmenting and Protecting Data 1:52
- Segmenting Data
- Updating the Database Seed Data
- Updating the Entries Repository
- Updating the Entries List Page
- Protecting User Data
- Securing Communication Between the Client and Server
- Preventing Cross-Site Request Forgery (CSRF)
- Reviewing Segmenting and Protecting Data 6:49
- Wrap Up 1:57
- Section Review 5 questions
Well done!
You have completed User Authentication with ASP.NET Identity!
Instruction
Updating the Database Seed Data
Now that our Entry data model allows for an entry to be associated with a user, we need to update our database seed data so that each entry we're seeding into the database is associated with a user. But before we can do that, we need to update our seed data to include user data; otherwise we won't have users to associate with our entries!
Go ahead and open the "DatabaseInitializer.cs" file l...