-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proposal: Write web pages with Xaml and VB.NET (VBlazor) #329
Comments
A couple clarifications:
Incorrect. ASP.NET MVC supported VB Razor in vbhtml files. There was very low adoption. ASP.NET Core does not support VB Razor.
Incorrect. ASP.NET WebAPI DOES support Visual Basic.NET as shown here. This does allow VB to run on other servers. If there are problems, please let us know (the scenario is not in wide use). What's missing is project templates.. |
I would be ecstatic if a community based project that was true to the spirit of VB and made creating applications and solving user problems as easy as some past VB technologies have been. And if it had legs and gained a following I would help get it merged into the .NET Foundation. But such a project for VB isn't, and isn't likely to be on the table at Microsoft. What Microsoft has committed to do is put the VB language on the platform (as I said, I think current .NET Core VB is stinky). I'm working on that (as are other people). My personal belief is that the simple approach we so badly need in building applications today is not likely to come from a company with many competing reasons to add complexity. Microsoft already tried and failed. Instead, I believe It will come from a community. Maybe VB, maybe C#, maybe F#, and maybe a non-.NET language. I don't know. |
@KathleenDollard |
@KathleenDollard |
I'm fine with a discussion here, because there aren't a lot of places for these discussions, but this isn't an LDM issue. Blazor is an experimental project that does not yet have a roadmap to being a product. I hope it succeeds, but it's entirely reasonable while experimenting to do it in a single language. As it becomes closer to being a product, it will become more obvious how reliant it is on the Razor engine, and thus how big a development effort VB would be. I also think it would be awesome if Blazor supported VB. |
I think this will work for creating models, view models .. etc but not views, because |
@hishamco |
@KathleenDollard |
I agree with the compiler being a challenge to work on. Very, very few everyday C# devs can work on the C# compiler either. I believe that the compiler being written in VB.NET is critical to its future. It means there is a group of people here at Microsoft that deeply understand the language because they use it and I'm very happy to work with them. I also think it is unrealistic to think people that choose to work in C# would suddenly decide to work on something in/for VB.NET. Much of the Blazor development has been non-Microsoft Open Source. |
@KathleenDollard Incorrect. ASP.NET WebAPI DOES support Visual Basic.NET as shown here. This does allow VB to run on other servers. If there are problems, please let us know (the scenario is not in wide use). What's missing is project templates.. |
Visual Basic, C#, and F# all compile to same IL code and can run anywhere the others can including WASM and Xamarin targets. |
I wanted to share an update that might be relevant to our ongoing discussion here. OpenSilver has released version 2.0, which interestingly introduces support for VB.NET. For those unfamiliar, OpenSilver is an open-source, plugin-free initiative that serves as a reimplementation of Silverlight (a subset of WPF). This means that with the new update, there's a pathway for developers to work on web applications using a combination of VB.NET and XAML. The development experience is remarkably similar to that of Silverlight and WPF. For more details, you can refer to the release notes here: https://opensilver.net/announcements/2-0/ -- |
In my opinion, ASP.NET was one of the reasons that made VB.NET popularity go down over the past decade. VBScripts run only in Internet Explorer, So it is born dead and any web developer had only to use JavaScript which uses C-Like syntax, so it is easy to be used with C# than with VB.NET. Over the years JavaScript frameworks kept emerging, and MS adapted some of them like JQuery and Angular. TypeScript also is some advanced JavaScript. Things got worse for VB.NET developers when MVC Razor came and kept VB.NET away! Then ASP.NET Core did the same so VB.NET can't run on other servers than Windows!
This made C# is the only logical choice for beginners, even forced many VB.NET developers to migrate to C#.
I quote @KathleenDollard here:
My reply on all that is: Let VB.NET ride the new WebAssembly wave:
After WebAssembly and Blazor, the opportunity represents itself: It is logical now to write XAML instead of HTML5 (differences are minimal) and write VB.NET instead of Java script (the same way C# replaces Java now in Blazor).
I already asked for it (but from C# prospective):
aspnet/Blazor#389
and there is already a project named Ooui trying to do that.
I think, VB.NET should do the same, and have a project to design ASP.NET pages with XAML and VB.NET code, making use of the work done in SilverLight, Blazor and Ooui. If this starts now, it can grow steadily, instead waiting for Blazor and Ooui to stable and then MS says:
Sorry, it will be expensive for VB.NET to catch up!
The text was updated successfully, but these errors were encountered: