By having a strong fundamental, you can learn Blazor fast and effectiveness. Here is what you need to learn:
In this tutorial, you will learn:
Some advantages of Blazor WebAssembly are:
The following image illustrates how Blazor WebAssembly works:
Step 1: The browser sends an HTTP request to the file server.
Step 2: The file server sends a bunch of files, including blazor.webassembly.js
.
Step 3: The browser receives the files, including blazor.webassembly.js
.
Step 3: blazor.webassembly.js
will responsible for updating the HTML, sending requests to the compute server, processing response from the compute server.
Blazor WebAssembly can work with JavaScript. However, you should not use JavaScript when the operation can be done in Blazor. It will make your development process becomes complicated.
wwwroot
folder without configuration.wwwroot
folder but in the compute server.The wwwroot
is an important folder of Blazor WebAssembly, if you want to serve some static files, make sure you put the files in the wwwroot
folder of the Blazor WebAssembly project. Otherwise, your files will not be served by default.