Edit Account

Out of the three RESTful methods, we implemented in our Web API and AuthService interfaces, the whole User Registration view only took one. The Get and the Update methods are still there, waiting for us to make use of them.

The best thing we can do to test them both is to implement an Edit Account view to give our users the chance to change a limited set of their account info, such as e-mail address, password, and display name.

Luckily enough, we already did most of the job: the UserEditComponent already does most of what we need; we just have to tweak it a bit more so it can be used to update an existing account as well as register a new one.

Two routes, one component

In contrast with what we did for the ItemDetailEditComponent, we don't ...

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.