Oqtane Module Template
Scaffold Oqtane modules using the CLI instead of the Admin GUI
Scaffolding Oqtane modules using the Admin GUI is fine, but sometime you want to script module creation or just use the CLI. Here’s a ‘dotnet new’ template to do just that.
MarkDav.Oqtane.Module.Template is a dotnet new item template. Install it once, then scaffold a complete Oqtane module from the command line.
‘dotnet new install MarkDav.Oqtane.Module.Template’
‘dotnet new oqtane-module -n MyModule —namespace MyCompany.MyModule’
That produces the full stack: Client Blazor components, Services, an ASP.NET Core controller, EF Core DbContext with migrations, repository, shared entity model and interface, and more. Fifteen-plus files, ready to go, without clicking through anything.
Kickstart your Oqtane module development straight from the command line and skip the GUI fuss—scaffold a complete module file stack in seconds and get coding faster! This tool makes adding new modules a breeze with zero manual wiring needed.
Key features:
- 🚀 Scaffold full module file structure from CLI
- 🎨 Generates client, server, and shared code with proper conventions
- 🤖 Auto-registers services with Oqtane’s DI system
- 🛠️ Compatible with existing Oqtane.Application solutions
This summary was generated by GitHub Copilot based on the project README.