BT

Blazor Now an Official Microsoft .NET and WebAssembly Project

| by David Iffland Follow 3 Followers on Feb 12, 2018. Estimated reading time: 2 minutes |

A note to our readers: You asked so we have developed a set of features that allow you to reduce the noise: you can get email and web notifications for topics you are interested in. Learn more about our new features.

Microsoft has taken another step towards .NET running in the browser by adopting the web UI framework Blazor from its creator Steve Sanderson. By doing so, Microsoft adds another piece to their WebAssembly/.NET stack, giving .NET developers a higher order abstraction to build browser-based apps with.

In a blog post, Dan Roth says that Blazor is a "new experiment" that allows .NET developers to build single-page applications for web browsers. The news may be a little confusing because Blazor was first created by Microsoft engineer Steve Sanderson and was demoed in mid-2017. The change is that the project is now officially part of the ASP.NET project hierarchy rather than a personal project. Sanderson's wrote a post on his blog that provides some more context:

Today the ASP.NET team announced that Blazor has moved into the ASP.NET organization, and we’re beginning an experimental phase to see whether we can develop it into a supported shipping product.

Sanderson says that Blazor is inspired by JavaScript frameworks such as React, Vue, and Angular but mashed up with technologies familiar to an ASP.NET programmer.

Blazor will have a feature set similar to other web application frameworks such as a component model, routing, and JavaScript interop. Components, for example, can be done via C# classes or as a Razor page. Routing and layouts are often essential features of a web framework but are optional, a nod towards keeping the payload size as small as possible.

The JavaScript ecosystem is huge and has many libraries that JavaScript developers depend on. Sanderson says that the team is looking to see if they can use existing TypeScript definition files to provide tooling support for calling them from C# code.

The Blazor project builds on top of the work done by the Mono team to compile C# to WebAssembly. That work is at a lower-level and doesn't provide any sort of framework for typical web application development; it's purely .NET running in the browser.

The move to the ASP.NET team likely means that the project will have more resources to grow at a faster pace, but it's too soon to announce that the project will become a production-grade reality.

During this experimental phase, we expect to engage deeply with early Blazor adopters to hear your feedback and suggestions. This time allows us to resolve technical issues associated with running .NET in the browser and to ensure we can build something that developers love and can be productive with.

WebAssembly is a binary format, intended to give web developers near-native performance in the browser, without the need to parse and interpret JavaScript. It is now supported in all major browsers.

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT