c# - httprequestmessage.createresponse() 在 System.net.http 中不存在
问题描述
我正在尝试使用 GraphController 文件的更新版本(https://github.com/graphql-dotnet/examples/blob/master/src/AspNetWebApi/WebApi/Controllers/GraphQLController.cs)。该文件在类中使用 httprequest.createresponse() 方法。但是,我无法使用它。该方法是否已过时。有什么方法可以使用 createresponse() 方法吗?
解决方案
推荐阅读
- bash - 如何跨多行包装嵌入在 bash/shell 脚本中的长 sed 命令?
- wikipedia - 尝试获取所有维基百科条目标题?
- sql-server - 我在 SQL Server 中有 2 个查询;当第一个查询执行时,5分钟后我想执行第二个查询
- python - 如何使用美丽的汤获取 li 标签内的数据 ID?
- assembly - 用 BX 表示无效使用的汇编语言加载 SI
- spring - Mybatis mapper 返回空值。在春天-rest-mybatis-mysql-gradle
- reactjs - 创建 Material-UI 表单步进器
- ios - 在 Scenedelgate 中设置视图控制器后 Xcode 11.5 IOS 13.5 黑屏
- php - 如果应用程序关闭,推送通知不会到来 PHP Android
- python - 基数为 10 的 int() 的无效文字:'328.94'(将字节转换为 int() 时)