michaeljcompton / dgraph-dotnet Goto Github PK
View Code? Open in Web Editor NEW.Net client for Dgraph
License: Other
.Net client for Dgraph
License: Other
Some things, like e.g. CheckVersion will throw an exception if Dgraph is down. I think I want that as an error result with the exception in the payload.
I have a need to increase the max_recieved_message_length for GRPC. I believe options like this can be passed into the Grpc.Core Channel constructor:
var options = new[]
{
new ChannelOption("grpc.max_receive_message_length", 1024 * 1024 * 1024),
};
var channel = new Channel("my/endpoint", ChannelCredentials.Insecure, options);
But this library abstracts that into GRPCConnectionFactory
Is there another way to pass options such as this?
Hi,
i am new in Dgraph and iām using your .NET Core C# Client to connect Dgraph Server, query and mutation data.
Iām facing with problem:
{ExceptionalError with Message='Status(StatusCode=ResourceExhausted, Detail="received trailing metadata size exceeds limit")', Exception='Grpc.Core.RpcException: Status(StatusCode=ResourceExhausted, Detail="received trailing metadata size exceeds limit") at DgraphDotNet.GRPCConnection.Query(Request req) at DgraphDotNet.DgraphClient.Query(Request req) at DgraphDotNet.Transactions.Transaction.QueryWithVars(String queryString, Dictionary`2 varMap)'}
I also add Grpc option like that:
var server = "xxxxx";
CurrentClient.Connect(server, ChannelCredentials.Insecure, new[]{
new ChannelOption(ChannelOptions.MaxSendMessageLength ,2147483647),
new ChannelOption(ChannelOptions.MaxReceiveMessageLength , 2147483647)
});
But still facing with this trouble
Help me. Thank you
I also post my problem to https://discuss.dgraph.io/t/received-trailing-metadata-size-exceeds-limit-with-net-core-client/4619
I have enabled TLS on dgraph cluster and trying to query with C#/.net client but looks connection sucessfull but not able to do any operation as server responding empty update .i have posted issues here
Please guide me if we can able to Query with Tls enabled dgraph
The calls to Dgraph really should all be async.
Hi Michael any guidance on expected compatibility with dgraph 1.2? Do you intend to trail dgraph releases closely or more ad-hoc? Thanks for any pointers.
use something like https://github.com/Wyamio/Wyam and in code comments to generate Api docs to go in the project wiki
In the main README.md, an example called ObjectsToDgraph
is referenced here : https://github.com/MichaelJCompton/Dgraph-dotnet#objects-and-json
Check out the example in source/Dgraph-dotnet.examples/ObjectsToDgraph
Yet, this example does not exist in the file structure.
I tried running the batch example and the mutation example.
In both examples predicates are created, but the counts in the data explorer are all 0, except for the Username in the mutation example, which is created by an upsert.
In the batch example i got no errors. For the mutation example i got the following error:
Result: IsSuccess='False', Reasons='Error with Message='No transaction set''
A declarative, efficient, and flexible JavaScript library for building user interfaces.
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ššš
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ā¤ļø Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.