© Peter Himschoot 2020
P. HimschootMicrosoft Blazorhttps://doi.org/10.1007/978-1-4842-5928-3_7

7. Single-Page Applications and Routing

Peter Himschoot1 
(1)
Melle, Belgium
 

Blazor is a .NET framework you use for building single-page applications (SPA), just like you can use popular JavaScript frameworks such as Angular, React, and Vue.js. But what is a SPA? In this chapter, you will use routing to jump between different sections of a SPA and send data between different components.

What Is a Single-Page Application?

At the beginning of the Web, there were only static pages. A static page is an HTML file somewhere on the server that gets sent back to the browser upon request. Here the server is really nothing but a file server, returning HTML pages to ...

Get Microsoft Blazor: Building Web Applications in .NET 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.