C# Application Bootstrapping Example
This example shows how to start the Neokernel from your own C# program, and control agents running in the kernel you started.
Download BootStrapping.zip and uncompress it inside the demos\C# Projects\ folder.
Open Bootstrapping.sln using Visual Studio
Make sure the reference to the Neokernel.dll is correct (in case you installed neokernel in a different directory) under "References", then press F6 to build the demo.
Now you can go into the Bootstrapping\bin\Debug folder and run Bootstrapping.exe. This is a standalone application that has Neokernel embedded inside. Alternatively, you can press F5 from within Visual Studio to start the Bootstrapping application.
After starting the application, a window will pop up with a button to start the Neokernel web server. If you click that, you'll notice that a logs folder is created and another pop-up will tell you that the Neokernel web server is running. When you click on "Ok", the MyAgent agent will be started and you can access it via the http://localhost/myagent.agent URL. Clicking on "Ok" again will stop the agent.
Updated: 7/12/10 7:43 PM