TouchSocket.Core
4.0.0-rc.2
Prefix Reserved
See the version list below for details.
dotnet add package TouchSocket.Core --version 4.0.0-rc.2
NuGet\Install-Package TouchSocket.Core -Version 4.0.0-rc.2
<PackageReference Include="TouchSocket.Core" Version="4.0.0-rc.2" />
<PackageVersion Include="TouchSocket.Core" Version="4.0.0-rc.2" />
<PackageReference Include="TouchSocket.Core" />
paket add TouchSocket.Core --version 4.0.0-rc.2
#r "nuget: TouchSocket.Core, 4.0.0-rc.2"
#:package TouchSocket.Core@4.0.0-rc.2
#addin nuget:?package=TouchSocket.Core&version=4.0.0-rc.2&prerelease
#tool nuget:?package=TouchSocket.Core&version=4.0.0-rc.2&prerelease
TouchSocket.Core
简介
这是一个基础服务功能的库,其中包含:内存池、对象池、文件池、流式数据解包器、等待逻辑池、AppMessenger、3DES加密、Xml快速存储、运行时间测量器、文件快捷操作、高性能二进制序列化器、规范日志接口等。
功能特性
1. 内存与对象管理
- 内存池:高效管理内存资源,减少内存分配与回收开销,提升系统性能。
- 对象池:复用对象实例,避免频繁创建和销毁对象带来的性能损耗。
2. 文件管理
- 文件池:优化文件资源使用,提高文件操作效率。
- 文件快捷操作:提供便捷的文件读写、复制、移动等操作方法。
3. 数据处理
- 流式数据解包器:高效解包流式数据,便于数据处理和解析。
- 高性能二进制序列化器:实现快速、高效的二进制数据序列化和反序列化。
4. 逻辑处理
- 等待逻辑池:管理等待逻辑,提高异步操作处理效率。
- AppMessenger:实现应用内消息传递机制,方便模块间通信。
5. 加密与存储
- 3DES 加密:提供 3DES 加密算法,保障数据安全性。
- Xml 快速存储:实现 XML 数据的快速存储和读取。
6. 性能监测与日志
- 运行时间测量器:测量代码块运行时间,助力性能优化。
- 规范日志接口:提供统一的日志记录接口,方便日志管理。
支持的目标框架
- net45
- net462
- net472
- net481
- netstandard2.0
- netstandard2.1
- net6.0
- net9.0
- net8.0
使用方法
| 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 is compatible. 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 was computed. 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 | net461 was computed. net462 is compatible. 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.6.2
- Newtonsoft.Json (>= 13.0.3)
- System.IO.Pipelines (>= 6.0.3)
- System.Text.Json (>= 8.0.5)
-
.NETStandard 2.0
- Newtonsoft.Json (>= 13.0.3)
- System.IO.Pipelines (>= 6.0.3)
- System.Text.Json (>= 8.0.5)
-
.NETStandard 2.1
- Newtonsoft.Json (>= 13.0.3)
- System.IO.Pipelines (>= 6.0.3)
- System.Text.Json (>= 8.0.5)
-
net6.0
- Newtonsoft.Json (>= 13.0.3)
- System.IO.Pipelines (>= 6.0.3)
- System.Text.Json (>= 8.0.5)
-
net8.0
- Newtonsoft.Json (>= 13.0.3)
- System.IO.Pipelines (>= 8.0.0)
-
net9.0
- Newtonsoft.Json (>= 13.0.3)
NuGet packages (5)
Showing the top 5 NuGet packages that depend on TouchSocket.Core:
| Package | Downloads |
|---|---|
|
TouchSocket
TouchSocket是.Net(包括 C# 、VB.Net、F#)的一个整合性的socket网络通信框架。包含了 tcp、udp、ssl等一系列的通信模块。一键式解决 tcp 黏分包问题,udp大数据包分片组合问题等。使用协议模板,可快速实现「固定包头」、「固定长度」、「区间字符」等一系列的数据报文解析。 TouchSocket is Net (including C #, VB An integrated socket network communication framework based on Net and F #. It includes a series of communication modules such as TCP, UDP, SSL, etc. One click solution to TCP packet sticking and UDP packet fragmentation and combination problems. By using protocol templates, a series of data message parsing techniques such as "fixed packet header", "fixed length", and "interval characters" can be quickly implemented. |
|
|
TouchSocket.Rpc
这是一个超轻量、高性能、可扩展的Rpc管理平台框架。您可以基于该框架,快速开发出Rpc执行。目前已扩展开发DmtpRpc、XmlRpc、JsonRpc、WebApi部分。 说明文档:https://touchsocket.net/ |
|
|
TouchSocket.Core.DependencyInjection
这是一个为Core中扩展Ioc容器为IServiceCollection的库。 说明文档:https://touchsocket.net/ |
|
|
TouchSocket.Core.Autofac
这是一个为Core中扩展Ioc容器为Autofac的库。 说明文档:https://touchsocket.net/ |
|
|
Baboon
这是一个wpf的,模块化开发的功能库。支持模块加载、下载、更新等。同时包含了本地数据库、本地日志组件等功能。 |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.0-rc.38 | 0 | 11/7/2025 |
| 4.0.0-rc.37 | 122 | 11/3/2025 |
| 4.0.0-rc.15 | 1,693 | 11/1/2025 |
| 4.0.0-rc.10 | 964 | 10/30/2025 |
| 4.0.0-rc.5 | 4,954 | 10/26/2025 |
| 4.0.0-rc.2 | 114 | 10/24/2025 |
| 4.0.0-rc.1 | 1,766 | 10/22/2025 |
| 4.0.0-beta.140 | 10,220 | 10/18/2025 |
| 4.0.0-beta.120 | 7,936 | 10/12/2025 |
| 4.0.0-beta.96 | 5,611 | 10/5/2025 |
| 4.0.0-beta.80 | 3,009 | 9/28/2025 |
| 4.0.0-beta.70 | 3,814 | 9/26/2025 |
| 4.0.0-beta.57 | 9,846 | 9/21/2025 |
| 4.0.0-beta.28 | 2,507 | 9/17/2025 |
| 4.0.0-beta.27 | 5,748 | 9/11/2025 |
| 4.0.0-beta.25 | 4,857 | 9/7/2025 |
| 4.0.0-beta.13 | 2,158 | 9/4/2025 |
| 4.0.0-beta.6 | 1,561 | 9/1/2025 |
| 3.1.19 | 1,341 | 10/25/2025 |
| 3.1.18 | 1,920 | 9/27/2025 |
| 3.1.17 | 2,144 | 9/9/2025 |
| 3.1.16 | 1,876 | 8/21/2025 |
| 3.1.15 | 2,031 | 8/3/2025 |
| 3.1.14 | 7,098 | 7/20/2025 |
| 3.1.13 | 6,627 | 7/14/2025 |
| 3.1.12 | 4,390 | 7/8/2025 |
| 3.1.11 | 22,763 | 6/24/2025 |
| 3.1.10 | 4,150 | 6/23/2025 |
| 3.1.9 | 2,696 | 6/22/2025 |
| 3.1.8 | 10,612 | 6/15/2025 |
| 3.1.7 | 15,884 | 6/8/2025 |
| 3.1.6 | 7,755 | 6/2/2025 |
| 3.1.5 | 16,425 | 5/24/2025 |
| 3.1.4 | 7,635 | 5/20/2025 |
| 3.1.3 | 5,103 | 5/18/2025 |
| 3.1.2 | 7,790 | 5/11/2025 |
| 3.1.1 | 7,382 | 4/29/2025 |
| 3.1.0 | 5,970 | 4/26/2025 |
| 3.0.26 | 4,824 | 4/20/2025 |
| 3.0.25 | 7,383 | 4/12/2025 |
| 3.0.24 | 7,764 | 4/7/2025 |
| 3.0.23 | 3,137 | 4/6/2025 |
| 3.0.20 | 10,196 | 3/30/2025 |
| 3.0.19 | 14,366 | 3/23/2025 |
| 3.0.18 | 10,847 | 3/16/2025 |
| 3.0.17 | 5,128 | 3/12/2025 |
| 3.0.16 | 5,353 | 3/9/2025 |
| 3.0.15 | 14,249 | 3/2/2025 |
| 3.0.14 | 17,131 | 2/15/2025 |
| 3.0.13 | 13,239 | 1/27/2025 |
| 3.0.12 | 11,367 | 1/19/2025 |
| 3.0.11 | 1,544 | 1/12/2025 |
| 3.0.10 | 3,509 | 1/5/2025 |
| 3.0.9 | 7,531 | 12/22/2024 |
| 3.0.8 | 5,969 | 12/15/2024 |
| 3.0.7 | 5,350 | 12/8/2024 |
| 3.0.6 | 4,423 | 12/1/2024 |
| 3.0.4 | 3,428 | 11/24/2024 |
| 3.0.3 | 5,112 | 11/17/2024 |
| 3.0.1 | 1,997 | 11/14/2024 |
| 3.0.0 | 2,103 | 11/13/2024 |
| 2.1.10 | 6,815 | 10/25/2024 |
| 2.1.0 | 2,068 | 9/15/2024 |
| 2.0.18 | 1,949 | 9/10/2024 |
| 2.0.17 | 2,973 | 8/30/2024 |
| 2.0.16 | 2,234 | 8/19/2024 |
| 2.0.15 | 1,984 | 8/9/2024 |
| 2.0.14 | 3,325 | 7/24/2024 |
| 2.0.12 | 1,685 | 7/17/2024 |
| 2.0.11 | 1,668 | 7/12/2024 |
| 2.0.10 | 4,957 | 5/31/2024 |
| 2.0.0 | 4,382 | 3/9/2024 |