In case you haven't been following the news about WebAssembly (e.g. WASM), it's a new way to build something akin to bytecode for the browser. The latest versions of most browsers now support it including Chrome, Firefox and Edge.
Microsoft has built an experimental release of something called Blazor that builds web projects in WebAssembly so you can write all your code in C#. But after playing with one of the builds, I'm starting to think about who this really is for. Let's delve into what WebAssembly is and then how Blazor works to explain what I think.
The ASP.NET Team has created a new set of tooling called Blazor. 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. It does this by building on ASP.NET Core's promise to run anywhere. You could think of it as an ASP.NET Core-based replacement for something like Vue and Angular. It feels very much like that.
Blazor is experimental. No idea if will become a real tool, but it's an interesting take on what WebAssembly can do.
If you're interested in Blazor, go get it here:
But I do think Blazor is interesting for certain set of people: WebForms developers. Yeah, really. There is a large set of ASP.NET developers that are still doing everything server-side and are committed to C# as their one and only language. For them, Blazor fills a hole of being able to stay in their comfort zone. It also allows them to move to client-side development and leave the post-back era behind them.
My only fear here, is that Blazor might seem like the second coming of Silverlight and might kill it on the vine.
I agree with many of you about what WASM is for and what will happen. But I think that Blazor isn't really for that. I think that pushing Razor/C# into the browser is heavy handed but has an audience. But what happens to WASM is going to be very interesting. I don't think we can guess what it'll look like in the future.
What do you think?
My new Wilder Minds' course is available as an Early Access for only $79. It will be released on a weekly basis. The first module is now available:
|Vue.js by Example (Early Access Now Available)|
|Bootstrap 4 by Example (Just Released)|
|Intro to Font Awesome 5 (Free Course)|
|Building a Web App with ASP.NET Core, MVC6, EF Core, Bootstrap and Angular (updated for 2.0)|
|Using Visual Studio Code for ASP.NET Core Projects (new)|
|Implementing and Securing an API with ASP.NET Core|
|Building a Web App with ASP.NET Core, MVC6, EF Core and AngularJS|
|Building a Web App with ASP.NET5, MVC6, EF7, and AngularJS (Retired)|
|Best Practices in ASP.NET: Entities, Validation, and View Models|
|Front-End Web Development Quick Start|
|Lessons from Real World .NET Code Reviews|
|Node.js for .NET Developers|
|Application Name||WilderBlog||Environment Name||Production|
|Application Ver||v4.0.30319||Runtime Framework||x86|
|App Path||D:\home\site\wwwroot\||Runtime Version||.NET Core 4.6.26628.05|
|Operating System||Microsoft Windows 10.0.14393||Runtime Arch||X86|