Are there any plans to support VB?
I want to rewrite some of my old WebForm VB projects to modern MVC websites. Compared with asp.net MVC 4, Blazor is closer to WebForm, because events can be handled in .NET codes rather than Javascript.
With VB+Blazor support, I can reuse more VB codes during the project upgrade.
In the long term we might well do, but for this first experimental phase we're keeping our project scope focused and are only looking at C# right now. Hope that's OK!
This thing (Blazor) sounds absolutely amazing - if only it supported VB.NET.
I have no problem with C# in general - but because we have a huge code base in VB.NET it is just not practical for us to move everything to C#.
And if I have to use one language on the server (VB.NET) and another for the client (C#) - then I might as well use one of the established and proven JS frameworks (Angular, React, Vue) + TypeScript since I loose the benefits of code re-use anyway.
In the docs you write "the purposes of this initial experimental phase are to ... Gauge interest and to listen to feedback."
We are still a lot of VB.NET developers out here, and I am sure that the "interest" you are looking for would increase if you prioritized VB.NET support.
Blazor with VB.NET would allow us to move our VB.NET WinForm based U.I. stuff to the web so much faster and easier than anything else.
I for one would go into production with this immediately - if it supported VB.NET.
I fill your pain - we have desktop application written in C++. Do you already have WebAPI service written in VB? If not, it is time to forget VB and rewrite everything in C#. I don't know your application but I think that if you want to move VB.NET WinForm application to the web you have to rewrite almost everything. Of course you can have some business logic which is directly transferable to the web. You can try this http://converter.telerik.com/ to translate small snippets of your code from VB to C#.
@jesperhoy Blazor runs on a WebAssembly based .NET runtime, which runs normal .NET assemblies. So if you can compile your VB to .NET Standard libraries I believe they should work in a Blazor app. The Razor syntax (.cshtml) used to author the component rendering logic is C# based, and there is no plans to change that, but all of the rest of your app logic I believe could be written in VB.
@danroth27 - Thank you so much for responding.
That solution might just work for us!
I had all but written of Blazor - but now I'm all excited again :-) :-) :-)
I'll go give it a try...
@danroth27 - I tested your suggestion - and it works very nicely indeed :-)
Now can you remove that "experimental" label please ? :-)
Why support VB, its high time to move on
Please implement vb !!
You can try a VB to C# Converter, such as vbconversions.com or instant C#.
please support VB !. I try to left asp webform to blazor..... but.... c# ..... no thanks...
Most helpful comment
@jesperhoy Blazor runs on a WebAssembly based .NET runtime, which runs normal .NET assemblies. So if you can compile your VB to .NET Standard libraries I believe they should work in a Blazor app. The Razor syntax (.cshtml) used to author the component rendering logic is C# based, and there is no plans to change that, but all of the rest of your app logic I believe could be written in VB.