About Blazor

Microsoft’s Blazor is one of the recently Introduced and a wonderful Web UI framework to develop single page applicationsBlazor is a component-based architecture where each page is a component, and each part of page can be a componentWith Blazor the use of JavaScript for building a web application will be very minimal or nilBlazor fully supports invoking JavaScript methods from C# and vies versa. 


Blazor project will have Razor components and Blazor comes in two flavors. 

  1. Blazor Web assembly
  2. Blazor Server 

Blazor Web Assembly 

Shortly this is called as Blazor WASMThis flavor of Blazor approach can be used when we are creating a rich client-side application which interacts with the rest services and offline capabilities with WASMIn this approach the application will get downloaded into the client system for the first time and the same will be served based on the client's requestBlazor WASM can be hosted as a standalone client application or the same can be hosted with the asp.net core backed hosted serviceHere Web assembly is an optional thing where user can opt –in or opt-out. 


Blazor Server 

Blazor server is typically a asp.net core application with Blazor featuresBlazor events or user actions are handled with the built-in SignalR connectionWith this approach the initial load of the application in the client browser will be minimumOnce the application is loaded, then all the requests and responses will be handled with the build-in SignalR connection. 

 


Comments

Popular posts from this blog

Learning C#