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
| Action | What you should see |
|---|---|
Type a name (e.g. Sarah), click Say Hello | Hello, Sarah! Welcome to Wisej.NET. |
| Leave the box empty, click Say Hello | Please enter a name. |
The controls
| Control | Name | Text |
|---|---|---|
| Label | lblTitle | What's your name? |
| TextBox | txtName | |
| Button | btnSayHello | Say Hello |
| Label | lblStatus | (the greeting) |
Where things live
| File | What it's for |
|---|---|
Program.cs | Startup — Main() shows Window1 (named in Default.json → "startup") |
Window1.cs | Code-behind — btnSayHello_Click lives here |
Window1.Designer.cs | Generated by the Designer — don't edit by hand |
Default.json, Web.config | Wisej.NET configuration (startup, theme, license key) |