Posts

Showing posts from September, 2019

Blazor Hosting Models

Image
Now that we see what Blazor can do for us, how do we deploy your application out to the public.  Blazor has 3 different hosting / configuration formats that can be used.     Server   Client   Client Hosted in Asp.Net Core   Server Hosting     With this hosting model the entire application is ran on the server.  Users actions are sent vis  SignalR  to the server.  The server uses a virtual DOM and generates a binary DOM difference file and send it to the client where Blazor applies the changes the Browser.  For this hosting model to be most effective, you need to make sure your client will have good connectivity and fast servers.  Utilizing Azure, this is easy.    Benefits for Server Hosted   Works on older browsers   No business rules on the client   Small foot print, on client and no API layer   Built on  SignalR   Easy to Debug   Gives you full access to the .Net framework   Downloads and starts fast   Drawbacks for