首页 > 解决方案 > httprequestmessage.createresponse() 在 System.net.http 中不存在

问题描述

我正在尝试使用 GraphController 文件的更新版本(https://github.com/graphql-dotnet/examples/blob/master/src/AspNetWebApi/WebApi/Controllers/GraphQLController.cs)。该文件在类中使用 httprequest.createresponse() 方法。但是,我无法使用它。该方法是否已过时。有什么方法可以使用 createresponse() 方法吗?

标签: c#.nethttpasp.net-coregraph

解决方案



推荐阅读