Blazor Update Adds Reusable Component Libraries
Microsoft has updated Blazor -- for full-stack Web apps coded in C# -- with new features including the ability to create reusable component libraries.
Those reusable libraries can provide Web UI components to be used in different projects while maintaining state and handling events. Developers can create the components, package and share them with others.
Other new features in the update include:
- Improved syntax for event handling and data binding
- Build on save in Visual Studio
- Conditional attributes
- HttpClient improvements
Roth thanked community volunteers for helping out with the improvements, noting that Blazor has already been put to use in developing real-world Web apps.
Meanwhile, WebAssembly itself is forging ahead, with v 1.0 shipping in four major browser engines. Mozilla, a primary backer of the project, recently offered up a Web-based IDE to code WebAssembly, though at this stage it's primarily a learning/fiddle (testing) type of project. With further refinement, its features could be provided to Visual Studio Code and other code editors/IDEs via extensions.
David Ramel is the editor of Visual Studio Magazine.