MongOData
MongOData copied to clipboard
SampleService returns no collection
I downloaded the source and tried to run the sample solution. First I executed CreateSampleData to generate jsons in mongodb. So it worked. But when i run the SampleService, I can not see the collections.
<service xmlns="http://www.w3.org/2007/app" xmlns:atom="http://www.w3.org/2005/Atom" xml:base="http://localhost:50336/MongoDataService.svc/">
<workspace>
<atom:title>Default</atom:title>
</workspace>
</service>
You have to set up connenction string. Check project source code that has some examples.
Thanks. But it was a long story. Short version: Just downgraded my mongodb 3.2 to 2.6. It's ok now.