Skip to Content
Blazor in Action
book

Blazor in Action

by Chris Sainty
June 2022
Intermediate to advanced
344 pages
10h 10m
English
Manning Publications
Content preview from Blazor in Action

4 Routing

This chapter covers

  • Distinguishing traditional routing from client-side routing
  • Defining page components
  • Triggering navigation programmatically
  • Passing data via the URL
  • Working with query strings

Routing, or navigation, is a fundamental concept when building web applications. Traditionally, moving from one page to another was a case of loading an entirely new, physical HTML page from the server. In more modern server-based frameworks such as MVC or Razor Pages, those pages are dynamically compiled on the server before being sent to the client, but the process is still the same. However, in single-page applications, things work a little differently.

As always, to help you learn about the concepts we’re going to uncover in this chapter, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

React Cookbook

React Cookbook

David Griffiths, Dawn Griffiths

Publisher Resources

ISBN: 9781617298646Publisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link