{"id":13529735,"url":"https://github.com/NewLifeX/X","last_synced_at":"2025-04-01T17:30:56.418Z","repository":{"id":38251740,"uuid":"61725497","full_name":"NewLifeX/X","owner":"NewLifeX","description":"Core basic components: log (file / network), configuration (XML / JSON / HTTP), cache (memory / redis), network (TCP / UDP / HTTP), RPC framework, serialization (binary / XML / JSON), APM performance tracking. 核心基础组件，日志（文件/网络）、配置（XML/Json/Http）、缓存（内存/Redis）、网络（Tcp/Udp/Http）、RPC框架、序列化（Binary/XML/Json）、APM性能追踪。","archived":false,"fork":false,"pushed_at":"2025-03-13T09:25:35.000Z","size":140174,"stargazers_count":1794,"open_issues_count":1,"forks_count":532,"subscribers_count":162,"default_branch":"master","last_synced_at":"2025-03-27T08:04:17.460Z","etag":null,"topics":["api","network","newlife","reflection","rpc","security","serialize","server","service","thread"],"latest_commit_sha":null,"homepage":"https://newlifex.com","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NewLifeX.png","metadata":{"files":{"readme":"Readme.MD","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-06-22T14:26:52.000Z","updated_at":"2025-03-18T15:42:45.000Z","dependencies_parsed_at":"2023-10-20T22:02:16.284Z","dependency_job_id":"07a5eec6-4d55-4c8d-b4c9-7e332e60f863","html_url":"https://github.com/NewLifeX/X","commit_stats":{"total_commits":10927,"total_committers":100,"mean_commits":109.27,"dds":"0.10185778347213326","last_synced_commit":"c7a9843521299e765be1b3538a52010d09947271"},"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NewLifeX%2FX","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NewLifeX%2FX/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NewLifeX%2FX/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NewLifeX%2FX/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NewLifeX","download_url":"https://codeload.github.com/NewLifeX/X/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246680207,"owners_count":20816651,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","network","newlife","reflection","rpc","security","serialize","server","service","thread"],"created_at":"2024-08-01T07:00:38.947Z","updated_at":"2025-04-01T17:30:56.403Z","avatar_url":"https://github.com/NewLifeX.png","language":"C#","funding_links":[],"categories":["Stack"],"sub_categories":[],"readme":"# NewLife.Core - 核心库\n\n![GitHub top language](https://img.shields.io/github/languages/top/newlifex/x?logo=github)\n![GitHub License](https://img.shields.io/github/license/newlifex/x?logo=github)\n![Nuget Downloads](https://img.shields.io/nuget/dt/newlife.core?logo=nuget)\n![Nuget](https://img.shields.io/nuget/v/newlife.core?logo=nuget)\n![Nuget (with prereleases)](https://img.shields.io/nuget/vpre/newlife.core?label=dev%20nuget\u0026logo=nuget)\n\n核心基础组件，日志（文件/网络）、配置（XML/Json/Http）、缓存、网络（Tcp/Udp/Http/WebSocket）、序列化（Binary/XML/Json）、APM性能追踪。  \n\n核心库教程：[https://newlifex.com/core](https://newlifex.com/core)  \n\n## 新生命项目矩阵\n各项目默认支持net9.0/netstandard2.1/netstandard2.0/net4.62/net4.5，旧版（2024.0801）支持net4.0/net2.0  \n\n|                               项目                               | 年份  | 说明                                                                                   |\n| :--------------------------------------------------------------: | :---: | -------------------------------------------------------------------------------------- |\n|                             基础组件                             |       | 支撑其它中间件以及产品项目                                                             |\n|          [NewLife.Core](https://github.com/NewLifeX/X)           | 2002  | 核心库，日志、配置、缓存、网络、序列化、APM性能追踪                                    |\n|    [NewLife.XCode](https://github.com/NewLifeX/NewLife.XCode)    | 2005  | 大数据中间件，单表百亿级，MySql/SQLite/SqlServer/Oracle/PostgreSql/达梦，自动分表      |\n|      [NewLife.Net](https://github.com/NewLifeX/NewLife.Net)      | 2005  | 网络库，单机千万级吞吐率（2266万tps），单机百万级连接（400万Tcp）                      |\n| [NewLife.Remoting](https://github.com/NewLifeX/NewLife.Remoting) | 2011  | RPC通信框架，内网高吞吐，物联网设备低开销易接入                                        |\n|     [NewLife.Cube](https://github.com/NewLifeX/NewLife.Cube)     | 2010  | 魔方快速开发平台，集成了用户权限、SSO登录、OAuth服务端等，单表100亿级项目验证          |\n|    [NewLife.Agent](https://github.com/NewLifeX/NewLife.Agent)    | 2008  | 服务管理组件，把应用安装成为操作系统守护进程，Windows服务、Linux的Systemd              |\n|     [NewLife.Zero](https://github.com/NewLifeX/NewLife.Zero)     | 2020  | Zero零代脚手架，基于NewLife组件生态的项目模板NewLife.Templates，Web、WebApi、Service   |\n|                              中间件                              |       | 对接知名中间件平台                                                                     |\n|    [NewLife.Redis](https://github.com/NewLifeX/NewLife.Redis)    | 2017  | Redis客户端，微秒级延迟，百万级吞吐，丰富的消息队列，百亿级数据量项目验证              |\n| [NewLife.RocketMQ](https://github.com/NewLifeX/NewLife.RocketMQ) | 2018  | RocketMQ纯托管客户端，支持Apache RocketMQ和阿里云消息队列，十亿级项目验                |\n|     [NewLife.MQTT](https://github.com/NewLifeX/NewLife.MQTT)     | 2019  | 物联网消息协议，MqttClient/MqttServer，客户端支持阿里云物联网                          |\n|      [NewLife.IoT](https://github.com/NewLifeX/NewLife.IoT)      | 2022  | IoT标准库，定义物联网领域的各种通信协议标准规范                                        |\n|   [NewLife.Modbus](https://github.com/NewLifeX/NewLife.Modbus)   | 2022  | ModbusTcp/ModbusRTU/ModbusASCII，基于IoT标准库实现，支持IoT平台和IoTEdge               |\n|  [NewLife.Siemens](https://github.com/NewLifeX/NewLife.Siemens)  | 2022  | 西门子PLC协议，基于IoT标准库实现，支持IoT平台和IoTEdge                                 |\n|      [NewLife.Map](https://github.com/NewLifeX/NewLife.Map)      | 2022  | 地图组件库，封装百度地图、高德地图、腾讯地图、天地图                                   |\n|    [NewLife.Audio](https://github.com/NewLifeX/NewLife.Audio)    | 2023  | 音频编解码库，PCM/ADPCMA/G711A/G722U/WAV/AAC                                           |\n|                             产品平台                             |       | 产品平台级，编译部署即用，个性化自定义                                                 |\n|         [Stardust](https://github.com/NewLifeX/Stardust)         | 2018  | 星尘，分布式服务平台，节点管理、APM监控中心、配置中心、注册中心、发布中心              |\n|           [AntJob](https://github.com/NewLifeX/AntJob)           | 2019  | 蚂蚁调度，分布式大数据计算平台（实时/离线），蚂蚁搬家分片思想，万亿级数据量项目验证    |\n|      [NewLife.ERP](https://github.com/NewLifeX/NewLife.ERP)      | 2021  | 企业ERP，产品管理、客户管理、销售管理、供应商管理                                      |\n|         [CrazyCoder](https://github.com/NewLifeX/XCoder)         | 2006  | 码神工具，众多开发者工具，网络、串口、加解密、正则表达式、Modbus                       |\n|           [EasyIO](https://github.com/NewLifeX/EasyIO)           | 2023  | 简易文件存储，支持分布式系统中文件集中存储。                                           |\n|           [XProxy](https://github.com/NewLifeX/XProxy)           | 2005  | 产品级反向代理，NAT代理、Http代理                                                      |\n|        [HttpMeter](https://github.com/NewLifeX/HttpMeter)        | 2022  | Http压力测试工具                                                                       |\n|         [GitCandy](https://github.com/NewLifeX/GitCandy)         | 2015  | Git源代码管理系统                                                                      |\n|          [SmartOS](https://github.com/NewLifeX/SmartOS)          | 2014  | 嵌入式操作系统，完全独立自主，支持ARM Cortex-M芯片架构                                 |\n|          [SmartA2](https://github.com/NewLifeX/SmartA2)          | 2019  | 嵌入式工业计算机，物联网边缘网关，高性能.NET6主机，应用于工业、农业、交通、医疗        |\n|                          FIoT物联网平台                          | 2020  | 物联网整体解决方案，建筑、环保、农业，软硬件及大数据分析一体化，单机十万级点位项目验证 |\n|                        UWB高精度室内定位                         | 2020  | 厘米级（10~20cm）高精度室内定位，软硬件一体化，与其它系统联动，大型展厅项目验证        |\n\n## 核心库 NewLife.Core\n核心组件，支撑其它所有组件。\n主要功能包括：\n+ **[日志]** 统一ILog接口，内置控制台、文本文件、WinForm控件和网络日志等实现\n+ **[网络]** 单点最高400万长连接\n+ **[RPC]** 单点最高处理能力2266万tps\n+ **[缓存]** 统一ICache接口，内置MemoryCache、Redis实现\n+ **[安全]** AES/DES/RC4/RSA/DSA/CRC\n+ **[多线程]** 定时调度TimerX\n+ **[APM]** 性能追踪，分布式应用必备\n+ **[序列化]** Binary/Json/Xml\n\n[日志]:https://github.com/NewLifeX/X/tree/master/NewLife.Core/Log\n[网络]:https://github.com/NewLifeX/X/tree/master/NewLife.Core/Net\n[RPC]:https://github.com/NewLifeX/X/tree/master/NewLife.Core/Remoting\n[缓存]:https://github.com/NewLifeX/X/tree/master/NewLife.Core/Caching\n[安全]:https://github.com/NewLifeX/X/tree/master/NewLife.Core/Security\n[多线程]:https://github.com/NewLifeX/X/tree/master/NewLife.Core/Threading\n[APM]:https://github.com/NewLifeX/X/tree/master/NewLife.Core/Log\n[序列化]:https://github.com/NewLifeX/X/tree/master/NewLife.Core/Serialization\n\n## 新生命开发团队\n![XCode](https://newlifex.com/logo.png)  \n\n新生命团队（NewLife）成立于2002年，是新时代物联网行业解决方案提供者，致力于提供软硬件应用方案咨询、系统架构规划与开发服务。  \n团队主导的80多个开源项目已被广泛应用于各行业，Nuget累计下载量高达300余万次。  \n团队开发的大数据中间件NewLife.XCode、蚂蚁调度计算平台AntJob、星尘分布式平台Stardust、缓存队列组件NewLife.Redis以及物联网平台FIoT，均成功应用于电力、高校、互联网、电信、交通、物流、工控、医疗、文博等行业，为客户提供了大量先进、可靠、安全、高质量、易扩展的产品和系统集成服务。  \n\n我们将不断通过服务的持续改进，成为客户长期信赖的合作伙伴，通过不断的创新和发展，成为国内优秀的IoT服务供应商。  \n\n`新生命团队始于2002年，部分开源项目具有20年以上漫长历史，源码库保留有2010年以来所有修改记录`  \n网站：https://newlifex.com  \n开源：https://github.com/newlifex  \nQQ群：1600800/1600838  \n微信公众号：  \n![智能大石头](https://newlifex.com/stone.jpg)  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNewLifeX%2FX","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FNewLifeX%2FX","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNewLifeX%2FX/lists"}