TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Blazor – A .NET web framework that runs in the browser with WebAssembly

96 pointsby tegeekover 6 years ago

10 comments

dangover 6 years ago
<a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=18135949" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=18135949</a>
rattrayover 6 years ago
I&#x27;ve never used .NET, and don&#x27;t really intend to, but I think this is interesting nonetheless.<p>This is on track to become a &quot;built-in feature of ASP.NET Core 3.0&quot; – recall that &quot;.NET Core&quot; runs on Linux, etc.<p>Much C# development is still for internal business applications. For these applications, the overhead of shipping the .NET runtime to the browser in WASM - which <a href="https:&#x2F;&#x2F;blazor.net&#x2F;" rel="nofollow">https:&#x2F;&#x2F;blazor.net&#x2F;</a> sadly does not seem to mention - may not be a big deal, especially if they can be cached with service workers.<p>Keeping engineers fungible and cheap to hire &amp; train is a priority for enterprise software divisions. Software ecosystems that rely on the patience and curiosity of developers to explore an uncoordinated constellation of packages and design their own architecture (eg; Java, React ecosystems) can be suboptimal.<p>.NET&#x27;s historical &quot;all batteries included, all applications the same&quot; promise has been key here. But for rich frontends, Angular (their current choice) has, ah, high training costs.<p>If Blazor works well, .NET Core may become the first truly full-stack, integrated, get-it-all-here, framework for modern web app development.<p>As an uninvested bystander to enterprise software development, I&#x27;m curious to see how this goes.
评论 #18694587 未加载
评论 #18694571 未加载
评论 #18695091 未加载
评论 #18695291 未加载
评论 #18694626 未加载
评论 #18694492 未加载
评论 #18695038 未加载
评论 #18694697 未加载
mathover 6 years ago
In Blazor, what is sent to the browser is a .NET runtime, then the .net assemblies (which are .NET CIL, not wasm) which the runtime executes. They seem to have this working well, but it&#x27;s less efficient than, for example, Rust which has no runtime and compiles directly to wasm. C# is very much my goto language, but my eye is currently on Rust in this space because the scenarios where I feel the need for something other than Javascript in the browser are all performance related - i.e. I find React &#x2F; JSX great for working with the DOM.
评论 #18694240 未加载
评论 #18694212 未加载
评论 #18694565 未加载
评论 #18694386 未加载
masterofmiscover 6 years ago
I think Blazor might have a bright future in the Electron space. Its seems to me the stars are all aligning from that point-of-view.<p>Microsoft have had great success with Visual Studio Code and are now the custodians of Electron since they brought Github this year. Also, now that Microsoft are going all in on Chromium for Windows (and dropping Edge in the process) I wonder if they will introduce Blazor into Electron for better cross platform applications.<p>I just get the feeling there is a play there (in some fashion)
评论 #18694652 未加载
aphextronover 6 years ago
What&#x27;s the current state of this? Being able to develop with C# in the browser would be a dream, but the last I checked it wasn&#x27;t really ready for any kind of serious use.
评论 #18695137 未加载
评论 #18695381 未加载
untogover 6 years ago
.NET on WebAssembly could be a really interesting escape hatch for companies that have heavily invested in .NET apps and want to move away from Windows. Right now downloading the whole framework is a prohibitively large task, but for internal apps it would probably be fine. Port something WinForms-ish over as well and those apps could be cross platform with not much work.
评论 #18695115 未加载
评论 #18695405 未加载
xmichael999over 6 years ago
Any decent examples of this doing something?
评论 #18694847 未加载
AlphaWeaverover 6 years ago
I feel like <a href="https:&#x2F;&#x2F;blazor.net" rel="nofollow">https:&#x2F;&#x2F;blazor.net</a> might be a better url for this post.
k__over 6 years ago
How big is this?
sureaboutthisover 6 years ago
I think one can use WebAssembly by itself just fine. In fact, I know this to be true.