Tag: asp.net-core-webapi
-
Issue with GraphQL Kestrel API server C# ASP.NET Core 7
0 Here’s the issue: I have an ASP.NET Core 7 Web API listening on https://localhost:5248/sap/opu/odata/GIBSFI/ALERT_SRV, but when a request comes in, it needs to run the request to on https://localhost:5248/sap/opu/odata/GIBSFI/ALERT_SRV/graphql and return the results. Keep in mind this is a piece of middleware and I can not alter the URL the other app is submitting…
-
How do I implement GraphQL subscription in ASP.NET Core Web API using Graphql.net library?
0 I’m currently working with GraphQL version 7.6.1, graphql.server.transport.websockets version 4.4.1, and graphql.server.transport.aspnetcore version 7.6.0, and I’m struggling to find up-to-date documentation or examples for adding subscriptions to my ASP.NET Core Web API. I attempted to implement subscriptions based on older examples, but due to changes in syntax and other aspects, I’m encountering errors that…
-
Error Configuring GraphQL Subscriptions in ASP.NET Core
1 I am encountering an issue while configuring GraphQL subscriptions in my ASP.NET Core web api. I have followed the documentation and examples, but I’m receiving an error that I can’t seem to resolve. app.UseWebSockets(); app.UseGraphQLWebSockets<GraphQLSchema>("/graphql"); app.UseGraphQL<GraphQLSchema>(); Severity Code Description Project File Line Suppression State Error CS0012 The type ‘ISchema’ is defined in an assembly…