SPAs
In this section, we are going to look at SPAs. First, we will learn about how they differ from web applications (aka multi-page applications) described in the Web applications section of this chapter, allowing us to appreciate the implications of the authentication and authorization mechanisms in question.
A typical SPA is served as static content to the browser. Since the initial static content consisting of HTML, CSS, and JavaScript files is still the same for all users, it is not uncommon to serve this content directly from a cloud storage service, rather than a web server, as covered in the Web applications section in this chapter. Determining whether to choose a multi-page application or SPA in line with the application requirements is beyond the scope of this book. For more information, it is recommended to refer to the following link: https://docs.microsoft.com/en-us/dotnet/architecture/modern-web-apps-azure/choose-between-traditional-web-and-single-page-apps.
The...