SquidStd.Templates
0.41.1
dotnet new install SquidStd.Templates@0.41.1
<h1 align="center">SquidStd.Templates</h1>
dotnet new templates for scaffolding SquidStd projects. Each template ships a runnable project - a
Program.cs wired to SquidStdBootstrap, a squidstd.yaml config file, and (for the service templates)
a Dockerfile. The generated projects reference the SquidStd packages at the same version as the
template pack, so a scaffolded app always lines up with the libraries it targets.
Install
dotnet new install SquidStd.Templates
List the installed templates with dotnet new list squidstd.
Templates
| Template | Short name | What you get |
|---|---|---|
| Console host | squidstd-host |
A SquidStdBootstrap console host with RegisterCoreServices. |
| ASP.NET minimal API | squidstd-aspnetcore |
UseSquidStd + health checks + a sample endpoint + Dockerfile. |
| Worker microservice | squidstd-worker |
AddWorkers + a sample IJobHandler + Dockerfile. |
| Worker manager | squidstd-manager |
AddWorkerManager + MapWorkerManagerEndpoints + Dockerfile. |
Usage
dotnet new squidstd-host -n Acme.Host
dotnet new squidstd-aspnetcore -n Acme.Api
dotnet new squidstd-worker -n Acme.Worker
dotnet new squidstd-manager -n Acme.Manager
Every generated project builds and runs out of the box:
cd Acme.Worker
dotnet run
The console host, for example, scaffolds the standard bootstrap pattern:
using SquidStd.Services.Core.Extensions;
using SquidStd.Services.Core.Services.Bootstrap;
var bootstrap = SquidStdBootstrap.Create(options =>
{
options.ConfigName = "squidstd";
});
bootstrap.ConfigureServices(container => container.RegisterCoreServices());
await bootstrap.RunAsync();
Template options
| Option | Templates | Values | Default |
|---|---|---|---|
--messaging |
worker, manager | rabbitmq | inmemory |
rabbitmq |
--skipRestore |
all | true | false |
false |
--messaging picks the transport the worker and manager templates wire up: rabbitmq for real
multi-process deployments, inmemory for trying it out in a single process.
dotnet new squidstd-worker -n Acme.Resizer --messaging inmemory
dotnet new squidstd-manager -n Acme.Manager --messaging rabbitmq
--skipRestore skips the automatic dotnet restore post-action after creation.
Related
- Tutorial: Scaffolding projects
- Article: SquidStd.Workers
- Article: SquidStd.Workers.Manager
License
MIT - part of SquidStd.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.41.1 | 105 | 8/5/2026 |
| 0.41.0 | 125 | 7/24/2026 |
| 0.40.1 | 121 | 7/23/2026 |
| 0.40.0 | 113 | 7/21/2026 |
| 0.39.0 | 128 | 7/20/2026 |
| 0.38.0 | 132 | 7/20/2026 |
| 0.37.0 | 129 | 7/17/2026 |
| 0.36.0 | 129 | 7/15/2026 |
| 0.35.0 | 129 | 7/15/2026 |
| 0.34.0 | 132 | 7/14/2026 |
| 0.33.1 | 137 | 7/13/2026 |
| 0.33.0 | 135 | 7/13/2026 |
| 0.32.1 | 137 | 7/13/2026 |
| 0.32.0 | 139 | 7/13/2026 |
| 0.31.0 | 138 | 7/12/2026 |
| 0.30.0 | 136 | 7/12/2026 |
| 0.29.0 | 142 | 7/11/2026 |
| 0.28.0 | 148 | 7/8/2026 |
| 0.27.0 | 144 | 7/7/2026 |
| 0.26.0 | 136 | 7/7/2026 |