u/commentsOnPizzain r/dotnet • Recommends
On “Is Blazor worth learning?”
…ly helps here. Third, with Server you can just access stuff like your database directly. With WASM, you need to create an API endpoint on your server and then call that endpoint from the WASM client. This means more code to write, though they are supposedly working on making it so you won't have to do as much and you can use a technique like this: link to this video Basically, instead of writing lots of API endpoints, you can create one endpoint that will take messages and respond to them appropriately.
And you can combine these techniques too. I set up my stuff to use Blazor SSR combined with WASM. I get an instant first-load and the WASM is downloaded in the background. You can also use full-auto wh…