Make this toolkit/adapter more versatile and available for ASP.NET/web tools.
@Tom-Kingstone 已经在做这个了。
开始于 2026年9月8日。
评估
这个 Issue 还没有评估数据。
描述
Description:
From my own experience developing web applications, it would be great if I didn't have to write a custom API client with its own BHoM serialiser/deserialiser every time I need to send BHoM objects to and from an API. For this purpose, the HTTP_Toolkit has potential to be useful, but it just isn't developed enough and doesn't allow enough direct customisation to be useful in many cases.
At least having both POST and GET (as push and pull) fully implemented would be a great start, and DELETE should be simple enough. It would also be necessary to have a constructor for the adapter that accepts an HTTP client that the adapter would use to make requests (as opposed to the current where new HTTP clients are created with each request) as some frameworks use HTTP client factories that set up clients in a specific way which isn't possible to use with this toolkit as it is.
Suggest possibly having custom config to allow choosing what form the response comes in (for instance I have in the past written POST endpoints which return a usable BHoM object response so at least that would need to be implemented as an option, or even as default if json response is detected).
- 主要语言
- C#
- 星标
- 2
- 派生
- 1
- 平均合并
- 5 天 8 小时
- 30 天内合并 PR
- 2
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
BHoM/HTTP_Toolkit 的其他 Issue
-
Upgrade project files to SDK-style format compatible with dotnet可能重新可做 @adecler 于 239 天前认领,目前没有进行中的 PR。 未关闭type:compliance
BHoM/HTTP_Toolkit#123 · 已指派 1 人 ·
-
BatchRequest not working as expected可能重新可做 @rolyhudson 于 1848 天前认领,目前没有进行中的 PR。 未关闭type:bug
BHoM/HTTP_Toolkit#72 · 已指派 1 人 ·
-
HTTPConfig Support for Byte / String / Other Response Return types可能重新可做 @epignatelli 于 2267 天前认领,目前没有进行中的 PR。 未关闭type:feature
BHoM/HTTP_Toolkit#52 · 1 条评论 · 已指派 2 人 ·
-
severity:low type:compliance type:question
难度 5/5 一周以上 新手友好度 20/100
BHoM/HTTP_Toolkit#20 · 5 条评论 · 1 个 reaction ·
-
The number of responses resulting in the Pull is not of the expected length when using BatchRequest可能重新可做 @epignatelli 于 2589 天前认领,目前没有进行中的 PR。 未关闭type:bug
BHoM/HTTP_Toolkit#13 · 2 条评论 · 已指派 1 人 ·
查看 BHoM/HTTP_Toolkit 的全部 Issue
相似的 Issue
-
area-signalr
难度 2/5 1-3 小时 新手友好度 75/100
dotnet/aspnetcore#69842 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 64/100
维护者通常 2 天内回复
-
bug needs-triage
难度 2/5 1 小时以内 新手友好度 78/100
microsoft/microsoft-ui-reactor#1373 ·
维护者通常 1 天内回复
-
Client customer-reported KeyVault needs-team-attention question Service Attention
难度 2/5 1-3 小时 新手友好度 62/100
Azure/azure-sdk-for-net#63861 · 3 条评论 · 1 个 reaction ·
维护者通常 1 天内回复