starCLI, the Administrator, and Visual Studio. This page describes how to use these tools to start and stop apps.
.exefiles. These applications are then run inside Starcounter.
starcommand. It accepts .cs files in addition to .exe files.
-d) can be used to specify what database to run the application in.
default) or create a new database, then click on "Start Executable". Provide path to the .exe or select it from the disk and press "Start".
star.execommand line arguments. You can specify particular arguments by altering
Project | Properties | Debug | Command line arguments. By default, the application is started in a database
default. To start the application in any other database, such as
foo, add this to
Command line arguments:
star --stop <application>command.
default). You will see a list of apps running in the selected database. You can use the "Stop" button to unload each of the apps.
test.csin the example below, they are all loaded into the same database process. The code you load keeps adding to the code being loaded into the database.
app4.exe. Then you would simply run
star app4.exewhich would start the app without much delay. Now, if you want to restart two of the other apps,
app2.exethe situation would be different. Simply running
star app1.exewould require the host process to be recycled,
app4.exeto be stopped, unloaded, and started again. The same would be the case when we restart
app2.exe. This code describes the gist of the process:
forloop and start the application directly. If you have to restart several applications, this is the preferred approach.
default) in the list of databases or navigate to the application by clicking on the application name in the list of applications.