[MarkLogic Dev General] Newbe Question on Corona

matt.broekhuis at thomsonreuters.com matt.broekhuis at thomsonreuters.com
Mon Mar 19 13:02:31 PDT 2012

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.


-----Original Message-----
From: general-bounces at developer.marklogic.com [mailto:general-bounces at developer.marklogic.com] 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

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,
General mailing list
General at developer.marklogic.com

More information about the General mailing list