Uploaded by Abdrouf Elshebanix

blazorr

advertisement
PRESENTED BY
ABDALROUF ELSHEBANI
Road map
WHAT IS BLAZOR?
Blazor is a single page application development
framework. The name Blazor is a combination of the
words Browser and Razor (the .NET HTML view generating
engine).
The implication being that instead of having to execute
Razor views on the server in order to present HTML to the
browser, Blazor is capable of executing these views on the
client.
WHAT IS SINGLE PAGE APPLICATION ?
A single page application is a single page where a lot of information stays the
same and only a few pieces need to be updated at a time.
The SPA only sends what you need with each click, and your browser renders
that information. This is different than a traditional page load where the server
rerenders a full page with every click you make and sends it to your browser.
IS BLAZOR OPEN SOURCE FRAMEWORK?
Blazor source code is available online. The source code
is owned by The .NET Foundation, a non-profit
organization created for the purpose of supporting
open-source projects based around the .NET
framework.
BLAZOR HOSTING MODELS
WHAT’S WEB ASSEMBLY ?
• WebAssembly is an instruction set designed to run on any
host capable of interpreting those instructions .
• Wasm is an instruction set that is formatted in a specific
binary format. Any host (hardware or software) that adheres
to this specification is therefore capable of reading binaries
and executing them - either interpreted, or by compiling
directly to machine language specific to the device.
WHAT’S WEB ASSEMBLY ?
• Run Blazor apps offline once downloaded – Blazor
WebAssembly apps built as Progressive Web Apps (PWAs) can
run offline (for example when when clients aren't able to
connect to the Internet)
• Static site hosting - Blazor WebAssembly apps are
downloaded to clients as a set of static files (no server is
required to execute server-side code in order to download and
run)
• Offloads processing to clients (apps are executed on the
clients)
the blazor Server-Side
• In the blazor Server-Side, Blazor is executed on the server from within
an ASP.NET Core app. UI updates, event handling, and JavaScript calls
are handled over a SignalR connection.
Blazor Server apps have direct access to server and network resources where
the app is executing.
Support for thin clients - Blazor Server apps work with browsers that don't
support WebAssembly and on resource-constrained devices
Blazor IMPLEMENTATION…..
Download