In this "Hello World" tutorial you will learn how to use the essential features of Starcounter by building an expense tracker complete with a database, interactive UI and real-time syncing.
We will use C# as the server-side language. All the app logic will be written in C# and execute in the database. The client-server communication will be handled by Palindrom over HTTP and WebSocket. This is how we recommend building Starcounter apps.
In the first two steps, you will create the simplest possible application that binds the database to the view.
In the four following steps, you will create an expense tracker by establishing a UI and building functionality that allows CRUD operations on the database.
To get through this tutorial, you will need to fulfill the system requirements which includes having Visual Studio 2015 or 2017 (not VS Code) and the latest release candidate of Starcounter installed.
Since the author is a mere mortal, there might be mistakes in the code or text. If you experience that something doesn't work as intended, you can look at the source code. Each commit in this repository represents one step in the tutorial. For further explanations of the concepts discussed, you can take a look at the guide section.
Are you ready?
Let's get started!