Getting Started
Last updated
Last updated
To get started building apps with Starcounter, follow these steps and you'll know everything you need to build world class web apps.
Start by installing Visual Studio to use as a development environment. It's not strictly necessary, but it makes everything simpler.
If you don't already have Visual Studio 2015 or 2017 installed, install it from . The community edition is completely free to download.
When you have the development environment set up, you can download Starcounter. When using Starcounter for the first time, we recommend using either the latest release or release candidate. The latest release is likely more stable but has fewer features than the release candidate. If you don't want to make a choice, click and you'll get the latest release candidate.
Take a look at the for system requirements. All versions of Starcounter can be found on .
The installer will guide you through the process and install the Visual Studio Starcounter extension.
More information on Installation can be found on the page.
To run your first app, open Visual Studio and choose File -> New -> Project...
. Create a new Starcounter application by going to Installed -> Templates -> Visual C# -> Starcounter -> Starcounter Application
. If we call it "HelloStarcounter", it will create a project containing a Program.cs
file that looks like this:
For a first simple application, we'll define a GET
handler that returns an HTML element:
Run the application by pressing F5
and go to http://localhost:8080/Hello
.
If you see the screen above, then you've done everything right so far.
We hope you'll enjoy Starcounter as much as we do!
With everthing set up, you can start the . It will teach you the basic features of Starcounter and how to build a standalone app.
To get a deeper understanding of Starcounter, read the section where we describe some of the fundamental concepts. You can then head over to the and get an in depth look on specific topics.
We've developed a bunch of apps that are available for everyone on . Feel free to run them, change them, make issues, and make pull requests. They should also give you an idea of apps are built to interact with each other.
With this, it's time to build your own app. When building, don't hesitate to ask questions in the repo on GitHub. We are always happy to get feedback on what we can improve.