TouchSocket.WebApi
4.1.1
Prefix Reserved
dotnet add package TouchSocket.WebApi --version 4.1.1
NuGet\Install-Package TouchSocket.WebApi -Version 4.1.1
<PackageReference Include="TouchSocket.WebApi" Version="4.1.1" />
<PackageVersion Include="TouchSocket.WebApi" Version="4.1.1" />
<PackageReference Include="TouchSocket.WebApi" />
paket add TouchSocket.WebApi --version 4.1.1
#r "nuget: TouchSocket.WebApi, 4.1.1"
#:package TouchSocket.WebApi@4.1.1
#addin nuget:?package=TouchSocket.WebApi&version=4.1.1
#tool nuget:?package=TouchSocket.WebApi&version=4.1.1
TouchSocket.WebApi
项目概述
TouchSocket.WebApi 是一个提供 WebApi 服务器和客户端的组件库。借助该组件,开发者能够创建 WebApi 服务解析器和客户端,实现桌面端、Web 端、移动端的跨语言 Rpc 函数调用。该库支持自定义路由、Get 传参、Post 传参等功能。
功能特性
- 跨平台调用:支持桌面端、Web 端、移动端跨语言调用 Rpc 函数。
- 参数传递:支持 Get 和 Post 两种传参方式。
- 自定义路由:允许开发者自定义 WebApi 路由。
文档说明
详细的说明文档请访问:https://touchsocket.net/
支持的目标框架
- net481
- net462
- net472
- netstandard2.0
- netstandard2.1
- net6.0
- net10.0
- net8.0
贡献与反馈
如果你在使用过程中遇到问题或有任何建议,欢迎提交 issue 或参与项目贡献。
| 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 | 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
- TouchSocket.Http (>= 4.1.1)
- TouchSocket.Rpc (>= 4.1.1)
-
.NETStandard 2.0
- TouchSocket.Http (>= 4.1.1)
- TouchSocket.Rpc (>= 4.1.1)
-
.NETStandard 2.1
- TouchSocket.Http (>= 4.1.1)
- TouchSocket.Rpc (>= 4.1.1)
-
net10.0
- TouchSocket.Http (>= 4.1.1)
- TouchSocket.Rpc (>= 4.1.1)
-
net6.0
- TouchSocket.Http (>= 4.1.1)
- TouchSocket.Rpc (>= 4.1.1)
-
net8.0
- TouchSocket.Http (>= 4.1.1)
- TouchSocket.Rpc (>= 4.1.1)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on TouchSocket.WebApi:
| Package | Downloads |
|---|---|
|
ThingsGateway.Gateway.Application
Package Description |
|
|
TouchSocket.WebApi.Swagger
这是适用于TouchSocket.WebApi的Swagger页面,可以直接在浏览器调试WebApi。 说明文档:https://touchsocket.net/ |
|
|
TouchSocket.XmlRpc
这是一个提供XmlRpc服务器和客户端的组件库。可以通过该组件创建XmlRpc服务解析器,完美支持XmlRpc数据类型,类型嵌套,Array等。也能与CookComputing.XmlRpcV2完美对接。不限Web,Android等平台。 说明文档:https://touchsocket.net/ |
|
|
TouchSocket.JsonRpc
这是一个提供JsonRpc服务器和客户端的组件库。可以通过该组件创建基于Tcp、Http、WebSocket协议的JsonRpc服务器和客户端,支持JsonRpc全部功能,可与Web,Android等平台无缝对接。 说明文档:https://touchsocket.net/ |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on TouchSocket.WebApi:
| Repository | Stars |
|---|---|
|
ThingsGateway/ThingsGateway
ThingsGateway is a cross-platform, high-performance gateway for edge data acquisition and IoT connectivity. Developed with .NET 8, it offers a suite of powerful tools, including advanced PLC communication libraries and debugging software.
|
| Version | Downloads | Last Updated |
|---|---|---|
| 4.1.1 | 969 | 2/1/2026 |
| 4.1.0 | 5,884 | 1/25/2026 |
| 4.0.8.10-beta | 203 | 1/21/2026 |
| 4.0.8 | 3,796 | 1/18/2026 |
| 4.0.7 | 3,585 | 1/8/2026 |
| 4.0.6 | 1,640 | 1/3/2026 |
| 4.0.5 | 2,242 | 12/28/2025 |
| 4.0.4 | 2,784 | 12/21/2025 |
| 4.0.3 | 1,860 | 12/13/2025 |
| 4.0.2 | 3,335 | 12/6/2025 |
| 4.0.1 | 3,462 | 11/30/2025 |
| 4.0.0 | 2,678 | 11/23/2025 |
| 4.0.0-rc.51 | 208 | 11/22/2025 |
| 4.0.0-rc.46 | 1,549 | 11/17/2025 |
| 4.0.0-rc.15 | 1,420 | 11/1/2025 |
| 4.0.0-rc.5 | 3,867 | 10/26/2025 |
| 4.0.0-rc.1 | 1,379 | 10/22/2025 |
| 4.0.0-beta.140 | 7,874 | 10/18/2025 |
| 4.0.0-beta.120 | 6,104 | 10/12/2025 |
| 4.0.0-beta.96 | 4,287 | 10/5/2025 |
| 4.0.0-beta.80 | 2,369 | 9/28/2025 |
| 4.0.0-beta.70 | 2,999 | 9/26/2025 |
| 4.0.0-beta.57 | 7,703 | 9/21/2025 |
| 4.0.0-beta.28 | 1,985 | 9/17/2025 |
| 4.0.0-beta.27 | 4,409 | 9/11/2025 |
| 4.0.0-beta.25 | 3,713 | 9/7/2025 |
| 4.0.0-beta.13 | 1,704 | 9/4/2025 |
| 4.0.0-beta.6 | 1,188 | 9/1/2025 |
| 4.0.0-beta.5 | 1,648 | 8/29/2025 |
| 3.1.19 | 458 | 10/25/2025 |
| 3.1.18 | 457 | 9/27/2025 |
| 3.1.17 | 431 | 9/9/2025 |
| 3.1.16 | 436 | 8/21/2025 |
| 3.1.15 | 534 | 8/3/2025 |
| 3.1.14 | 3,967 | 7/20/2025 |
| 3.1.13 | 3,740 | 7/14/2025 |
| 3.1.12 | 2,454 | 7/8/2025 |
| 3.1.11 | 14,072 | 6/24/2025 |
| 3.1.10 | 2,407 | 6/23/2025 |
| 3.1.9 | 1,399 | 6/22/2025 |
| 3.1.8 | 6,588 | 6/15/2025 |
| 3.1.7 | 9,842 | 6/8/2025 |
| 3.1.6 | 4,545 | 6/2/2025 |
| 3.1.5 | 10,063 | 5/24/2025 |
| 3.1.4 | 4,498 | 5/20/2025 |
| 3.1.3 | 3,001 | 5/18/2025 |
| 3.1.2 | 4,577 | 5/11/2025 |
| 3.1.1 | 4,113 | 4/29/2025 |
| 3.1.0 | 3,513 | 4/26/2025 |
| 3.0.26 | 2,633 | 4/20/2025 |
| 3.0.25 | 3,516 | 4/12/2025 |
| 3.0.24 | 4,512 | 4/7/2025 |
| 3.0.23 | 1,585 | 4/6/2025 |
| 3.0.20 | 6,183 | 3/30/2025 |
| 3.0.19 | 9,052 | 3/23/2025 |
| 3.0.18 | 6,600 | 3/16/2025 |
| 3.0.17 | 2,997 | 3/12/2025 |
| 3.0.16 | 2,914 | 3/9/2025 |
| 3.0.15 | 8,256 | 3/2/2025 |
| 3.0.14 | 9,514 | 2/15/2025 |
| 3.0.13 | 7,220 | 1/27/2025 |
| 3.0.12 | 6,478 | 1/19/2025 |
| 3.0.11 | 456 | 1/12/2025 |
| 3.0.10 | 1,013 | 1/5/2025 |
| 3.0.9 | 2,099 | 12/22/2024 |
| 3.0.8 | 998 | 12/15/2024 |
| 3.0.7 | 504 | 12/8/2024 |
| 3.0.6 | 484 | 12/1/2024 |
| 3.0.4 | 414 | 11/24/2024 |
| 3.0.3 | 397 | 11/17/2024 |
| 3.0.1 | 436 | 11/14/2024 |
| 3.0.0 | 396 | 11/13/2024 |
| 2.1.10 | 867 | 10/25/2024 |
| 2.1.0 | 466 | 9/15/2024 |
| 2.1.0-alpha.31 | 116 | 7/7/2024 |
| 2.1.0-alpha.28 | 112 | 7/4/2024 |
| 2.1.0-alpha.27 | 105 | 7/3/2024 |
| 2.1.0-alpha.26 | 122 | 6/29/2024 |
| 2.1.0-alpha.24 | 101 | 6/28/2024 |
| 2.0.18 | 463 | 9/10/2024 |
| 2.0.17 | 570 | 8/30/2024 |
| 2.0.16 | 522 | 8/19/2024 |
| 2.0.15 | 602 | 8/9/2024 |
| 2.0.14 | 486 | 7/24/2024 |
| 2.0.12 | 582 | 7/17/2024 |
| 2.0.11 | 418 | 7/12/2024 |
| 2.0.10 | 863 | 5/31/2024 |
| 2.0.0 | 449 | 3/9/2024 |