Client-server auth test

Before moving further, it's definitely time to perform a client/server interaction test to ensure that our authorization pattern is working as expected.

From the Visual Studio source code editing interface, we can put a breakpoint right below the Put method of QuizController:

Once done, we can launch the application in debug mode, navigate from the Home view to the Login view, and authenticate ourselves. Right after that, the Create a Quiz menu element should appear, allowing us to click on it.

From there, we can fill in the form with some random text and click on the Save button. The form will consequently call the ...

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.