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 Entries Repository
With our data model changes completed, we can update the "Entries" list page so that it'll only display the entries for the current user. Let's start with updating our repository.
In the Treehouse.FitnessFrog.Shared
project, open the "EntriesRepository.cs" file located in the "Data" folder. Here's the current implementation of the GetList
method:
/// <summary>
/// Returns ...