TouchSocket.WebApi
4.0.0-beta.27
Prefix Reserved
See the version list below for details.
dotnet add package TouchSocket.WebApi --version 4.0.0-beta.27
NuGet\Install-Package TouchSocket.WebApi -Version 4.0.0-beta.27
<PackageReference Include="TouchSocket.WebApi" Version="4.0.0-beta.27" />
<PackageVersion Include="TouchSocket.WebApi" Version="4.0.0-beta.27" />
<PackageReference Include="TouchSocket.WebApi" />
paket add TouchSocket.WebApi --version 4.0.0-beta.27
#r "nuget: TouchSocket.WebApi, 4.0.0-beta.27"
#:package TouchSocket.WebApi@4.0.0-beta.27
#addin nuget:?package=TouchSocket.WebApi&version=4.0.0-beta.27&prerelease
#tool nuget:?package=TouchSocket.WebApi&version=4.0.0-beta.27&prerelease
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
- net9.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 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
- TouchSocket.Http (>= 4.0.0-beta.27)
- TouchSocket.Rpc (>= 4.0.0-beta.27)
-
.NETStandard 2.0
- TouchSocket.Http (>= 4.0.0-beta.27)
- TouchSocket.Rpc (>= 4.0.0-beta.27)
-
.NETStandard 2.1
- TouchSocket.Http (>= 4.0.0-beta.27)
- TouchSocket.Rpc (>= 4.0.0-beta.27)
-
net6.0
- TouchSocket.Http (>= 4.0.0-beta.27)
- TouchSocket.Rpc (>= 4.0.0-beta.27)
-
net8.0
- TouchSocket.Http (>= 4.0.0-beta.27)
- TouchSocket.Rpc (>= 4.0.0-beta.27)
-
net9.0
- TouchSocket.Http (>= 4.0.0-beta.27)
- TouchSocket.Rpc (>= 4.0.0-beta.27)
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.JsonRpc
这是一个提供JsonRpc服务器和客户端的组件库。可以通过该组件创建基于Tcp、Http、WebSocket协议的JsonRpc服务器和客户端,支持JsonRpc全部功能,可与Web,Android等平台无缝对接。 说明文档:https://touchsocket.net/ |
|
|
TouchSocket.XmlRpc
这是一个提供XmlRpc服务器和客户端的组件库。可以通过该组件创建XmlRpc服务解析器,完美支持XmlRpc数据类型,类型嵌套,Array等。也能与CookComputing.XmlRpcV2完美对接。不限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.0.0-rc.15 | 0 | 11/1/2025 |
| 4.0.0-rc.10 | 117 | 10/30/2025 |
| 4.0.0-rc.5 | 2,756 | 10/26/2025 |
| 4.0.0-rc.2 | 100 | 10/24/2025 |
| 4.0.0-rc.1 | 1,329 | 10/22/2025 |
| 4.0.0-beta.140 | 7,842 | 10/18/2025 |
| 4.0.0-beta.120 | 6,069 | 10/12/2025 |
| 4.0.0-beta.96 | 4,256 | 10/5/2025 |
| 4.0.0-beta.80 | 2,339 | 9/28/2025 |
| 4.0.0-beta.70 | 2,969 | 9/26/2025 |
| 4.0.0-beta.57 | 7,677 | 9/21/2025 |
| 4.0.0-beta.28 | 1,960 | 9/17/2025 |
| 4.0.0-beta.27 | 4,378 | 9/11/2025 |
| 4.0.0-beta.25 | 3,670 | 9/7/2025 |
| 4.0.0-beta.13 | 1,675 | 9/4/2025 |
| 4.0.0-beta.6 | 1,158 | 9/1/2025 |
| 4.0.0-beta.5 | 1,621 | 8/29/2025 |
| 3.1.19 | 217 | 10/25/2025 |
| 3.1.18 | 349 | 9/27/2025 |
| 3.1.17 | 353 | 9/9/2025 |
| 3.1.16 | 360 | 8/21/2025 |
| 3.1.15 | 437 | 8/3/2025 |
| 3.1.14 | 3,901 | 7/20/2025 |
| 3.1.13 | 3,678 | 7/14/2025 |
| 3.1.12 | 2,382 | 7/8/2025 |
| 3.1.11 | 13,991 | 6/24/2025 |
| 3.1.10 | 2,337 | 6/23/2025 |
| 3.1.9 | 1,358 | 6/22/2025 |
| 3.1.8 | 6,505 | 6/15/2025 |
| 3.1.7 | 9,768 | 6/8/2025 |
| 3.1.6 | 4,479 | 6/2/2025 |
| 3.1.5 | 9,983 | 5/24/2025 |
| 3.1.4 | 4,451 | 5/20/2025 |
| 3.1.3 | 2,939 | 5/18/2025 |
| 3.1.2 | 4,513 | 5/11/2025 |
| 3.1.1 | 4,042 | 4/29/2025 |
| 3.1.0 | 3,328 | 4/26/2025 |
| 3.0.26 | 2,554 | 4/20/2025 |
| 3.0.25 | 3,450 | 4/12/2025 |
| 3.0.24 | 4,433 | 4/7/2025 |
| 3.0.23 | 1,515 | 4/6/2025 |
| 3.0.20 | 6,107 | 3/30/2025 |
| 3.0.19 | 8,959 | 3/23/2025 |
| 3.0.18 | 6,533 | 3/16/2025 |
| 3.0.17 | 2,935 | 3/12/2025 |
| 3.0.16 | 2,835 | 3/9/2025 |
| 3.0.15 | 8,170 | 3/2/2025 |
| 3.0.14 | 9,433 | 2/15/2025 |
| 3.0.13 | 7,145 | 1/27/2025 |
| 3.0.12 | 6,407 | 1/19/2025 |
| 3.0.11 | 398 | 1/12/2025 |
| 3.0.10 | 956 | 1/5/2025 |
| 3.0.9 | 2,023 | 12/22/2024 |
| 3.0.8 | 936 | 12/15/2024 |
| 3.0.7 | 443 | 12/8/2024 |
| 3.0.6 | 417 | 12/1/2024 |
| 3.0.4 | 364 | 11/24/2024 |
| 3.0.3 | 344 | 11/17/2024 |
| 3.0.1 | 361 | 11/14/2024 |
| 3.0.0 | 336 | 11/13/2024 |
| 2.1.10 | 804 | 10/25/2024 |
| 2.1.0 | 409 | 9/15/2024 |
| 2.1.0-alpha.31 | 92 | 7/7/2024 |
| 2.1.0-alpha.28 | 82 | 7/4/2024 |
| 2.1.0-alpha.27 | 78 | 7/3/2024 |
| 2.1.0-alpha.26 | 93 | 6/29/2024 |
| 2.1.0-alpha.24 | 80 | 6/28/2024 |
| 2.0.18 | 406 | 9/10/2024 |
| 2.0.17 | 500 | 8/30/2024 |
| 2.0.16 | 491 | 8/19/2024 |
| 2.0.15 | 539 | 8/9/2024 |
| 2.0.14 | 432 | 7/24/2024 |
| 2.0.12 | 515 | 7/17/2024 |
| 2.0.11 | 374 | 7/12/2024 |
| 2.0.10 | 792 | 5/31/2024 |
| 2.0.0 | 384 | 3/9/2024 |