How to build a calendar app using C#, Avalonia UI, Microsoft.Data.Sqlite

Build Dayledger, a desktop calendar with events, reminders list, and packaging notes with C#, Avalonia UI, Microsoft.Data.Sqlite.

  • Difficulty Intermediate
  • Parts 12
  • Stack C#, Avalonia UI, Microsoft.Data.Sqlite

What you are building

Dayledger is a calendar you assemble in twelve short stages. The teaching stack is Avalonia (C#, Avalonia UI, Microsoft.Data.Sqlite). By the end you should understand the shell, the data you persist, and the everyday workflows people expect from this kind of app.

Avalonia brings XAML desktop apps to multiple OSes. A month grid plus event dialogs is a strong fit.

Bind a day cells collection and open a dialog to edit events. Keep recurrence simple for the teaching path.

Work in order. Early folders are intentionally small so you can see the window (or server) boot before features pile on. From the data-layer part onward, each snapshot should still run after you install dependencies.

How to use these lessons

Read the goal, clone the matching GitHub folder, run it, then skim the code against the notes below. If something fails, fix the run path first—most “bugs” on day one are the wrong directory or a skipped install.

Open the Dayledger GitHub repo →

Parts in order

Each chapter below is one checkpoint. Open a part when you are ready for that feature—not all at once.