This page discusses using .NET to interact with Stardog.
In the HTTP API section, we looked at how to interact with Stardog over a network via HTTP.
The HTTP API can be used from .Net applications but there are third-party libraries that provide a more convenient way to work with Stardog.
The examples hosted in our Stardog examples repository show how to use .NET to connect to a Stardog server, manage Stardog databases and query them. They also show some basic examples of using .dotNetRDF and Trinity RDF discussed below.
.dotNetRDF is an open source library developed and supported by third parties; questions or issues with the .Net API should be directed to http://www.dotnetrdf.org.
You should also be aware that dotNetRDF uses the HTTP API for all communication with Stardog so you must enable the HTTP server to use Stardog from .Net. It’s enabled by default so most users should not need to do anything to fulfill this requirement.
Another possibility for using Stardog within .Net applications is the Trinity RDF library which provides an Object Mapping layer for RDF graphs. Trinity lets users map RDF/OWL terms to .NET objects and uses byte-code manipulation at compilation time to generate efficient programs. See the Trinity documentation for more details about using Trinity RDF.