Create a New Project

Open visual studio and choose “create a new project”. You will notice that there are new templates available. On the left hand side, you can choose the programming language- the templates are available in C# and Visual Basic.

Here is a quick overview of the different template types:

  • Wisej.NET Web Desktop Application: Creates an application that resembles a Windows desktop with a taskbar

  • Wisej.NET Web User Control: Creates a UserControl, which is a control that can be used in multiple places throughout your application

  • Wisej.NET Web Application: Creates a web application with a window that is displayed within the browser.

  • Wisej.NET Hybrid Remote Application: Creates a Hybrid application that runs on a remote web server. Hybrid applications can run on Windows, Mac, iOS and Android.

  • Wisej.NET Hybrid Client Application: Creates a hybrid client. This template is used with the Wisej.NET Hybrid Remote Application or Wisej.NET Hybrid Local Application template.

  • Wisej.NET Hybrid Local Application: Creates a Hybrid application that runs locally on the device. Hybrid applications can run on Windows, Mac, iOS and Android.

  • Wisej.NET Web Page Application: Creates a blank web application.

  • Wisej.NET PWA Web Application: Creates a Web application with a main page similar to the Web Page Application. However, this template adds all the JavaScript parts and the manifest files necessary for the browser to recognize it as a Progressive Web Application (PWA).

For this tutorial we will use the Wisej.NET Web Page Application template with C#.

After choosing your template, click "Next" You will see this screen, which lets you choose the project name, solution name and location:

Note that the project name and solution name are often identical but do not have to be. A solution can contain multiple projects. For more information on the difference between a project and a solution, see here: https://learn.microsoft.com/en-us/visualstudio/ide/solutions-and-projects-in-visual-studio?view=vs-2022

Click "create"

New project setup screen for Wisej 3
New proejct setup screen for Wisej 4

Here you can configure a few options before clicking "OK"

  • Target frameworks: specifies the particular version of the .NET platform that a project is built to run on. Note that for Wisej 3, .NET Framework 4.8 must be one of the target frameworks.

  • Add mobile viewport: Adds a line to the Default.html that makes the app fit the screen on any device size

  • Enable Docker support: Docker allows you to debug your Wisej application on Linux.

  • Enable HTTPS: installs a developer certificate to be able to use HTTPS with Kestrel and IIS Express (or regular IIS as well).

Last updated

Was this helpful?