Connecting to a Postgres database using Windows Phone 8
-
20-12-2019 - |
Frage
I've got a remote database (specifically, PostgreSQL) that I need to connect to and do work on from Windows Phone 8. I tried installing npgsql.dll in my solution for the project, but as it turns out, the .dll doesn't seem to be compatible with the version of .NET that Windows Phone 8 uses - it wants .NET 4.5, but apparently, the reduced version that Windows Phone uses doesn't satisfy the install requirements on NuGet.
Google-fu comes up with nothing for me; most of it is about writing to SQLite databases on the device itself.
Lösung
You will have to write some kind of a web service to encapsulate the PostgreSQL database and make the Windows Phone app communicate with it
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow