NetCorePal.Template 2.4.2

dotnet new install NetCorePal.Template::2.4.2                
This package contains a .NET Template Package you can call from the shell/command line.

工程模板

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
  • net8.0

    • No dependencies.
  • net9.0

    • 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
2.4.2 2 3/5/2025
2.4.1 4 3/5/2025
2.4.0 115 2/26/2025
2.3.0 97 2/20/2025
2.2.1 107 1/16/2025
2.2.0 60 1/15/2025
2.1.0 70 1/10/2025
2.0.0 132 12/15/2024
1.5.1 180 9/2/2024
1.5.0 107 9/1/2024
1.4.0 187 8/11/2024
1.3.0 106 7/29/2024
1.2.0 166 7/13/2024
1.1.1 2,912 12/11/2023
1.1.0 267 12/8/2023
1.1.0-rc.2 411 11/25/2023
1.1.0-rc.1 386 11/12/2023
1.0.0 402 9/21/2023