Skip to content

Commit b70a307

Browse files
authored
add link to Blazor server notes
1 parent 5ee9268 commit b70a307

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ is only 2.5MB. While the runtime and libraries contribute to the initial downloa
3636

3737
---
3838

39-
**Blazor Server:**
39+
# Blazor Server
4040
Hey! Size doesn’t matter—I’ll just switch to Blazor Server!
4141

4242
1. Even in this case, JS and CSS files still need to be downloaded.
4343
2. Blazor Server isn't highly scalable. Why? Because when a page contains multiple lists, data grids, and dropdowns (depending on complexity), each with, say, 50 items, all these elements—along with the DOM state and other objects—remain in the server's memory. From experience, memory leaks are common in projects where some of this memory isn’t properly released when user leaves the site.
4444
3. If a site has large asset files, Blazor Hybrid version of the app (on Android, iOS, Windows, and macOS) will also experience slower startup times. This is because all assets must be loaded from disk into memory, and the CPU needs to process them before execution.
4545
4. Most Blazor Server projects are developed without an HTTP or gRPC layer and often rely on numerous NuGet packages since DLL file sizes don’t impact download size (Except their CSS/JS parts). This approach makes development easier at first, but when you later need to build a mobile app or a public-facing website with Blazor, you’ll have to drastically change your development approach. On the other hand, if you focus on building lightweight Blazor WebAssembly apps from the start, your approach remains adaptable across all scenarios—including enterprise applications, offline web apps, and public websites etc.
46-
5. Blazor Server offers a better developer experience, but with a well-structured project—like those from [bit Boilerplate](https://bitplatform.dev/templates)you can develop in Blazor Server while seamlessly supporting multiple outputs, including Blazor WebAssembly and Blazor Hybrid (Android, iOS, Windows, macOS).
46+
5. Blazor Server offers a better developer experience, but with a well-structured projects like [bit Boilerplate](https://bitplatform.dev/templates), you can develop in Blazor Server while seamlessly supporting multiple outputs, including Blazor WebAssembly and Blazor Hybrid (Android, iOS, Windows, macOS).

0 commit comments

Comments
 (0)