What is Blazor?
The ASP.NET Team has created a new set of tooling called Blazor. It is a framework for client-side applications written in .NET, running under WebAssembly.
- It gives all the benefits of a rich, modern single-page application (SPA) platform while using .NET end-to-end.
- The idea about Blazor is to be able to combine Razor and C# into a client-side web project that runs completely in the browser.
- Runs at near-native performance
- Runs in a memory-safe, sandbox
- It compiles from a range of languages, i.e., .NET, C, C++, Java, Rust, etc.
Blazor contains all the features of a modern web framework such as:
- A component model for building composable UI
- Forms and validation
- Dependency injection
- Live reloading in the browser during development
- Server-side rendering
- Full .NET debugging both in browsers and in the IDE
- Rich IntelliSense and tooling
- Publishing and app size trimming