nuget - ServiceStack:在 Blazor 项目中安装“ServiceStack.HttpClient”会增加数百个依赖项?
问题描述
我正在使用 Blazor 进行一些测试,并且由于它是 C#,我认为我可以添加 ServiceStack.HttpClient 以在与后端交谈时使用。
但是,当我看到 NuGet 即将安装的依赖项时,我有点害怕,所以我只想检查这是否正常和预期。我们正在谈论数百个添加的参考。
这看起来合理吗?runtime.fedora...Cryptography...
?
解决方案
其中大部分是 ASP.NET Core 依赖项的传递依赖项。
您可以在 NuGet 上查看每个包的依赖项列表:
ServiceStack.Client (>= 5.5.0)
ServiceStack.Interfaces (>= 5.5.0)
ServiceStack.Text (>= 5.5.0)
System.Collections.Specialized (>= 4.3.0)
System.Net.Requests (>= 4.3.0)
System.ServiceModel.Primitives (>= 4.5.3)
System.Xml.XmlSerializer (>= 4.3.0)
服务堆栈.客户端:
ServiceStack.Interfaces (>= 5.5.0)
ServiceStack.Text (>= 5.5.0)
System.Collections.Specialized (>= 4.3.0)
System.Memory (>= 4.5.2)
System.Net.Requests (>= 4.3.0)
System.ServiceModel.Primitives (>= 4.5.3)
System.Xml.XmlSerializer (>= 4.3.0)
服务堆栈.文本:
Microsoft.CSharp (>= 4.5.0)
System.Memory (>= 4.5.2)
System.Runtime (>= 4.3.0)
System.Runtime.Serialization.Primitives (>= 4.3.0)
推荐阅读
- c - “(unsigned int *) 0x400253FCU”是 TI Stellaris 微控制器头文件中的指针吗
? - node.js - 是否可以在同一 VM 上与 prestashop 实例一起运行节点应用程序?
- javascript - Highcharts yAxis 标签点击事件
- python - ImportError:无法从“变压器”导入名称“AutoModelWithLMHead”
- javascript - Knockoutjs - 具有绑定和状态
- python-3.x - asyncio 创建了几十个子进程并且从不关闭它们
- html - 如何找出节点js中按下了哪个提交按钮?
- c++ - 根据二维数组的内容检查值
- r - 为没有 DOI 的学术论文创建具有不同引用风格的格式化参考文献
- c# - 如何将 Task.Run 中的事件编组回 UI 线程?