Tag: neo4jclient

调用Node.js中的C#代码时出现意外的结果

所以我们有一个小型的node.jsnetworking服务器,它使用edge.js连接到一个C#写的DLL。 在我们的C#代码(这只是一个类库),我们正在调用一个方法,执行一个查询到Neo4j。 现在,如果我们在控制台应用程序中testing它,它可以正常工作,但是当我们运行node.js时,我们得到以下exception: System.AggregateException: One or more errors occurred. —> System.TypeInitiali zationException: The type initializer for 'FriendLibrary.API.Searching' threw an exception. —> System.NullReferenceException: Object reference not set to an instance of an object. at FriendLibrary.API.Searching..cctor() — End of inner exception stack trace — at FriendLibrary.API.Searching..ctor() at Startup.<<Invoke>b__1>d__4.MoveNext() — End of stack trace from previous location where […]