© Taurius Litvinavicius 2019
T. LitvinaviciusExploring Blazorhttps://doi.org/10.1007/978-1-4842-5446-2_5

5. Blazor hosted

Taurius Litvinavicius1 
(1)
Jonava, Lithuania
 

The previous chapters covered a type of Blazor that runs on the server-side and the type that runs in the browser. This chapter will cover the hosted type of Blazor, which essentially is client-side Blazor combined with web api project.

Default template overview

Like the other types of Blazor, this one too has its own template. It is however as lot more complicated both in its size and its structure.

General structure

The structure of Blazor hosted project is rather complex; fortunately for us, everything is taken care of in the template. Essentially, you have a shared assembly for API ...

Get Exploring Blazor: Creating Hosted, Server-side, and Client-side Applications with C# 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.