Xamarin.forms Gremlin

Niklas Ekstein 1 Reputation point
2021-10-08T13:07:38.94+00:00

I can't make my xamarin.forms app connect to Cosmos db with the Gremlin API, I tried about 4 different ways. But what is concerning is that I can't find a single sample project or a discussion where it is a Xamarin project that connects to Cosmos DB with a gremlin API. Has anyone done this and would like to share the code where the connection was done?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,376 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,749 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Rob Caplan - MSFT 5,552 Reputation points Microsoft Employee
    2021-10-08T15:37:16.923+00:00

    Added cosmos tag as you're more likely to find experts in that area.

    Xamarin is a general purpose platform and doesn't directly implement support for services such as Cosmos. Instead Xamarin provides a .Net Standard 2.0 base upon which you can run existing .Net Standard libraries. You can use any Cosmos or Gremlin library which supports .Net Standard 2.0 the same way you can use those libraries in any other .Net target.

    From a quick search of the docs, it looks like there are several Cosmos and Gremlin packages on Nuget.org that support .Net Standard 2.0, but I'm not familiar with that domain and can't recommend specific ones for your situation.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.