Blazor lets you build interactive web UIs using C# instead of JavaScript. Blazor apps are composed of reusable web UI components implemented using C#, HTML, and CSS. Both client and server code is written in C#, allowing you to share code and libraries. Blazor is a feature of ASP.NET, the popular web development framework that extends the .NET developer platform with tools and libraries for building web apps. Blazor can run your client-side C# code directly in the browser, using WebAssembly. Because it's real .NET running on WebAssembly, you can re-use code and libraries from server-side parts of your application. Alternatively, Blazor can run your client logic on the server. Client UI events are sent back to the server using SignalR, a real-time messaging framework. Once execution completes, the required UI changes are sent to the client and merged into the DOM.
Features
- Built on open web standards
- Blazor works in all modern web browsers, including mobile browsers
- Code running in the browser executes in the same security sandbox as JavaScript frameworks
- Blazor code executing on the server has the flexibility to do anything you would normally do on the server
- Run on WebAssembly or the server
- Interactive web UI with C#