Skip to content

Commit d9ad2aa

Browse files
Introduction to Web Development with Blazor
1 parent 6d1a1ae commit d9ad2aa

File tree

4 files changed

+37
-0
lines changed

4 files changed

+37
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Introduction to Web Development with Blazor
2+
3+
## What is Blazor?
4+
5+
Blazor is a modern frontend web framework based on HTML, CSS, and C# that helps you build web apps faster. With Blazor you build web apps using reusable components that can be run from both the client and the server so that you can deliver great web experiences. Blazor is part of .NET, a developer platform for building anything. .NET is free, open-source, and runs cross-platform.
6+
7+
```
8+
<h1>Counter</h1>
9+
10+
<p role="status">Current count: @currentCount</p>
11+
12+
<button class="btn btn-primary" @onclick="IncrementCount">Click me</button>
13+
14+
@code {
15+
private int currentCount = 0;
16+
17+
private void IncrementCount()
18+
{
19+
currentCount++;
20+
}
21+
}
22+
```
23+
24+
![alt text](image.png)
25+
26+
![alt text](image-1.png)
27+
28+
## When to use Blazor
29+
30+
Blazor is a fully featured web UI framework designed to handle the needs of most modern web apps. But whether Blazor is the right framework for you depends on many factors.
31+
32+
You should consider using Blazor for web development if:
33+
34+
- You're looking for a highly productive full stack web development solution.
35+
- You need to deliver web experiences quickly without the need for a separate frontend development team.
36+
- You're already using .NET, and you want to apply your existing .NET skills and resources on the web.
37+
- You need a high-performance and highly scalable backend to power your web app.
Loading
Loading
162 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)