NewLife.IoTDatabase
1.2.2026.1024
dotnet add package NewLife.IoTDatabase --version 1.2.2026.1024
NuGet\Install-Package NewLife.IoTDatabase -Version 1.2.2026.1024
<PackageReference Include="NewLife.IoTDatabase" Version="1.2.2026.1024" />
<PackageVersion Include="NewLife.IoTDatabase" Version="1.2.2026.1024" />
<PackageReference Include="NewLife.IoTDatabase" />
paket add NewLife.IoTDatabase --version 1.2.2026.1024
#r "nuget: NewLife.IoTDatabase, 1.2.2026.1024"
#:package NewLife.IoTDatabase@1.2.2026.1024
#addin nuget:?package=NewLife.IoTDatabase&version=1.2.2026.1024
#tool nuget:?package=NewLife.IoTDatabase&version=1.2.2026.1024
NewLife.IoT — IoT Standard Library 🌐
🌐 简体中文 | 繁體中文 | العربية | বাংলা | Español | Français | हिन्दी | 日本語 | Português | Русский | Deutsch | 한국어
NewLife.IoT is the IoT standard library — defining unified communication protocol contracts for the Internet of Things field. No concrete protocol implementations. Built as the single abstraction layer between IoT platforms and hardware drivers.
| Platform Side | Driver Side | Key Design |
|---|---|---|
Consume IDriver/INode/IDevice — one API for all hardware |
Implement DriverBase — plug into the ecosystem |
Async-first Task<T> + CancellationToken |
| Stardust, ZeroIoT, FIoT, custom platforms | NewLife.Modbus, Siemens, OPC-UA, BACnet | ReadResult with Quality/Timestamp, WriteResult struct |
ThingSpec thing model — properties/events/services |
ITransport — serial/TCP/UDP/HTTP unified |
Zero-allocation diagnostics, production switch |
| Source | NuGet | Docs |
|---|---|---|
| GitHub | NewLife.IoT | Requirements · Features · Architecture |
Runtime: 31-language localization (aligned with NewLife.Core) · instance-prefixed logging · NativeAOT verified (20 scenarios, Windows/Linux/macOS) · 8 target frameworks (net45 → net10.0).
Ecosystem Map
NewLife is a layered ecosystem of independently versioned open-source projects. The map below is shared verbatim by every NewLife repository; each project links to its repository and its primary NuGet package.
| Project | What it does | Downloads |
|---|---|---|
| Foundation | ||
| NewLife.Core | Logging, configuration, caching, networking, serialization, scheduling and APM tracing. | |
| NewLife.XCode | Data middleware: single tables at the tens-of-billions scale, automatic sharding, read-write splitting, 10+ databases. | |
| NewLife.Net | High-performance network library: 1.77M pps / 14.5 Gbps on a single machine (TCP 1KB, 2026-10), 4M long-lived TCP connections. | |
| NewLife.Remoting | Protocol communication and RPC framework for client/server applications and IoT devices. | |
| NewLife.Agent | Installs .NET applications as OS daemons: Windows services and Linux systemd. | |
| NewLife.Templates | dotnet new project templates for console, web, API, service, data and IoT projects. |
|
| Data & Messaging | ||
| NewLife.Redis | Redis client with microsecond latency, millions of ops/s and built-in message queues. | |
| NewLife.RocketMQ | Pure managed RocketMQ client for Apache RocketMQ and Alibaba Cloud Message Queue. | |
| NewLife.MQTT | MQTT client and server, including Alibaba Cloud IoT connectivity. | |
| NewLife.NovaDb | Hybrid database in C#: embedded or networked, relational, time-series, message queue and KV in one. | |
| NewLife.MySql | MySql driver and helper layer built on the NewLife data stack. | |
| Web, AI & Distributed | ||
| NewLife.Cube | Rapid admin-platform framework: permissions, SSO, OAuth server and CRUD scaffolding. | |
| Stardust | Distributed service platform: node management, APM, configuration center, registry and release center. | |
| AntJob | Distributed task and real-time data scheduling platform with sharding, retries and backfill. | |
| NewLife.AI | Unified client for 46 LLM providers plus ChatAI, a ready-to-run web chat application. | |
| Industrial & IoT | ||
| NewLife.IoT | IoT standard library defining protocol contracts and device abstractions. | |
| NewLife.Modbus | Modbus TCP/RTU/ASCII implementation on top of NewLife.IoT. | |
| NewLife.Siemens | Siemens PLC protocol on top of NewLife.IoT. | |
| NewLife.Omron | Omron PLC protocol on top of NewLife.IoT. | |
| NewLife.Melsec | Mitsubishi Melsec PLC protocol on top of NewLife.IoT. | |
| NewLife.OPC | OPC client for industrial data access. | — |
| NewLife.BACnet | BACnet building-automation protocol stack. | |
| ZeroIoT | Lightweight open-source IoT platform with gateway and device management. | — |
| Vehicle Telematics | ||
| NewLife.JT808 | JT/T 808 vehicle positioning protocol: 70+ message bodies, 2011/2013/2019. | |
| NewLife.JT809 | JT/T 809 platform-to-platform protocol for transport authorities. | |
| NewLife.JT1078 | JT/T 1078 in-vehicle video: RTP parsing, FLV/fMP4 remuxing and live streaming. | |
| Domain Components | ||
| NewLife.Office | One package for Excel, Word, PPT, PDF and 15+ document formats. | |
| NewLife.Audio | Cross-platform audio: codecs, device I/O, DSP, containers and streaming. | |
| NewLife.Video | Video codecs, container formats, frame processing and streaming. | |
| NewLife.Map | Unified interface over Baidu, AMap, Tencent and Tianditu with geocoding and coordinate conversion. | |
| NewLife.IP | IPv4 geolocation with an offline memory-mapped database and an online API fallback. | |
| Tools & Products | ||
| CrazyCoder | Developer toolbox: network, serial port, crypto, regex, Modbus and MQTT. | |
| GitCandy | Self-hosted Git source code management system. | — |
| LuckyClover | Installs the matching .NET runtime automatically when launched from an older host. | — |
Badges show the primary package of each project; theme, extension and satellite packages are listed on their NuGet pages. The 30+ packages not listed here (FTP, LoRa, Office extensions, protocol drivers and more) are available under the NewLifeX organization and on newlifex.com.
Team
<img src="https://newlifex.com/logo.png" width="48" align="right" alt="NewLife" />
Founded in 2002, the NewLife team has spent more than two decades on the .NET and IoT ecosystem, maintains nearly 100 open-source projects (34 of them core to this map), and delivers integrated software and hardware solutions for power, logistics, healthcare, industrial control and internet industries. We live by the motto "learning has no seniority — mastery earns respect".
Open-source components have been downloaded 6.48M times from NuGet (ecosystem-wide, as of 2026-10).
Website: https://newlifex.com · Open source organization: https://github.com/NewLifeX
<details> <summary>WeChat Official Account: 智能大石头 (scan to follow)</summary>
</details>
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. 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 is compatible. 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. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
| .NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.5
- NewLife.IoT (>= 3.2.2026.1024)
- NewLife.XCode (>= 12.2.2026.1021-beta0423)
-
.NETFramework 4.6.1
- NewLife.IoT (>= 3.2.2026.1024)
- NewLife.XCode (>= 12.2.2026.1021-beta0423)
-
.NETStandard 2.0
- NewLife.IoT (>= 3.2.2026.1024)
- NewLife.XCode (>= 12.2.2026.1021-beta0423)
-
.NETStandard 2.1
- NewLife.IoT (>= 3.2.2026.1024)
- NewLife.XCode (>= 12.2.2026.1021-beta0423)
-
net10.0
- NewLife.IoT (>= 3.2.2026.1024)
- NewLife.XCode (>= 12.2.2026.1021-beta0423)
-
net6.0
- NewLife.IoT (>= 3.2.2026.1024)
- NewLife.XCode (>= 12.2.2026.1021-beta0423)
-
net8.0
- NewLife.IoT (>= 3.2.2026.1024)
- NewLife.XCode (>= 12.2.2026.1021-beta0423)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.2.2026.1024 | 181 | 10/24/2026 |
| 1.2.2026.1024-beta0359 | 96 | 10/24/2026 |
| 1.1.2026.1022-beta0136 | 105 | 10/22/2026 |
| 1.1.2026.1019-beta1517 | 104 | 10/19/2026 |
| 1.1.2026.801 | 168 | 8/1/2026 |
| 1.1.2026.801-beta1838 | 123 | 8/1/2026 |
| 1.1.2026.722-beta1723 | 135 | 7/22/2026 |
| 1.1.2026.609-beta1339 | 127 | 6/9/2026 |
| 1.1.2026.601 | 157 | 6/1/2026 |
| 1.1.2026.601-beta1248 | 129 | 6/1/2026 |
| 1.0.2026.518-beta1452 | 136 | 5/18/2026 |
| 1.0.2026.517-beta1625 | 140 | 5/17/2026 |
| 1.0.2026.501 | 138 | 5/1/2026 |
| 1.0.2026.501-beta0730 | 129 | 5/1/2026 |
| 1.0.2026.305-beta0014 | 139 | 3/5/2026 |
| 1.0.2026.303-beta0013 | 137 | 3/3/2026 |
| 1.0.2026.302-beta0615 | 146 | 3/2/2026 |
| 1.0.2026.301-beta0621 | 136 | 3/1/2026 |
| 1.0.2026.213-beta0613 | 146 | 2/13/2026 |
| 1.0.2026.212-beta0012 | 144 | 2/12/2026 |
NativeAOT compatibility and JSON source-generation models; 31-language localization for driver metadata, parameters and logs; instance-prefixed logging; NewLife.XCode dependency upgraded to 12.2.2026.1021-beta0423. NativeAOT 兼容与 JSON 源生成模型;31 种语言本地化覆盖驱动元数据、参数与日志;实例前缀日志;NewLife.XCode 依赖升级到 12.2.2026.1021-beta0423。