graphql-net icon indicating copy to clipboard operation
graphql-net copied to clipboard

GraphQl in .net framework

Open roybs2 opened this issue 5 years ago • 1 comments

Hey, I'm trying to run GraphQL on .net framework 4.6.1 All examples are with dependency injection in .net core. I couldn't understand how to inject types, query and schema in .net framework. I tried to do some things: Container.RegisterType<IDocumentExecuter, DocumentExecuter>("DocumentExecuter"); Container.RegisterType<ISchema, StoreSchema>(new ContainerControlledLifetimeManager()); Container.RegisterType<ISchema, EasyStoreSchema>(new ContainerControlledLifetimeManager()); Container.RegisterType<StoreQuery>();

But nothing worked.

Do you have any suggestions\ examples how to use graphql in .net framework? tnx.

roybs2 avatar Jul 07 '19 12:07 roybs2

I believe the repo you're looking for is https://github.com/graphql-dotnet/graphql-dotnet

chkimes avatar Jul 09 '19 14:07 chkimes