Open michaeldaw opened 9 years ago
This is a known limitation with the current .NET SDK.
For now the only way to use DocumentDB with a UAP is to proxy through a middle-tier you host, or use something like Azure Mobile Services.
Otherwise, we have the JavaScript client SDK that you could use. (this still requires a middle tier of some sort to generate resource tokens b/c using the master key in an app on a device you distribute is definitely not recommended)
I might have misunderstood, but with the NET SDK 1.7.0 release I can create a Portable Class Library project and reference it from a Universal Windows project. Wouldn't this make it possible to use the DocumentDB library from a UWP app?
With the newly announced .NET Core SDK (https://docs.microsoft.com/en-us/azure/documentdb/documentdb-sdk-dotnet-core), you can target UWP apps.
Reopened since UWP apps require .net standard 1.4 while the the .NET Core SDK that we released targets ?net standard 1.6
Same problem, what is solution?
We plan to support UWP in a later release since we now target .NET Standard 1.6 only.
And Microsoft wants developers to develop for UWP... more than 1.5 year since opening of this thread and the solution is still in distant undetermined future.
@MarekLani It is really very sad that they did not bring up such tool on their platform after a long time
+1
This version has support for UWP: https://github.com/Azure/azure-documentdb-dotnet/blob/master/Microsoft.Azure.DocumentDB.Core.1.4.0-preview.nupkg
For anyone sill having problems with this. (https://stackoverflow.com/questions/47496158/the-type-or-namespace-name-azure-does-not-exist-in-the-namespace-microsoft)
Output from nuget:
Microsoft.Azure.DocumentDB 1.4.1 is not compatible with UAP,Version=v10.0 (win10-x86).