Elfocrash / Cosmonaut

🌐 A supercharged Azure CosmosDB .NET SDK with ORM support
https://cosmonaut.readthedocs.io
MIT License
342 stars 44 forks source link

Xamarin.Forms supported #89

Closed fileman closed 5 years ago

fileman commented 5 years ago

I'm trying to use Cosmonaut in Xamarin.Forms, but something goes wrong when CosmosStore is created, without any exception... before I try to find and solve the problem, is there a known issue that prevent to use Cosmonaut with Xamarin.Forms?

Elfocrash commented 5 years ago

You should be able to use it in Xamarin forms without any problems. However Xamarin forms has a synchronization context. I would suggest you turn the CosmosStoreSettings option ProvisionInfrastructureIfMissing to false and try again. This means that you will have to create the database and the collection on your own.

Elfocrash commented 5 years ago

@fileman

To answer the questions you deleted, I won't be migrating any time soon for the following reasons:

fileman commented 5 years ago

Accidentally deleted, sorry. thanks for reply.