Xamarin.forms Gremlin

Niklas Ekstein 1 Reputation point

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?

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

1 answer

Sort by: Most helpful
  1. Rob Caplan - MSFT 5,437 Reputation points Microsoft Employee

    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.