EasilyNET
MongoDB,RabbitMQ,DependencyInjection,WebAPI and more tools
Install / Use
/learn @joesdu/EasilyNETREADME
EasilyNET
<div style="text-align: center;"> <img alt="Welcome EasilyNET" src="https://repobeats.axiom.co/api/embed/cd2c97db26ee6fe230353beefd5d532448054f0a.svg" /> </div>注意: 本项目依赖最新版本的 .NET SDK(使用预览特性),请确保已安装最新 SDK 后再编译运行.
快速开始
解决 Git 不区分大小写
git config core.ignorecase false
构建与测试
dotnet build
dotnet test -c Debug --no-build
脚本(可选):
./Test.ps1
./Pack.ps1
示例项目:
dotnet watch run --project sample/WebApi.Test.Unit/WebApi.Test.Unit.csproj
<details>
<summary style="font-size: 14px">English</summary>
Note: This repo targets the latest .NET SDK (preview features)
git config core.ignorecase false
dotnet build
dotnet test -c Debug --no-build
Scripts (optional):
./Test.ps1
./Pack.ps1
Sample:
dotnet watch run --project sample/WebApi.Test.Unit/WebApi.Test.Unit.csproj
</details>
基础设施 (Docker)
- MongoDB 副本集:
docker compose -f docker-compose.mongo.rs.yml up -d
- 基础服务(测试用):
docker compose -f docker-compose.basic.service.yml up -d
| 服务名称 | 服务描述 | 端口映射 | 镜像名称 | | --------------- | -------- | ---------- | -------------------------------------------------------- | | Garnet | 缓存 | 6379 | ghcr.io/microsoft/garnet:latest | | RabbitMQ | 消息队列 | 15672,5672 | rabbitmq:management | | AspireDashboard | 可观测性 | 18888,4317 | mcr.microsoft.com/dotnet/nightly/aspire-dashboard:latest |
<details> <summary style="font-size: 14px">English</summary>docker compose -f docker-compose.mongo.rs.yml up -d
docker compose -f docker-compose.basic.service.yml up -d
| Service | Description | Ports | Image | | --------------- | ------------- | ---------- | -------------------------------------------------------- | | Garnet | Cache | 6379 | ghcr.io/microsoft/garnet:latest | | RabbitMQ | MQ | 15672,5672 | rabbitmq:management | | AspireDashboard | Observability | 18888,4317 | mcr.microsoft.com/dotnet/nightly/aspire-dashboard:latest |
</details>模块与文档索引
-
Core
-
AutoDependencyInjection
-
WebCore
-
RabbitBus
-
Mongo
-
Security
-
Sample
Module docs are listed above. Some Mongo sub-packages currently have no standalone README yet.
</details>近期更新内容 (Recent Updates)
- 详细变更请查看各模块 README 的 Changelog/更新记录。
- See module READMEs for changelogs and recent updates.
| NuGet Package | Version | Download | Document |
| --------------------------------------- | ------------ | ------------ | --------------------------------------------------------- |
| EasilyNET.Core | |
| 文档 |
| EasilyNET.WebCore |
|
| 文档 |
| EasilyNET.AutoDependencyInjection |
|
| 文档 |
| EasilyNET.RabbitBus.AspNetCore |
|
| 文档 |
| EasilyNET.Security |
|
| 文档 |
| EasilyNET.Mongo.AspNetCore |
|
| 文档 |
| EasilyNET.Mongo.ConsoleDebug |
|
| 文档 |
感谢 JetBrains 对本项目的支持!
<img alt="Thanks JetBrains" src="https://www.jetbrains.com/shop/static/images/jetbrains-logo-inv.svg" height="100">如何为本项目做出贡献
- Fork 本项目到你自己的仓库.
- 创建一个属于你自己的分支,名字随便你怎么取.
- 然后提交代码到你自己仓库的分支上.
- 然后到本项目创建一个 PR.
- 等待管理员合并 PR 后即可删除掉你自己的仓库.
How to contribute to this project
- Fork this repository to your own GitHub account.
- Create a new branch with any name you like.
- Commit your code to your branch.
- Create a Pull Request (PR) to this repository.
- After your PR is merged by the maintainer, you can delete your forked repository.
Related Skills
node-connect
343.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
90.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
