Testing it up

To properly test what we just did, we can now launch the application in debug mode, perform a Logout (if needed) and then click on the Login/Register link to access the Login view:

From there, click on the Don't have an account? Click here to create one! link to load the RegisterComponent form:

We can then try to fill the form fields, click on the Register button, and see what happens; again, in the (un)likely case that we don't get the expected results, we can use the Visual Studio debugging interface to inspect both the .NET ...

Get ASP.NET Core 2 and Angular 5 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.