-
Apr 10th, 2020, 07:39 PM
#1
Thread Starter
Lively Member
Create ASP.NET Core 3.1 app in VB.NET today
Hi all.
We can say that VB.Net finally made it to ASP.NET Core.
I published eShopOnWeb_VB.NET which is the VB.NET version of the Microsoft full web sample eShopOnWeb
I used Vazor and ZML to design MVC views and Razor Pages, because ASP.NET Core as you know doesn't provide a razor syntax that supports VB.NET (no vbhtml).
I hope VB.NET developers find it helpful, and start creating their web applications targeting ASP.NET Core 3.1 using VB.NET and Vazor.
To start using it now:
1. Install Vazor project and item templates to setup Vazor templates:
a- A Vazor project template for ASP.NET MVC Core 3.1 .
b- A Vazor project template for ASP.NET Web Pages Core 3.1 .
c- A VazorView item template to add a new vazor view (.vazor and .vbxml.vb files) to MVC projects.
d- A VazorPage item template to add a new vazor page (.cshtml, .cshtml.vb, and .vbxml.vb files) to Razor Pages projects.
2. Install VSIX installer to add Html5 Auto-Completion in XML Literals to your VS as an extension.

3. Use the instructions in the ReadMe file to learn the rules of Vazor.
4. Use eShopOnWeb.VB as a guide app
5. Have fun
-
Jul 20th, 2021, 03:46 PM
#2
Thread Starter
Lively Member
Re: Create ASP.NET Core 3.1 app in VB.NET today
I hope you find this useful
-
Jul 20th, 2021, 03:53 PM
#3
Re: Create ASP.NET Core 3.1 app in VB.NET today
As this is a code you propose to share, I asked the moderators to put this thread in the codebank area
The best friend of any programmer is a search engine 
"Don't wish it was easier, wish you were better. Don't wish for less problems, wish for more skills. Don't wish for less challenges, wish for more wisdom" (J. Rohn)
“They did not know it was impossible so they did it” (Mark Twain)
-
Dec 19th, 2022, 10:54 AM
#4
Thread Starter
Lively Member
Re: Create ASP.NET Core 3.1 app in VB.NET today
@Delaney
This is an open source tool, not just a code. It can be used directly in VB .NET by installing the VazorEx to add the Vazor project and Item templates to VS. Vazor projects reference the Vazor NuGet, so no need to download the source code.
-
Dec 19th, 2022, 10:59 AM
#5
Thread Starter
Lively Member
Re: Create ASP.NET Core 3.1 app in VB.NET today
VazorEx extension is available on visual studio marketplace:
https://marketplace.visualstudio.com...ernVBNET.Vazor
It works for both VS2019 and VS 2020 and it installs:
1. The Vazor project template for ASP.NET MVC Core 6.0 .
2. The Vazor project template for ASP.NET Web Pages Core 6.0 .
3. The VazorView item template to add a new vazor view (.vazor and .vbxml.vb files) to the MVC project.
4. The VazorPage item template to add a new vazor page (.cshtml, .cshtml.vb, and .vbxml.vb files) to the Razor Pages project.
5. Html5 CompletionProvider that provides Html5 auto completion in VB XML literals.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|