Chapter 5. Persisting Changes
In the previous chapter, we replaced our dummy data provider with a real data provider built upon EF Core using a code-first approach. Now that we have data persistence, we're ready to entrust our users with the ability to interact with our application; this means that we can implement some much needed features such as login view, access control, and server-side sessions, as well as specific views to create, edit, or delete our entities, whether they are Items
, Comments
, or Users
, ensuring that all the changes will be reflected in the database.
In this chapter we will take care of the latter, leaving the authentication features out; we will address these later on, as they will have their own dedicated chapter.
Add, ...
Get ASP.NET Core: Cloud-ready, Enterprise Web Application Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.