Can't connect to siaqodbCloud-Service from Xamarin Android App

27 views
Skip to first unread message

marcus....@gmail.com

unread,
Aug 16, 2016, 12:32:04 AM8/16/16
to Siaqodb - NoSQL embedded database for .NET
I am trying to connect to the SiaqodbCloud-Service web service from a Xamarin android app. I have basically combined the TaskyAndroid app with the SyncExample.

I can successfully connect just running the SyncExample in .NET. I feel there is an issue with the URL. The web server is running on http://localhost/SiaqodbCouldService/ in IIS and I can access this site from and device on the local network and from within Android emulator (AVD). I guess my question is, what should the URL be that is input to SiaqodbSync class? Currently I have:
                using (SiaqodbSync syncContext = new SiaqodbSync("http://192.168.30.59/SiaqodbCloudServer/",
                                                     "97c7835153fd66617fad7b43f4000647",
                                                      "4362kljh63k4599hhgm"))
                {
                    var syncResult = await syncContext.PullAsync(bucket);

But I get a 404 not found error from the syncResult.

marcus....@gmail.com

unread,
Aug 16, 2016, 2:26:07 AM8/16/16
to Siaqodb - NoSQL embedded database for .NET, marcus....@gmail.com
I have solved this. The URL was missing some things. It should be (depending on your ip and port)

using (SiaqodbSync syncContext = new SiaqodbSync("http://192.168.30.59:80/v0/", "97c7835153fd66617fad7b43f4000647", "4362kljh63k4599hhgm"))
Reply all
Reply to author
Forward
0 new messages