Perigon.templates
1.3.3
dotnet new install Perigon.templates::1.3.3
Perigon.templates
Perigon.templates是基于Aspire,ASP.NET Core和Entity Framework Core的快速开发模板,提供一个设计良好的项目工程结构。
模板已被集成在Perigon.CLI代码辅助工具中,建议使用该命令行工具来创建解决方案,以获得更好的体验。
要求
- .NET 10.0 SDK 或更高版本
- Aspire 13.0 或更高版本
文档
关于模板详细的说明和使用方法,请查阅使用文档!
安装
使用源代码安装
- 拉取源代码
- 执行
install.ps1脚本安装。
使用Nuget安装
模板已经发布到nuget上,请根据你的项目版本下载对应的模板。
dotnet new --install Perigon.templates
创建项目
dotnet new perigon-webapi
or
dotnet new perigon-webapi -n <projectname>
数据库
模板默认支持PostgreSQL和SqlServer,你可以在AppHost项目的appsettings.json中进行选择。
数据迁移
可直接运行scripts\EFMigrations.ps1脚本生成迁移内容,程序在启动时会执行迁移。
cd scripts
.\EFMigrations.ps1
该脚本提供一个参数,指定迁移生成时的名称,如.\EFMigrations.ps1 Init .
运行项目
直接运行AppHost项目即可。
默认管理账号:admin@default.com/Perigon.2026.
-
.NETStandard 2.1
- 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 |
|---|---|---|
| 1.3.3 | 96 | 5/20/2026 |
| 1.3.1 | 111 | 5/6/2026 |
| 1.3.0 | 119 | 4/30/2026 |
| 1.2.7 | 138 | 4/16/2026 |
| 1.2.6 | 162 | 3/31/2026 |
| 1.2.5 | 165 | 3/26/2026 |
| 1.2.4 | 162 | 3/24/2026 |
| 1.2.3 | 161 | 3/24/2026 |
| 1.2.2 | 181 | 3/16/2026 |
| 1.2.1 | 175 | 3/8/2026 |
| 1.2.0 | 172 | 3/3/2026 |
| 1.1.1 | 217 | 1/28/2026 |
| 1.1.0 | 215 | 1/28/2026 |
| 1.0.6 | 226 | 1/17/2026 |
| 1.0.5 | 223 | 1/17/2026 |
| 1.0.4 | 232 | 1/13/2026 |
| 1.0.3 | 242 | 1/11/2026 |
| 1.0.2 | 234 | 1/11/2026 |
| 1.0.1 | 250 | 1/4/2026 |
| 1.0.0 | 254 | 12/28/2025 |
1. update AI workflow files.
2. update aspire package dependencies.
3. add docker publish exmples.