O'Reilly logo

ASP.NET Core: Cloud-ready, Enterprise Web Application Development by James Singleton, Valerio De Sanctis, Mugilan T. S. Ragupathi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 9. User Registration and Account Edit

In this chapter, we'll be adding a couple more account-related features that are still missing: user registration and edit user info.

User Registration

To implement a User Registration logic, we need to take care of the following tasks:

  • Create a UserViewModel to send and receive data from and to the Web API, just like we did with items back in Chapter 2, ASP.NET Controllers and Server-Side Routes
  • Add the Get, Add, Update, and Delete RESTful methods to the AccountsController Web API interface
  • Handle all these methods in Angular 2 by updating the AuthService class
  • Create a UserEditComponent class in our Angular 2 client to host the registration form, hooking it to the AuthService accordingly
  • Update the other ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required