Thursday 23 June 2022

### What is blazor?

### What is blazor?


```
C:\Users\matthew.oh>dotnet --list-sdks
6.0.300 [C:\Program Files\dotnet\sdk]
```



q. what is blazor?
ans. using c# as javascript

q. web assembly?
ans. web compiler

q. SignalR connection?
ans. connection between client and server
when button clicks on client side, HTML Diff sent from server through SignalR connection

blazor application + server hosting model
C:\Users\matthew.oh>dotnet --list-sdks


## Blazor tutorial



separate .cs files or inline in your Razor components.

### todo blazorapp
@expression() to add a c# statement inline with HTML
@code
@functions
@Page
@bind

```
c:\Works\BlazorApp\BlazorApp>dotnet new razorcomponent -n Todo -o Pages
The template "Razor Component" was created successfully.
```




No comments:

Post a Comment