ASP.NET Core: Cloud-ready, Enterprise Web Application Development
by Mugilan T. S. Ragupathi, Valerio De Sanctis, James Singleton
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access