z The Flat Field Z
[ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ ]

Vite SPA with ASP.NET Core Backend for Frontend

csharp docker typescript vite aspnetcore

Single-page-applications (SPAs) have a lot of desirable characteristics such as a high level of interactivity and ease of deployment. Unfortunately the security story is not as strong. Without a backend they have to store sensitive credentials they need to access APIs on the client side. These difficulties are further compounded by increasingly strict browser cookie defaults that make implementing more complicated auth flows like OpenID Connect very difficult.