You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
root c57b71c3a3 statusCheckResult 状态判断不对 2 days ago
CoreAgent.API Update network configuration and add IP endpoint management 2 days ago
CoreAgent.Application start ApiActionResult 放回枚举 2 days ago
CoreAgent.Domain 优化网络状态监控:1. 将操作类型参数改为布尔类型 2. 优化启动和停止操作的检查逻辑 3. 改进日志记录 2 days ago
CoreAgent.Infrastructure statusCheckResult 状态判断不对 2 days ago
.gitignore feat: 优化日志配置和服务器监听设置 - 修改日志配置,添加服务器地址信息 - 配置服务器监听所有本地地址,端口11003 - 添加logs目录到.gitignore 4 days ago
CoreAgent.sln Initial commit with .gitignore and project files 6 days ago
README.md Update README.md with latest project structure and changes 5 days ago

README.md

CoreAgent

项目简介

CoreAgent 是一个基于 .NET 8.0 的现代化应用程序,采用微服务架构设计。

技术栈

  • .NET 8.0
  • ASP.NET Core
  • Entity Framework Core
  • SQL Server
  • Docker

项目结构

CoreAgent/
├── CoreAgent.API/           # Web API 项目
│   ├── Configurations/      # 配置文件
│   └── Controllers/         # API 控制器
├── CoreAgent.Application/   # 应用层
│   ├── Commands/           # 命令处理
│   └── Handlers/           # 命令处理器
├── CoreAgent.Domain/        # 领域层
│   ├── Contexts/           # 领域上下文
│   ├── Entities/           # 领域实体
│   ├── Interfaces/         # 接口定义
│   └── Models/             # 领域模型
└── CoreAgent.Infrastructure/# 基础设施层
    ├── Extensions/         # 扩展方法
    └── Services/           # 服务实现

最新更新

  • 重构网络服务架构,优化网络配置管理
  • 移除冗余的网络状态提供者和配置器接口
  • 更新网络命令处理逻辑
  • 优化网络服务实现

开发环境要求

  • Visual Studio 2022 或更高版本
  • .NET 8.0 SDK
  • SQL Server 2019 或更高版本
  • Docker Desktop (可选)

快速开始

1. 克隆项目

git clone http://47.120.42.247:13001/root/CoreAgent.git

2. 还原依赖

dotnet restore

3. 运行项目

dotnet run --project CoreAgent.API

项目配置

  1. appsettings.json 中配置数据库连接字符串
  2. 确保已安装所需的 NuGet 包
  3. 运行数据库迁移(如果适用)

贡献指南

  1. Fork 项目
  2. 创建特性分支
  3. 提交更改
  4. 推送到分支
  5. 创建 Pull Request

许可证

[待定]

联系方式

[待定]