Skip to main content

How Wisej.NET works

The first Wisej.NET app from Module 1 · How Wisej.NET Works — the one the walkthrough video builds: one window, a label, a textbox, a button and a second label that greets you. It covers the full design → name → handle event → run cycle and nothing more.

Run it

cd "LearnWisej-Samples/Foundations Course/Module 1/WisejTrainingApp"
dotnet run -f net10.0 --urls http://localhost:5081

Then open http://localhost:5081. (Visual Studio: open WisejTrainingApp.slnx, press F5.)

Requirements: .NET 10 SDK and the Wisej-4 4.1.0 NuGet package. The project multi-targets net10.0-windows;net10.0, so dotnet run needs -f.

What to try

ActionWhat you should see
Type a name (e.g. Sarah), click Say HelloHello, Sarah! Welcome to Wisej.NET.
Leave the box empty, click Say HelloPlease enter a name.

The controls

ControlNameText
LabellblTitleWhat's your name?
TextBoxtxtName
ButtonbtnSayHelloSay Hello
LabellblStatus(the greeting)

Where things live

FileWhat it's for
Program.csStartup — Main() shows Window1 (named in Default.json"startup")
Window1.csCode-behind — btnSayHello_Click lives here
Window1.Designer.csGenerated by the Designer — don't edit by hand
Default.json, Web.configWisej.NET configuration (startup, theme, license key)