netcorepal - NetCorePal.Template 2.6.0-alpha2503240943

NetCorePal Cloud Framework Templates

PM> Install-Package NetCorePal.Template -Version 2.6.0-alpha2503240943 -Source https://www.myget.org/F/netcorepal/api/v3/index.json

Copy to clipboard

> nuget.exe install NetCorePal.Template -Version 2.6.0-alpha2503240943 -Source https://www.myget.org/F/netcorepal/api/v3/index.json

Copy to clipboard

> dotnet add package NetCorePal.Template --version 2.6.0-alpha2503240943 --source https://www.myget.org/F/netcorepal/api/v3/index.json

Copy to clipboard
<PackageReference Include="NetCorePal.Template" Version="2.6.0-alpha2503240943" />
Copy to clipboard
source https://www.myget.org/F/netcorepal/api/v3/index.json

nuget NetCorePal.Template  ~> 2.6.0-alpha2503240943
Copy to clipboard

> choco install NetCorePal.Template --version 2.6.0-alpha2503240943 --source https://www.myget.org/F/netcorepal/api/v2

Copy to clipboard
Import-Module PowerShellGet
Register-PSRepository -Name "netcorepal" -SourceLocation "https://www.myget.org/F/netcorepal/api/v2"
Install-Module -Name "NetCorePal.Template" -RequiredVersion "2.6.0-alpha2503240943" -Repository "netcorepal" -AllowPreRelease
Copy to clipboard

工程模板

Release Build Preview Build NuGet MyGet Preview GitHub license

简介

本项目是一个基于dotnet new的模板项目,用于快速创建一个基于 netcorepal-cloud-framework 的项目。

项目支持linuxwindowsmacOS平台。

前提条件

  1. 安装.NET 9.0 SDK或更高版本。

    SDK下载地址: https://dot.net/download

  2. 拥有Docker环境,用于自动化单元测试和集成测试。

    Docker Desktop下载地址: https://www.docker.com/products/docker-desktop/

如何使用

安装模板

dotnet new install NetCorePal.Template

安装Preview版本

dotnet new install NetCorePal.Template::<package-version> --add-source "https://www.myget.org/F/netcorepal/api/v3/index.json"

创建项目

dotnet new netcorepal-web -n My.Project.Name

进入项目目录

cd My.Project.Name

构建项目

dotnet build

运行测试

dotnet test

其它命令

更新模板

dotnet new update

or

dotnet new install NetCorePal.Template::<VERSION>

卸载模板

dotnet new uninstall NetCorePal.Template

支持特性(WIP)

  • 文件存储
    • 本地文件
    • 阿里云对象存储
  • 配置管理
    • 文件配置(json、ini、yaml)
    • Kubernetes ConfigMap
    • Nacos
    • Apollo
    • AgileConfig
  • 数据库
    • InMemory
    • SqlServer
    • MySql
    • PostgreSql
    • Sqlite
  • 消息队列
    • RabbitMQ
    • Kafka
    • RedisStreams
    • AzureServiceBus
    • AmazonSQS
    • Pulsar
  • 服务注册发现
    • Kubernetes
    • Etcd
    • Consul
    • Zookeeper
    • Eureka
    • Nacos
  • API工具链
    • Swagger
  • 远程调用
    • gRPC
    • HttpClient
  • 实时通讯
    • SignalR
    • WebSocket
  • 缓存中间件
    • Redis
  • 熔断限流
    • Polly
  • .NETFramework 8.0
  • .NETFramework 9.0

Owners

netcorepal

Authors

NetCorePal

Project URL

https://github.com/netcorepal/netcorepal-cloud-template

License

Unknown

Tags

dotnet-new templates contoso

Info

0 total downloads
0 downloads for version 2.6.0-alpha2503240943
Download (40.91 KB)
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
2.6.0-alpha2503240943 40.91 KB Mon, 24 Mar 2025 09:43:29 GMT 0
2.5.1-alpha2503140536 40.91 KB Fri, 14 Mar 2025 05:37:02 GMT 0