Introduction to Blazor Project Templates
Learn different project templates types used by Blazor.
There are two distinct Blazor application types: Blazor WebAssembly and Blazor Server. Moreover, there are also multiple ways of developing and deploying each of these application types. Therefore, there are multiple Blazor project templates available. They are as follows:
Blazor WebAssembly
Blazor Server
Hosted Blazor WebAssembly
Blazor WebAssembly Empty
Blazor Server Empty
Razor Class Library
In this chapter, we’ll cover them all. Here’s a brief overview of each.
Blazor WebAssembly
Blazor WebAssembly is the main template for building Blazor WebAssembly applications that can be executed directly in the browser. This template is recommended for beginners since it provides some code samples.
The disadvantage of using this template is that it contains some files that will be unnecessary for most real-life projects. These files will either have to be deleted or remain unused.
Get hands-on with 1400+ tech skills courses.