ater.dry
9.0.0
See the version list below for details.
dotnet tool install --global ater.dry --version 9.0.0
dotnet new tool-manifest
dotnet tool install --local ater.dry --version 9.0.0
#tool dotnet:?package=ater.dry&version=9.0.0
nuke :add-package ater.dry --version 9.0.0
DRY CLI
This is a code assistance tool that provides code generation functions for
ASP.NET Coreprojects andTypescript front-endprojects, and supports command line and graphical interface operations. It is recommended to use the Ater.web template to create projects
这是一个智能代码辅助工具,主要提供代码生成功能,它可以分析您的实体,智能的帮助您生成相关的数据传输对象、数据库读写操作以及API接口。
Feature(特性)
It can help developers generate common code templates according to entity models (. cs files), including:
- Dto files, add, update, query, list and other Dto files
- Data store layer:entity DbSet wrapper
- Manager layer:business implementation code
- Controller API
- Typescript interface type
- Angular or Axios request service
- Angular Basic CURD Page
- 基于实体模型的智能分析,了解用户的业务意图
- 智能生成DTO文件,包括增加、更新、查询、列表等常用DTO
- 智能生成数据操作及业务逻辑实现,包括常见的新增、更新、筛选功能
- 生成部分测试代码
- 生成控制器接口
- 根据Swagger OpenApi生成用于Typescript的接口类型
- 根据Swagger OpenApi生成用于Angular或Axios的请求服务
- Angular基础CURD页面
- 其他更多高级功能
Install(安装)
Check package version first!
首先检查包版本,工具依赖.NET SDK,对应关系如下:
| Package Version | .NET SDK Version |
|---|---|
| 7.x | 7.0 |
| 8.x | 8.0 |
If you want to use it alone, please use the 'dotnet tool' command to install it, such as:
如果你想单独使用,请使用dotnet tool命令安装,如:
dotnet tool install --global ater.dry.cli
please use the latest version from nuget!
请到nuget中查询最新版本!
Usage(使用)
⭐(Use Web UI)使用图形界面
One command to start the UI interface and enjoy it!
一条命令启动UI界面!
dry studio
Show entities and generate codes!
查看实体模型,并根据实体模型生成相应的代码:
generate actions
选择要生成的内容
edit dtos
在线编辑dto
front-end support
前端内容生成
Use command line(使用命令行)
You can also use
dry --helpto view command help information.Use
dry [command] --helpto view specific command help information.You can also view Online Documentation.
你可以使用dry --help 查看命令帮助信息。
或者使用dry [command] --help 查看具体命令帮助信息。
也可以查看在线文档。
| 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 was computed. 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. |
This package has no dependencies.
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 9.0.1 | 200 | 7/14/2025 | |
| 9.0.0 | 300 | 5/8/2025 | |
| 9.0.0-rc2 | 164 | 3/14/2025 | |
| 9.0.0-rc1 | 205 | 3/12/2025 | |
| 9.0.0-beta3.10 | 101 | 1/12/2025 | |
| 9.0.0-beta3.9 | 117 | 1/5/2025 | |
| 9.0.0-beta3.8 | 102 | 1/5/2025 | |
| 9.0.0-beta3.7 | 111 | 12/21/2024 | |
| 9.0.0-beta3.5 | 97 | 12/21/2024 | |
| 9.0.0-beta3.3 | 105 | 12/9/2024 | |
| 9.0.0-beta3.2 | 124 | 12/8/2024 | |
| 9.0.0-beta3.1 | 99 | 12/8/2024 | |
| 9.0.0-beta3 | 168 | 12/7/2024 | |
| 9.0.0-beta2 | 158 | 12/5/2024 | |
| 8.2.9 | 184 | 10/17/2024 | |
| 8.2.8 | 150 | 10/15/2024 | |
| 8.2.5 | 200 | 8/2/2024 | |
| 8.2.4 | 134 | 8/1/2024 | |
| 8.2.3 | 153 | 7/23/2024 | |
| 8.2.2 | 145 | 7/22/2024 | |
| 8.2.0 | 156 | 7/11/2024 | |
| 8.2.0-rc1 | 141 | 7/3/2024 | |
| 8.2.0-beta | 150 | 5/20/2024 | |
| 8.1.2 | 289 | 4/3/2024 | |
| 8.0.2 | 286 | 3/1/2024 | |
| 8.0.1 | 236 | 2/19/2024 | |
| 8.0.0 | 272 | 2/6/2024 | |
| 8.0.0-rc1 | 208 | 1/17/2024 | |
| 8.0.0-beta4 | 348 | 11/2/2023 | |
| 8.0.0-beta2 | 218 | 9/26/2023 | |
| 8.0.0-beta1.7 | 140 | 9/1/2023 | |
| 8.0.0-beta1.6 | 140 | 8/28/2023 | |
| 8.0.0-beta1.5 | 140 | 8/28/2023 | |
| 8.0.0-beta1.4 | 139 | 8/27/2023 |