Easy.License
4.26.1020.1
dotnet add package Easy.License --version 4.26.1020.1
NuGet\Install-Package Easy.License -Version 4.26.1020.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Easy.License" Version="4.26.1020.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Easy.License" Version="4.26.1020.1" />
<PackageReference Include="Easy.License" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Easy.License --version 4.26.1020.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Easy.License, 4.26.1020.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Easy.License@4.26.1020.1
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Easy.License&version=4.26.1020.1
#tool nuget:?package=Easy.License&version=4.26.1020.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
💐 序言
Easy 快速开发框架 让 .NET 开发更简单,更通用,更流行。
🍕 软件架构
基于 .NET 8 、.NET 10 平台的双目标框架(net8.0;net10.0)权限系统。
解决方案文件以 Easy.slnx 为准(Easy.sln 保留兼容 VS 传统打开,二者项目集可能不同步)。
🍎 框架特点
- 全新面貌:基于
.NET 7、.NET 8平台,没有历史包袱 - 灵活权限:可后台根据规则配置数据权限
- 极速开发:内置丰富的企业应用开发功能
- 极其灵活:轻松面对多变复杂的需求
- 极易维护:采用独特的架构思想,只为长久维护设计
- 完整文档:提供完善的开发文档
- AI 智能组件:内置
Easy.AI5.0 —— 基于 MEAI + Agents.AI 的 Agent / MCP / Skills / RAG 一站式封装,彻底移除 SemanticKernel / KernelMemory 依赖
🤖 Easy.AI 5.0(AI 智能组件)
基于 Microsoft.Extensions.AI + Microsoft.Agents.AI + ModelContextProtocol + Microsoft.Extensions.DataIngestion 的统一 AI 封装:
| 能力 | 说明 |
|---|---|
| 22 家模型提供商 | OpenAI / DeepSeek / 智谱 / Kimi / 豆包 / 硅基流动 / Claude / Gemini / Ollama / vLLM 等,统一 OpenAI 兼容端点(可省略 EndPoint 自动填充) |
| 多协议支持 | ApiProtocol:ChatCompletions(默认)/ Responses(OpenAI o1/o3)/ AnthropicMessages(Claude 原生) |
| Agent 自动装配 | CreateAgentAsync 一键装配 MCP 工具 + Skills + 本地函数,配置即所得 |
| MCP 集成 | StreamableHttp / Stdio / SSE 传输、鉴权头、工具缓存 |
| Skills 技能 | Agent Skills 规范(SKILL.md),脚本默认禁用 + 白名单安全边界 |
| 中间件管线 | 模型回退 → 超时 → 重试 → Token 统计 → 缓存 → 日志,开箱即用 |
| RAG 知识库 | DataIngestion 摄取管道 + VectorStore(InMemory/Sqlite/Qdrant) |
| 工作流编排 | 顺序 / 并发 / 交接 / 群聊多 Agent 编排 |
使用指南见 Easy.AI README,架构决策见 docs/ai。
🥞 架构设计
🥨官方脚手架
特别说明
脚手架不是安装在项目中的! 而是通过 CMD 或 PowerShell 安装到操作系统中的。
脚手架
Easy 官方提供了多种 Web 应用类型的脚手架,方便大家快速创建多层架构项目。目前支持以下应用脚手架:
| 模板类型 | 名称 | 关键词 | 描述 |
|---|---|---|---|
| Easy.Template.App | 👉 easyapp | Mvc/WebApi 模板 |
安装脚手架
打开 CMD 或 Powershell 执行模板安装命令:
//目录定位到templates文件夹
dotnet new install ./EasyAppTemplate
查看脚手架
dotnet new easyapp -h
新建模版
dotnet new easyapp -n projectName
卸载模版
//目录定位到templates文件夹
dotnet new uninstall ./EasyAppTemplate
安装卸载定位目录可以是绝对路径。
🍟docker-compose
发布并运行
- docker-compose --env-file ./win.env up -d
创建网络
- docker network create -d bridge easyBridge
重新编译
- docker-compose stop
- docker-compose --env-file ./win.env up -d --build
单独更新某个镜像
- docker-compose stop easyApi
- docker-compose --env-file ./win.env up easyApi -d --build
🥗 环境要求
- Visual Studio 2022 17.8 +(或使用
Easy.slnx的 VS 2022 17.14+ / dotnet CLI) - .NET 8 SDK +
- .NET 10 SDK +(双目标框架编译需要)
- .Net Standard 2.1 +
🧪 单元测试
dotnet test test/Easy.Tests/Easy.Tests.csproj
🥪 支持平台
- 运行环境
- Windows
- Linux
- MacOS
- Docker/K8S/K3S/Rancher
- Xamarin/MAUI
- 数据库
- SqlServer
- Sqlite
- Azure Cosmos
- MySql
- MariaDB
- PostgreSQL
- InMemoryDatabase
- Oracle
- Firebird
- 达梦数据库
- MongoDB
- 应用部署
- Kestrel
- Nginx
- Jexus
- IIS
- Apache
- PM2
- Supervisor
- 独立发布/单文件
- 容器(Docker/K8S/K3S/Rancher)
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- libc.hwid (>= 7.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.13)
- Microsoft.Extensions.DependencyModel (>= 10.0.13)
- Polly (>= 8.8.0)
- Standard.Licensing (>= 1.3.1)
-
net8.0
- libc.hwid (>= 7.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.13)
- Microsoft.Extensions.DependencyModel (>= 10.0.13)
- Polly (>= 8.8.0)
- Standard.Licensing (>= 1.3.1)
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 |
|---|---|---|
| 4.26.1020.1 | 50 | 10/20/2026 |
| 4.26.728.1 | 134 | 7/28/2026 |
| 4.26.302.1 | 145 | 3/2/2026 |
| 4.25.1015.1 | 252 | 10/15/2025 |
| 4.25.609.2 | 337 | 6/9/2025 |
| 4.25.609.1 | 312 | 6/9/2025 |
| 4.25.402.1 | 265 | 4/2/2025 |
| 4.24.1204.1 | 220 | 12/4/2024 |
| 4.24.1010.1 | 224 | 10/10/2024 |