I'm a java guy, but I'll throw out there that you should use some sort of HTTP client, or if there's a more abstracted REST client for C#, that might do the trick for you.
We use libraries to marshall and unmarshall objects between marklogic and our application servers. https://github.com/restsharp/RestSharp/wiki/Getting-Started -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Randy Smith Sent: Monday, March 19, 2012 2:41 PM To: General MarkLogic Developer Discussion Subject: [MarkLogic Dev General] Newbe Question on Corona All, Just getting started with Corona. Got it installed ok and a lot of the tests work. Not sure why some do not. The problem I'm having first is with the syntax using .net and C#. In the examples on the web page curl is used as below: curl -X GET 'http://myhost/store?uri=/afternoon-drink.xml' To get me started what is the corresponding syntax in C# to do the same GET as the one using curl? I want to put the results in a C# string? ----- string stuff = GET "http://server1:80xx/store?uri=/afternoon-drink.xml"; Any help appreciated, Randy _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
