graphql-net
graphql-net copied to clipboard
GraphQl in .net framework
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.
I believe the repo you're looking for is https://github.com/graphql-dotnet/graphql-dotnet