Blazor (WebAssembly)

What is Blazor?

Blazor is a framework for building interactive client-side web UI with .NET. Blazor is based on open web standards. It is being developed by Microsoft.

As long as the browsers support those open web standards, they will also support Blazor.

Even if Blazor disappears, you will be able to transfer a lot of knowledge that you gain by learning Blazor to other technologies. HTML and CSS are technologies that are around for 20+ years, and there is no sign that they will disappear anytime soon.

Also, C# is a very popular programming language that can be used for building many different types of applications, not only Blazor web applications.

Use:
Create rich interactive UI with C#
Render UI as HTML and CSS
Integrate with modern hosting platform ( Docker)
Can be shared and distributed as Razor class libraries or NuGet packages.

Blazor WebAssembly:
-Blazor WebAssembly is a single-page app (SPA) framework for building interactive client-side web apps with .NET.
-Running .NET code inside web browsers is made possible by WebAssembly
-WebAssembly is a compact bytecode format optimized for fast download and maximum execution speed

How it works?
When a Blazor WebAssembly app is built and run in a browser:
-C# code files and Razor files are compiled into .NET assemblies.
-The assemblies and the .NET runtime are downloaded to the browser.
-Blazor WebAssembly bootstraps the .NET runtime and configures the runtime to load the assemblies for the app
-The Blazor WebAssembly runtime uses JavaScript interop to handle DOM manipulation and browser API calls

Questions –
What is docker?

Leave a Reply

Your email address will not be published. Required fields are marked *