Base solution for your next web application

Activities of "BTSDEV"

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

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

Showing 1 to 2 of 2 entries