chkimes / graphql-net

Convert GraphQL to IQueryable
MIT License
891 stars 86 forks source link

GraphQl in .net framework #105

Open roybs2 opened 5 years ago

roybs2 commented 5 years ago

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();

But nothing worked.

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

chkimes commented 5 years ago

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