Starting from the template
- Fork or copy the TemplatePackage
- Rename the solution, projects, namespaces, and manifest to match your package name
- Follow the naming convention
COMPANY.CATEGORY.SERVICE[.SUBSERVICE] - Update post-build events to point to your local folders
- Run the Neuron console host and verify your package appears in Software
Understanding modules
Neuron packages expose behavior through modules:- Find the service class implementing
IModuleorIConfigurableModule - Implement
StartandStopfor lifecycle logic (register HTTP endpoints, timers, services, etc.)
Adding package content
- Maintain the manifest file listing all assemblies and content files
- Include only dependencies not already provided by the Neuron runtime
Fast edit loop for frontend content
For Markdown/script changes, add aFileFolder mapping in gateway.config pointing to your local source folder:
HTTP endpoints with the router
UseTAG.Networking.HttpRouter to expose HTTP endpoints from your package. It provides attribute-based controllers, route binding, and JSON serialization.
Documenting your package
- Add a package info block (package name, installation key, links)
- Add usage and configuration notes, settings pages, and runtime settings
- Update the README and confirm a license is in place
- Create a community post if it may be helpful to others