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?
|Vue.js by Example (New Lower Price)|
|Bootstrap 4 by Example (New Lower Price)|
|Intro to Font Awesome 5 (Free Course)|
|Building an API with ASP.NET Core (New Course)|
|Building a Web App with ASP.NET Core, MVC6, EF Core, Bootstrap and Angular (updated for 2.2)|
|Less: Getting Started (New)|
|Using Visual Studio Code for ASP.NET Core Projects|
|Implementing ASP.NET Web API|
|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.27817.01|
|Operating System||Microsoft Windows 10.0.14393||Runtime Arch||X86|