Drycomes from the principle of don't repeat yourself
!
Dryis an intelligent code assistance tool, mainly provides code generation function, it can analyze your entity, intelligent help you generate related data transfer objects, database read and write operations and API interfaces. To reduce repetitive template coding efforts.
It is available as dotnet
command-line tool and supports a Web UI
.
The dry command tool helps developers generate common code templates from solid models (.cs files), including:
For the front end, the code (.ts) required for the request can be generated according to the json content of swagger OpenApi, including:
xxx.service.ts
xxx.ts
Dryis not a simple code generator, it analyzes and understands your entity model classes, more intelligently understands your business logic and implementation intent, and generates relevant basic code based on this, you do not need to start from 0. All you need to do is focus on modeling the business itself.
The tool integrates with the ater.web.templates project template so you can create solutions directly using a graphical interface!