© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
5 replies
Allan

Questions regarding Blazor (WASM, Server etc.)

Hello, I'm starting a tiny project and I wanted to explore the possibilities of Blazor. I have some questions about the different possible things with Blazor because there's something I don't understand properly between the client-side and server-side.

I first made a WASM Blazor app, so it seems everything is done client-side. I wanted to know how to make server-side treatments (such as Database requests):
- Do I have to create my own controllers in the app?
- When you inject Services within your page, is the code within the service executed server-side or client-side? Can you chose this behaviour?

Then, is it bad to make a WASM Blazor App if I'm going to make some things server-side? Should I instead make a Blazor Server app, or a Hosted WASM Blazor app?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Questions regarding Blazor WASM + Web API
C#CC# / help
9mo ago
Blazor Wasm with blazor server or API
C#CC# / help
3y ago
.NET 8 / Blazor Server+WASM / Configuration
C#CC# / help
2y ago
✅ Blazor WASM Headers
C#CC# / help
4mo ago