Re: [WP8 ] 關於連接mongodb的方式
※ 引述《dalconan (寒江雪)》之銘言:
: 請問在windows phone 8中
: 如果想做到連接mongodb要用什麼方法呢?
: mongodb網站提供的 C# Drive 似乎不能安裝到WP8的專案中
: 不管我用Nuget或是直接下載dll檔去參考他都沒有辦法使用
: 有其他可以用的方法嗎?
用Nuget下的不一定是可以在WP上運作.
雖然我不懂mongodb,但是找了一下資料.並不支援ARM
Q:How can I use MongoDB in Windows Phone project?
A:MongoDB doesn't currently run on ARM architecture, only on x86.
If you wanted it to integrate with the application you would need
to host on a server and have your app talk to the remote server,
as you won't be able to run it embedded on the device.
(from:http://ppt.cc/uvVb )
上面的方法似乎不難,但是如何落實呢?很簡單,用azure.
Using Windows Azure Mobile Services with a MongoDB Database
http://ppt.cc/MXm3 (節錄一點,全文請看左邊網址)
To get started with Windows Azure Mobile Services you can follow these three
tutorials on the Windows Azure Mobile Services web site:
Get started with data in Mobile Services http://ppt.cc/bxyH
Get started with authentication in Mobile Services http://ppt.cc/XyOO
Authorize users with scripts http://ppt.cc/584m
These are links for versions of the tutorials that show you how to build a
Windows Phone app, other versions of the tutorials exist for other client
platforms: Windows Store, iOS, Android, or HTML 5.
以上.
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 124.10.80.50
※ 編輯: felaray 來自: 124.10.80.50 (01/18 21:53)
推
01/18 23:51, , 1F
01/18 23:51, 1F
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 2 之 2 篇):