11
itzyzex
6y

Im so hyped for C# blazor

Comments
  • 1
    Ah, C#, me favourite after C/C++ and OCaml/Haskell. Blazor looks super interesting.
  • 2
    @FrodoSwaggins I know you dislike Microsoft but anyway, here goes: Blazor is a way to use C# to develop web apps, I *think* by using the Mono runtime compiled to WebAssembly and some JavaScript intermediary code, plus clientside framework code.

    It'd be great because you can then use ASP.NET Core to do the serverside bit and Blazor for the clientside bit (kinda opposite of what Node did for JS - it allowed JS to be run serverside). C# is far superior to JS and (in my opinion) Typescript, so yay.

    For people like me who really enjoy C# especially since Microsoft open sourced it and .NET Core, this is awesome.

    Also, since it supports C# I'm sure F# isn't far behind (hooray for common intermediate languages), and that would be truly awesome.
  • 3
    Yes it looks very promising! I love it that you can program in C#, run .net in browser, cross platform. Almost magic. Can't wait for the first production release but it will probably take some time before it's at that stage.
  • 0
    Yeah, I've had a go at developing with it and it feels really great to write lovely and safe c# for the frontend, though there are a few bugs to iron out atm
  • 0
    @FrodoSwaggins adding to what @RememberMe said, Blazor uses mono to compile the c# code to WebAssembly. The cool thing is that if you load a Blazor site in a browser and look at the network tab you'll see a bunch of DLL files being download. So basically you'll be running C# on the client side (and as of the latest experimental release, you can also have that running server side). Now Blazor is an experimental project not meant for production and suffers from performance Issues because the Mono runtime isn't optimized for WebAssembly, however the Mono team Are working on something which Blazor will benefit from by improving it's performance. Oh, and Blazor is an SPA too.
Add Comment