Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Before I heard blazor supports custom elements which can be used to integrate with blazor with other frameworks like react, angular etc. The way it supports that is by registering blazor component as standard web custom element. When the custom element is loaded it will try to connect to blazor host. For example for blazor server, it will try to reuse or create a websocket connection to asp.net core and initialize that custom element like normal blazor component. For more detail you can check AspLabs.
Below stuff is using [Fun.Blazor](https://github.com/slaveOftime/Fun.Blazor) as the tech background. Which is just a fsharp wrapper for blazor.
My blog site is updated into this way, most parts are static rendered by asp.net core and the view count in post detail page will connect to server again with a websocket connection, and increase the view count, finally return a html fragment to that static page.