Setting up the sample application
The application for this chapter will be based on the sample application for the Blazor WebAssembly (WASM). This application was chosen because it provides enough complexity to be interesting, as well as providing a good basis for a real-world application. This example ASP.Net Core web application shows us a good example of a Single-Page Application (SPA). In many ways, the application's behavior is more like a desktop application than a traditional website.
When we built a PWA in Chapter 6, Exploring Blazor Web Frameworks, that PWA sent messages to a SignalR Hub, which distributed messages to the server in real time. In Chapter 6, Exploring Blazor Web Frameworks, we installed the application to show the application running as a native application while still posting messages to the server.
In this section, we will create a similar SPA, and using the tools available in the browser, we will explore more what a PWS means. By the end of this...