dotNetRDF API Documentation

UpdateHandler Class

HTTP Handler for adding SPARQL Update endpoints to ASP.Net applications

For a list of all members of this type, see UpdateHandler Members .

System.Object
   BaseSparqlUpdateHandler
      UpdateHandler

public class UpdateHandler : BaseSparqlUpdateHandler

Remarks

Used to create an Update endpoint at a specific fixed URL

This Handler is configured using the new Configuration API introduced in the 0.3.0 release. This requires just one setting to be defined in the <appSettings> section of your Web.config file which points to a Configuration Graph like so:

<add key="dotNetRDFConfig" value="~/App_Data/config.ttl" />
The Configuration Graph must then contain Triples like the following to specify a Update Endpoint:
<dotnetrdf:/folder/update> a dnr:HttpHandler ;
                                 dnr:type "VDS.RDF.Web.UpdateHandler" ;
                                 dnr:updateProcessor _:proc .
                                
_:proc a dnr:SparqlUpdateProcessor ;
       dnr:type "VDS.RDF.Update.LeviathanUpdateProcessor" ;
       dnr:usingStore _:store .
       
_:store a dnr:TripleStore ;
        dnr:type "VDS.RDF.TripleStore" .

Requirements

Namespace: VDS.RDF.Web

Assembly: dotNetRDF (in dotNetRDF.dll)

See Also

UpdateHandler Members | VDS.RDF.Web Namespace