Summary

Before going further, let's do a quick recap of what we did throughout this chapter.

Having replaced the fake data provider with a real one, we made good use of it by implementing Add, Update, and Delete features for our ItemDetail controller. In order to do this, we improved our ItemService, implementing the corresponding add, update, and delete methods. Then we also updated the client GUI by creating new buttons, event handlers, and routes to properly handle them.

While implementing the process of creating a new item, instead of adding a new route, we chose to exploit the existing one already pointing to ItemDetail by passing an id with a value of 0, thus creating an internal convention for our own personal usage. Once done, we ran a full ...

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.