Build a live shared shopping list with ASP.NET Core SignalR and Angular - hubs, groups, typed client events, and the CORS settings that make a browser WebSocket connection actually work.
A JWT sitting in memory does not stop a signed-out user from seeing a protected page for a split second. An Angular functional route guard, paired with a .NET Identity + refresh token backend, closes that gap.
Wire ASP.NET Core Identity's built-in API endpoints to an Angular app - login, a bearer token on every request, and an HTTP interceptor that silently refreshes an expired token and retries the failed call.