From: Rob V. <rv...@do...> - 2016-01-05 14:13:50
|
Synchronous HTTP requests are not supported in PCL libraries and this is a limitation of the PCL platform Any dotNetRDF API call that would require a synchronous HTTP request will therefore not exist under the PCL. The error message is telling you that the overload does not exist and that you need to use the alternative asynchronous overload which Visual Studio is suggesting. Rob On 05/01/2016 13:03, "Konstantinos Kotis" <kot...@gm...> wrote: >Dear Rob, > >Regarding the example in >https://bitbucket.org/dotnetrdf/dotnetrdf/wiki/UserGuide/Querying%20with%2 >0SPARQL >for Remote Querying of a SPARQL endpoint, I have a problem with: > >//Make a SELECT query against the Endpoint >SparqlResultSet results = endpoint.QueryWithResultSet("SELECT DISTINCT >?Concept WHERE {[] a ?Concept}"); > > >In my C# project, I got a strange error (attached). Could you please >check that this method is implemented for the portable API? I can see >it in the documentation, but I cannot 'see' why it is not passing the >compilation. > >Thanks in advance, >Konstantinos > > >-- >Konstantinos Kotis, PhD >Research Associate >Department of Digital Systems, University of Piraeus. >Head of IT Department >Samos Regional Unit, North Aegean Regional Administration (NARA). > >Samos, Greece >+30 6974822712 >http://gr.linkedin.com/in/kotis |