Does Wisej 4.0 support VB.NET?

Answered
0
0

In the introduction of Wisej (website) it says:  “The .NET Core-only designer, in addition to the existing .NET Framework 4.8 designer enables projects to use the latest .NET Core libraries without maintaining .NET Framework compatibility.”

“Without maintaining .NET Framework compatibility”, does this mean, since Microsoft doesn’t support VB.NET CORE, that Wisej 4 won’t work for VB.NET?

 

  • You must to post comments
Best Answer
0
0

The first question and subject is “Does Wisej 4.0 Supports VB.NET?”

The answer is Yes, and, Wisej.NET has nothing to do with the .NET compiler. It supports anything that compiles to .NET.

Then you said you couldn’t find a way to create a VB.NET application “Where can I find examples/templates for VB.NET Wisej.NET 4?  Or for that matter for Wisej.NET 3.5?”

The answer is that they are in Visual Studio. It’s enough to click New Project. But apparently you already knew that since you are clearly able to create a VB.NET application with Wisej.NET and run it. “My Visual Studio has the same, but if you actually create even a “Hello World” application, compile it, and try to publish it, in my experience, you can’t create a CORE application. If you see otherwise, please advise me how you are able to accomplish this. Thanks again.”

Your third issue is that you can’t create a CORE application?

  1. Open VS, create a VB.NET application using the templates that you already have, select .NET 8.0 or 9.0 (do not select  .NET 48 obviously since you want a “CORE” application.
  2. Put a label “Hello, World!” in a Window or a Page (see screenshot)
  3. Hit Run

This runs a VB.NET Core ASP.NET application with Wisej.NET. (see screenshot)

Then your problem is that you can’t publish it?

The publishing tool in VS is Microsoft and publishing any ASP.NET Core application has nothing to do with the language that was used to create it. So VB.NET doesn’t play any role in this. There are hundreds of pages of documentation around explaining how ASP.NET Core works and how to publish.

In any case, after following the steps 1,2,3 above. Right Click on the project and select Publish. You get to the publishing tool in Visual Studio (again, a Microsoft product). See screenshot. Create a publish profile. See screeshot. Select the target (net9.0 or net8.0, or net 10.0), select Release, select the target location, if you are publishing to a directory, hit Publish!

Now you have a published directory. Open the command prompt to that directory and type “dotnet MyApp.dll” and it runs. Open the browser navigate to http://localhost:5000 and it works.

If you publish on Azure, you need an Azure account. Any publishing can also be done using the command line, i.e. “dotnet publish –configuration Release –output “C:\MyPublishedApp” (from google AI)

If you publish on IIS you need to install IIS correctly (needs the ASP.NET Core package, etc. Refer to Microsoft it’s too long to explain here) and edit web.config as indicated in the comments and in the Microsoft documentation.

Everything worked without a glitch.

More than this, I can’t help.

 

  • Rusty Elston
    Thanks JD. Sorry for the brain-damage questions. I appreciate you sending this.
  • You must to post comments
0
0

In case you can’t find the templates again, see attached sample VB.NET project.

  • You must to post comments
0
0

In visual studio.

 

Attachment
  • Rusty Elston
    JD, thanks for that image. My Visual Studio has the same, but if you actually create even a “Hello World” application, compile it, and try to publish it, in my experience, you can’t create a CORE application. If you see otherwise, please advise me how you are able to accomplish this. Thanks again.
  • You must to post comments
0
0

I know it isn’t a compiler, and it is GREAT that Wisej.NET supports VB.NET! 🙂

Where can I find examples/templates for VB.NET Wisej.NET 4?  Or for that matter for Wisej.NET 3.5?

 

  • You must to post comments
0
0

Microsoft supports VB.NET on all versions of .NET including netcore.

Wisej.NET is not a compiler. Anything that compiles to .NET (including COBOL on .NET) works with the Wisej.NET framework.

  • You must to post comments
Showing 5 results
Your Answer

Please first to submit.