GraphClient _client = new GraphClient(new Uri("http://localhost:7474/db/data"));
_client.Connect();
Which looks correct to me, and copy pasting the uri into my browser leads me to the rest API correctly.
Any thoughts? Is the library .net4 mono compatible? Am I going to have to write my own C# rest API client?
Cheers,
-ralph
Hi Ralph,
I'm running on a mac, with the .net 4.0 framework.
I want to be clear here that you’re running Mono, and that is not the .NET Framework.
Any thoughts? Is the library .net4 mono compatible?
We’ve never tested against Mono, as our projects don’t use it and nobody has mentioned it prior. That’s not to say it shouldn’t work.
The exception is coming from our HTTP subsystem, which uses the HttpClient package from Microsoft. This is a .NET 4.5 package which uses async/await constructs.
Mono seems to have its own implementation of HttpClient: https://github.com/mono/mono/blob/master/mcs/class/System.Net.Http/System.Net.Http/HttpClient.cs
I wonder which one you’re running against, and if we need to compile against the other one or something?
Am I going to have to write my own C# rest API client?
I would suggest that that would be a very large waste of time. Instead, I’d encourage you to fork our existing source code (it’s open source), and investigate just what tweaks are required to get it running on Mono. At a minimum, you would have a working solution. Better, we could potentially integrate those changes back in and support future users on Mono too.
-- Tatham
--
You received this message because you are subscribed to the Google Groups "Neo4jClient" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
neo4jclient...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Hi
Which looks correct to me, even i try with my machine IP instead of localhost ...But it not working for me .
The exception is coming from our HTTP subsystem, which uses the HttpClient package from Microsoft. This is a .NET 4.5 package which uses async/await constructs. which is also install but still i ma facing the issue .
Install-Package Microsoft.Net.Http -Version 2.2.22
Can any1 help me out with my problem
Regards
Samrin Shaikh
--
You received this message because you are subscribed to the Google Groups "Neo4jClient" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neo4jclient...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Have you got fiddler running, turn it off? Can you connect to neo on the admin console?
Please post the full exception details, including the message and type, not just the stack trace.
The stack trace tells us where the exception occurred but not what it was.
--
Tatham Oddie
Create a console app and send it to me or put it on git and ill try reproduce the error
Hi,
I dont think the issue is the graph client. Download and install fidler and try connect to the http URL by hand rolling an http request
Example request
{
"extensions" : {
},
"node" : "http://localhost:7474/db/data/node",
"node_index" : "http://localhost:7474/db/data/index/node",
"relationship_index" : "http://localhost:7474/db/data/index/relationship",
"extensions_info" : "http://localhost:7474/db/data/ext",
"relationship_types" : "http://localhost:7474/db/data/relationship/types",
"batch" : "http://localhost:7474/db/data/batch",
"cypher" : "http://localhost:7474/db/data/cypher",
"indexes" : "http://localhost:7474/db/data/schema/index",
"constraints" : "http://localhost:7474/db/data/schema/constraint",
"transaction" : "http://localhost:7474/db/data/transaction",
"node_labels" : "http://localhost:7474/db/data/labels",
"neo4j_version" : "2.1.3"
}GET http://localhost:7474/db/data/Accept: application/json; charset=UTF-8
{
"extensions" : {
},
"node" : "http://localhost:7474/db/data/node",
"node_index" : "http://localhost:7474/db/data/index/node",
"relationship_index" : "http://localhost:7474/db/data/index/relationship",
"extensions_info" : "http://localhost:7474/db/data/ext",
"relationship_types" : "http://localhost:7474/db/data/relationship/types",
"batch" : "http://localhost:7474/db/data/batch",
"cypher" : "http://localhost:7474/db/data/cypher",
"indexes" : "http://localhost:7474/db/data/schema/index",
"constraints" : "http://localhost:7474/db/data/schema/constraint",
"transaction" : "http://localhost:7474/db/data/transaction",
"node_labels" : "http://localhost:7474/db/data/labels",
"neo4j_version" : "2.1.3"
}HiI didn't get you . can you please explain in detail what i need ??Regard
Hi,
I need the http respone text, few lines down.
Or have you got TeamViewer? I can remote into your box and help you.
...Website: http://rangerrom.comBlog: <a style="COLOR:rgb(17,85,204)" href="http://blog.rangerrom.com/" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fblog.rangerrom.com%2F\46sa\75D\46sntz\0751\46usg\75AFQjCNGU79qwxo5tY-MQyK-9dc9wJoRjtw';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fblog.range
...Website: http://rangerrom.comBlog: <a style="COLOR:rgb(17,85,204)" href="<A onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fblog.rangerrom.com%2F\46sa\75D\46sntz\0751\46usg\75AFQjCNGU79qwxo5tY-MQyK-9dc9wJoRjtw';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fblog.rangerrom.com%2F\46sa\75D\46sntz\0751\