Search⌘ K
AI Features

Understanding Hosted Applications

Explore how to create hosted Blazor WebAssembly applications using ASP.NET Core. Understand the roles of client, server, and shared projects and how they interact via Web API endpoints and shared application logic, enabling robust web app development.

We'll cover the following...

When we create a new Blazor WebAssembly project by using Microsoft's Blazor WebAssembly App project template, we have the option to create a hosted Blazor WebAssembly app by checking the “ASP.NET Core hosted” checkbox.

The following screenshot highlights the “ASP.NET Core hosted” checkbox:

Blazor WebAssembly App project template
Blazor WebAssembly App project template

The hosted Blazor WebAssembly app, created by the Blazor WebAssembly App project template, includes the following three ...