X

Announcements from .NET Conf: Focus on Blazor

Microsoft made very interesting announcements at .NET Conf: Focus on Blazor online conference. There are many great things are happening and Blazor is also making a fast progress on finding its way to mobile and desktop. Here’s the short overview of what’s happening and what’s coming next.

Blazor WebAssembly new features for May

Features of Blazor WebAssembly (aka client-side Blazor until now) were announced by Dan Roth:

  • Runs on .NET Core 3.1 and is compatible with .NET Standard 2.1
  • Blazor packages will be versioned as 3.2 because they are not part of .NET Core 3.1 (LTS)
  • WebSockets and SingalR client
  • Support debugging in Visual Studio and browser dev tools
  • Automatic rebuild when something changes
  • Intermediate Language (IL) trimming
  • Brotli compression (already supported by ASP.NET Core)
  • Static web assets integration
  • Authentication options
  • Localization

Experimental Blazor projects

Dan Roth also announced some interesting experimental Blazor projects.

Exploring Blazor Hybrid scenarios is one of major themes for coming .NET 5.

Testing comes to Blazor

There has been some on-going work to get testing to Blazor world. Last year, in the end of August, Steven Sanderson blogged about prototype level test tooling for Blazor: Unit testing Blazor components – a prototype. Here’s the tweet by Claudio Bernasconi showing one Blazor test.

Based on this early work Egil Hansen built Blazor Components Testing Library.

Default Blazor WebAssembly download size

Steven Sanderson told about progress on Blazor assembly trimming to get smaller download size. Current default Blazor application is around 2MB. Blazor team has target of 1.5MB when Blazor WebAssembly is released at May.

Assembly trimming is resource expensive and time consuming step. To avoid putting load to developer machines when building and testing applications, assembly trimming is moved to publishing phase. This is something that is not possible with JIT without losses on application loading time.

Videos of conference presentations should be shortly available here: https://channel9.msdn.com/Events/dotnetConf/Focus-on-Blazor 

Check out if Carl Franklin’s Blazor Roadshow is happening somewhere near you. Dates in Europe and Canada will posted later. US dudes can make their plans already now. Event is free but be aware – the number of seats may be limited!

Liked this post? Empower your friends by sharing it!
Categories: Blazor

View Comments (2)

  • Well as long the "loading" takes a very very long time this is not something very usefull for Enterprise webapplications. In my opinion a website has to show up immediately, without wait-time, even if its the first time.

    If you need a real-time webapplication a loading time can be acceptable, but in no way as long its now.

    Time will tell when this will become better. Wonder what the name will be: Blazor WebAssembly or Blazor Client because Microsoft documentation is not very clear about this.

  • Page loading time is sometimes hard to optimize even if it's a regular HTML+JS application. I'm sure Microsoft will work out something for loading time or parallel loading of page artifacts.

    Client-side Blazor is the older name. Blazor WebAssembly is new name.

Related Post