Prerequisites
- A local Neuron installation that you can stop and start.
- The .NET SDK.
- PowerShell.
- The Neuron application folder, program-data folder, and Windows service name.
The sample below was build-tested with Waher.IoTGateway 3.10.2. Use the version that matches your installed Neuron when they differ.
1. Create the project
2. Configure the project
Replace HelloNeuron.csproj with:3. Add a module
Delete Class1.cs and create HelloNeuronModule.cs:4. Add the manifest
Create HelloNeuron.manifest next to the project file:5. Build
6. Install in the local Neuron
Set these values from your installation:7. Verify
Open the Neuron event log and search for:Next step
- Add an HTTP resource or content handler.
- Add persistence and structured events.
- Build a custom MCP server.
- Create a signed package for distribution with Build packages.