question

6666666 avatar image
0 Votes"
6666666 asked 6666666 commented

the different between blazor server and webassembly?

I know there is a loading screen in the blazor

is it only in blazor webassembly? not in blazor server?

Is it ok to use blazor to develop a company main website?

dotnet-aspnet-core-blazor
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

miwan2-msft avatar image
0 Votes"
miwan2-msft answered 6666666 commented

Blazor WebAssembly

The primary Blazor hosting model is running client-side in the browser on WebAssembly. The Blazor app, its dependencies, and the .NET runtime are downloaded to the browser. The app is executed directly on the browser UI thread. UI updates and event handling occur within the same process. The app's assets are deployed as static files to a web server or service capable of serving static content to clients.

When the Blazor WebAssembly app is created for deployment without a backend ASP.NET Core app to serve its files, the app is called a standalone Blazor WebAssembly app. When the app is created for deployment with a backend app to serve its files, the app is called a hosted Blazor WebAssembly app. A hosted Blazor WebAssembly Client app typically interacts with the backend Server app over the network using web API calls or SignalR (Use ASP.NET Core SignalR with Blazor).

Blazor Server

With the Blazor Server hosting model, the app is executed on the server from within an ASP.NET Core app. UI updates, event handling, and JavaScript calls are handled over a SignalR connection.

Blazor Server uses a standard ASP.NET Core application. Within that application, we can integrate server-side functionality, such as integrating a SQL Server database through Entity Framework.

84798-image.png

The hosting model you should use will depend on the objectives and the features you want to offer in your application.

If you plan to use the application where Internet connectivity is weak, you might opt for Blazor WebAssembly as it functions well without a server connection. It’s also a better choice if you prefer to work offline.

If you’re looking to build company website, Blazor Server is a better choice.








If the answer doesn’t solve your issue, please provide more details of error that will help us track down what’s happening.
If the answer is helpful, please click "Accept Answer" and vote it up.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Best Regards,
Michael Wang






image.png (22.0 KiB)
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

If there is a loading screen in the Blazor Server? how to remove it?

1 Vote 1 ·

If you are building blazor server from the template given on visual studio then there is no loading screen thing there.

1 Vote 1 ·

thank you

1 Vote 1 ·