Monday, March 9, 2020

What is Blazor

What is Blazor

Blazor is a new framework in ASP.NET Core that allows to create interactive web applications using c# and HTML. 

Blazor comes with two different editions: Blazor Server and Blazor WebAssembly



Image Source :  .NET conference 2019 presentation


Blazor Web Assembly : This allows application to run under client browser using web assemblies. Blazor tries to resolve the browser runtime like Javascript, active x , flash , silverlight , Dart etc. Web Assembly is announced around June 2015. It supports most of web browsers and 

Blazor Server:  This comes with .NET core 3.0, this allows web application using Razor component to be hosted in ASP.Net core servers . This uses web socket to set up connection with client side using Signal R.


Features of Blazor
  • In Blazor interactive UI can be build using C# instead of JavaScript.
  • Blazor supports mobile browsers as well as all the latest browsers.
  • Client side scripting languages add complexity and cost but when you write code in Blazor this share .NET code with both the client and server.
  • Blazor helps you to write res-usable web UI components with C# and Razor Blazor is client side web UI framework.
  • With Blazor you can call into JavaScript libraries & browser APIs as needed. To achieve this you can use JavaScript interop  which help to use client side JavaScript libraries.
  • Blazor take care real time changes in client side and do rendering execution on server and rendering on client side.
  • Blazor uses thin client which executes on very low powered devices and older browsers.
  • App size doesn't grows as all the code resides on server

Partner tools and controls for Blazor

1. DevExpress

2. Ingragistics

3. Progress Telrik

4. radzen

5. Syncfusion



No comments:

Azure Cloud shell commands cheetsheet

  Certainly! Here's a cheat sheet of commonly used Azure Cloud Shell commands: Azure Account az login : Authenticate and log in to your ...