Skip to content

Conversation

@RRQM
Copy link
Contributor

@RRQM RRQM commented Nov 26, 2025

…cy versions.

Upgrade all projects to .NET 10.0 and update the dependency packages to the latest versions.

RRQM added 3 commits November 26, 2025 09:22
…cy versions.

Upgrade all projects to .NET 10.0 and update the dependency packages to the latest versions.
新增对 System.Buffers 和 System.IO.Pipelines 的引用,优化内存分配和数据流处理。在 TouchSocketConfig 中新增 ReceivePipeOptions 和 SendPipeOptions 配置,支持自定义管道选项。将部分变量声明改为显式类型以提升代码可读性。新增对 System.Text.Json.Serialization 和 TouchSocket.Rpc 的引用,为后续功能扩展做准备。容器配置中新增 AddRpcStore 调用,支持 RPC 功能。
引入 `System.Buffers` 和 `System.IO.Pipelines` 命名空间以支持内存池和管道功能。将 `server` 变量的声明从 `var` 改为显式类型 `MyServer`。在 `SetupAsync` 方法中,添加 `TransportOption` 配置,设置 `BufferOnDemand` 为 `false`,并配置 `ReceivePipeOptions` 和 `SendPipeOptions`,以优化服务器性能。删除多余空行。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant