简体   繁体   English

GraphQL 支持 ASP.NET WebAPI

[英]GraphQL support for ASP.NET WebAPI

Is there support for GraphQL and classic dotnet ie ASP.NET WebAPI and not dot net core.I searched that on internet but did not find any useful resource.是否支持 GraphQL 和经典 dotnet 即 ASP.NET WebAPI 而不是 dot net core。我在互联网上搜索过,但没有找到任何有用的资源。

We have exsisting ASP.NET WebAPI where we need to select and update few columns based on request received to API.so in that case we can use GraphQL. We have exsisting ASP.NET WebAPI where we need to select and update few columns based on request received to API.so in that case we can use GraphQL. But I did not find any resources related to it.Everywhere is dotnet core apps.但是我没有找到任何与之相关的资源。到处都是dotnet核心应用程序。

If I recall correct, one of most popular lib GraphQL.Net under.Net stack, supports.Net standart 2.0 which means you can build and use it not only under.Net core (target framework should be at least from v4.6.2).如果我没记错的话,最流行的 lib GraphQL.Net 之一在 .Net 堆栈下,支持 .Net 标准 2.0,这意味着您不仅可以在 .Net 核心下构建和使用它(目标框架应该至少来自 v4.6.2)。 At least I did it in one of project (not .net core one) successfully.至少我在一个项目(不是 .net 核心一)中成功地做到了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM