Skip to content

Repository files navigation


Fluree.NET

Fluree.NET is a .NET client library for interacting with FlureeDB, a blockchain-based graph database. This library simplifies the process of integrating FlureeDB into your .NET applications.

Installation

To install Fluree.NET, you can use the NuGet package manager:

dotnet add package Fluree.NET

After that go to your project and we need to add 2 things

usingFlureeDotnetLibrary;builder.Services.AddFlureeDotnetService();

And in app settings add this line

{
"fluree": "Your Fluree URL here"
}

Or you can new up clients manually

 private readonly IFlureeIdentityService _flureeIdentityService = new FlureeIdentityService(
new PerBaseUrlFlurlClientFactory(),
"http://localhost:8090");

Usage

Here's a basic example of how to use Fluree.NET to interact with FlureeDB:

usingFluree;classProgram{privatereadonlyIFlureeIdentityService_flureeIdentityService=newFlureeIdentityService(newPerBaseUrlFlurlClientFactory(),"http://localhost:8090");staticasyncTaskMain(string[]args){varresult=await_flureeIdentityService.GenerateNewKeys();}}

For more detailed usage instructions and examples, please refer to the tests.

Features

  • Create and execute queries against FlureeDB.
  • Authentication support for secure access.
  • Simplified integration of FlureeDB into .NET applications.

Contributing

Contributions to Fluree.NET are welcome! If you find any issues or have ideas for improvements, please open an issue or submit a pull request. Be sure to follow the code of conduct.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A dotnet library to interact with a fluree node.

Resources

Code of conduct

Stars

3 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages