© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
S. CashmoreBeginning Azure Static Web Appshttps://doi.org/10.1007/978-1-4842-8146-8_7

7. Displaying Data

Stacy Cashmore1  
(1)
Amsterdam, The Netherlands
 

In the previous chapter, we created our data source, seeded the data, and created two functions to retrieve both a list of blog post summaries and a single, complete blog post.

Now to make the front end of the site do something useful!

In this chapter, we will update the Client application to make HTTP requests to the Api to retrieve the summary list and individual blog posts. We’ll then display those blog posts on the website using Razor components and even put our latest blog post on the index page so that ...

Get Beginning Azure Static Web Apps: Building and Deploying Dynamic Web Applications with Blazor 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.