TouchSocket.Core
4.0.0-Alpha.1
Prefix Reserved
See the version list below for details.
dotnet add package TouchSocket.Core --version 4.0.0-Alpha.1
NuGet\Install-Package TouchSocket.Core -Version 4.0.0-Alpha.1
<PackageReference Include="TouchSocket.Core" Version="4.0.0-Alpha.1" />
<PackageVersion Include="TouchSocket.Core" Version="4.0.0-Alpha.1" />
<PackageReference Include="TouchSocket.Core" />
paket add TouchSocket.Core --version 4.0.0-Alpha.1
#r "nuget: TouchSocket.Core, 4.0.0-Alpha.1"
#:package TouchSocket.Core@4.0.0-Alpha.1
#addin nuget:?package=TouchSocket.Core&version=4.0.0-Alpha.1&prerelease
#tool nuget:?package=TouchSocket.Core&version=4.0.0-Alpha.1&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 is compatible. net48 was computed. net481 is compatible. |
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)
-
.NETFramework 4.7.2
- Newtonsoft.Json (>= 13.0.3)
- System.IO.Pipelines (>= 6.0.3)
- System.Text.Json (>= 8.0.5)
-
.NETFramework 4.8.1
- 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-Alpha.10 | 12 | 7/20/2025 |
4.0.0-Alpha.1 | 121 | 7/17/2025 |
3.1.14 | 22 | 7/20/2025 |
3.1.13 | 1,508 | 7/14/2025 |
3.1.12 | 2,317 | 7/8/2025 |
3.1.11 | 11,215 | 6/24/2025 |
3.1.10 | 2,053 | 6/23/2025 |
3.1.9 | 1,455 | 6/22/2025 |
3.1.8 | 5,386 | 6/15/2025 |
3.1.7 | 7,955 | 6/8/2025 |
3.1.6 | 4,015 | 6/2/2025 |
3.1.5 | 8,084 | 5/24/2025 |
3.1.4 | 3,882 | 5/20/2025 |
3.1.3 | 2,590 | 5/18/2025 |
3.1.2 | 4,096 | 5/11/2025 |
3.1.1 | 3,962 | 4/29/2025 |
3.1.0 | 2,951 | 4/26/2025 |
3.0.26 | 2,678 | 4/20/2025 |
3.0.25 | 3,993 | 4/12/2025 |
3.0.24 | 4,037 | 4/7/2025 |
3.0.23 | 1,652 | 4/6/2025 |
3.0.21 | 463 | 4/5/2025 |
3.0.20 | 5,253 | 3/30/2025 |
3.0.19 | 7,289 | 3/23/2025 |
3.0.18 | 5,737 | 3/16/2025 |
3.0.17 | 2,671 | 3/12/2025 |
3.0.16 | 2,964 | 3/9/2025 |
3.0.15 | 7,567 | 3/2/2025 |
3.0.14 | 9,377 | 2/15/2025 |
3.0.13 | 7,500 | 1/27/2025 |
3.0.12 | 6,118 | 1/19/2025 |
3.0.11 | 1,037 | 1/12/2025 |
3.0.10 | 2,340 | 1/5/2025 |
3.0.9 | 4,797 | 12/22/2024 |
3.0.8 | 3,774 | 12/15/2024 |
3.0.7 | 3,372 | 12/8/2024 |
3.0.6 | 2,855 | 12/1/2024 |
3.0.5 | 776 | 12/1/2024 |
3.0.4 | 2,314 | 11/24/2024 |
3.0.3 | 3,220 | 11/17/2024 |
3.0.2 | 773 | 11/15/2024 |
3.0.1 | 1,288 | 11/14/2024 |
3.0.0 | 1,353 | 11/13/2024 |
2.1.10 | 4,725 | 10/25/2024 |
2.1.0 | 1,475 | 9/15/2024 |
2.1.0-rc.37 | 125 | 9/13/2024 |
2.0.18 | 1,417 | 9/10/2024 |
2.0.17 | 2,122 | 8/30/2024 |
2.0.16 | 1,767 | 8/19/2024 |
2.0.15 | 1,526 | 8/9/2024 |
2.0.14 | 2,645 | 7/24/2024 |
2.0.13 | 697 | 7/23/2024 |
2.0.12 | 1,224 | 7/17/2024 |
2.0.11 | 1,249 | 7/12/2024 |
2.0.10 | 4,186 | 5/31/2024 |
2.0.0 | 3,062 | 3/9/2024 |
2.0.0-rc.2 | 550 | 3/7/2024 |
2.0.0-beta.280 | 211 | 3/2/2024 |