Thank you @maliming for your time and help. after adding the dependency, as you have specified, it resolved the problem.
Hi maliming , Did you get my email with source code? Please confirm the receipt of the email.
Thank you for your time ad help wit this issue.
Thanks.
Hi Mailming, Thank you for your prompt reply. I downloaded the demo project. it works. no errors. When I try to integrate the GraphQL project to m production project, it is failing when It tries to Resolve QueryContainer in MainSchema class. Is there any spot that I shoudl be lookign at?
Please see the error at the GraphQL play ground
Thank you for your time!
@alper, I have created AbpZeroTemplateGraphQLModule as exactly as specified. Please let me know if there is anything tha I needed to check on.
@maliming, I have compared the code with Zero's code: MyCompanyName.AbpZeroTemplate.GraphQL. all the files are identical except companyname in the namespace. Any idea what might be wrong?
Also, It fails on this below line in MainSchema.cs Query = resolver.Resolve<QueryContainer>();
Appreciate your help!!
@maliming, thank you for the response. I can access the link now. Will feedback after comparing the code.
@maliming, the link you have posted deosnt exists. can you please re-post the corect link pls?
@ryancyq, I am resolving QueryContainer in MainSchema. Below is constructor of MainSchema class: public MainSchema(IDependencyResolver resolver) : base(resolver) { Query = resolver.Resolve<QueryContainer>(); }
@alpher, I have created MyProjectGraphQLModule in the GrapQL project, which inherts the AbpModule. Btw, then link you have posted doesnt exists. can you please re-post the correct link pls?
Hi, I am trying to integrate the GraphQL project into my solution. I am getting my following error. can you please help me out?
It is failing to resolve the RoleQuery. I commented out other query for simplicity for the debugging.
Castle.MicroKernel.Handlers.HandlerException
HResult=0x80131500
Message=Can't create component '...Queries.Container.QueryContainer_f5789103-84f9-497e-b945-fe2b3aaf5af9' as it has dependencies to be satisfied.
'..Queries.Container.QueryContainer_f5789103-84f9-497e-b945-fe2b3aaf5af9' is waiting for the following dependencies:
- Service '..Queries.RoleQuery' which was not registered.
Source=Castle.Windsor
StackTrace:
at Castle.MicroKernel.Handlers.DefaultHandler.AssertNotWaitingForDependency()
at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext context, Boolean requiresDecommission, Boolean instanceRequired, Burden& burden)
at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context, Boolean instanceRequired)
at Castle.MicroKernel.DefaultKernel.ResolveComponent(IHandler handler, Type service, IDictionary additionalArguments, IReleasePolicy policy, Boolean ignoreParentContext)
at Castle.MicroKernel.DefaultKernel.Castle.MicroKernel.IKernelInternal.Resolve(Type service, IDictionary arguments, IReleasePolicy policy, Boolean ignoreParentContext)
at Castle.MicroKernel.DefaultKernel.Resolve(Type service, IDictionary arguments)
at Castle.Windsor.MsDependencyInjection.ScopedWindsorServiceProvider.GetServiceInternal(Type serviceType, Boolean isOptional)
at GraphQL.FuncDependencyResolver.Resolve[T]()
at BizTech.CorsanPortal.Schemas.MainSchema..ctor(IDependencyResolver resolver) in D:\Projects\repos\new4172019\CorsanPortal\aspnet-core\BizTech.CorsanPortal.GraphQL\Schemas\MainSchema.cs:line 13
Thanks, BtsDev
hi, thank you for the reply. I am running my solution on VS Enterprise Version 15.9.5. When I try to browse to.. http://localhost:22742. getting the following error:
This site can’t be reached localhost refused to connect. Search Google for localhost 22742 ERR_CONNECTION_REFUSED
I have sent the teamViewer ID & Password to [email protected] email ID.
Thank you for your time in helping to resolve this issue.
Thanks, BtsDev.
I have downlaoded the project v6.5.0 for ASP.NET CORE & Angular (single solution), .NET Core 2.2. I made Web.Host project as startup project in Visual Studio. when i run the project, I see console windowcomes up and says listening on "http://localhost:5000". When I try to browse in chrome browser, i get the message "This localhost page can't be found"
Also, similar issue when I try to start the angular project using "npm start" command. When I do that, it compiles all of the angular components succesfully , When I try to browse in the chrome broweser using url "http://localhost:4200". progressbar keeps spinning on the browser and i dont see any modules loaded in the browser. Also, dont see any error on the browser console.
UPDATE: Thank you for the reply. This is happening on the LIVE project download. I dont see any error being logged into the App_Data\Logs\Logs.txt file as well. Everythign seems normal activities there.
INFO [4 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 GET http://localhost:5000/
INFO [4 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 533.5002ms 404
Appreciate your timely response ont his issue. I am kind of struck at this point.
Thanks, btsDev