The user interface

From Solution Explorer, right-click to the /ClientApp/app/interfaces/ folder and add a user.ts TypeScript file with the following content:

interface User {    Username: string;    Password: string;    Email: string;    DisplayName: string;}

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.