© Peter Himschoot 2019
Peter HimschootBlazor Revealedhttps://doi.org/10.1007/978-1-4842-4343-5_6

6. Communication with Microservices

Peter Himschoot1 
(1)
Melle, Belgium
 

In the previous chapter, you build a microservice using ASP.NET Core and Entity Framework Core to retrieve the menu of pizzas from the server. In this chapter, you will add support to the Blazor client to talk to that microservice. You will also complete the project by adding support for completing the order.

Using the HttpClient Class

Start by opening the MyFirstBlazor solution you created in the first chapter. You will use this project to examine the template that was created for you. You will start by looking at the server side of the solution, then the shared project’s code, and ...

Get Blazor Revealed: 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.