1
如何在HTML頁面中實現Windows Azure移動服務?HTML中的Azure移動服務
我試過代碼片段存在於Azure的門戶網站,但它只是沒有工作..
的代碼片段,他們要求我把我的HTML頁面是:
<script src="http://ajax.aspnetcdn.com/ajax/mobileservices/MobileServices.Web-1.2.5.min.js"></script>
和
var client = new WindowsAzure.MobileServiceClient("key1", "key2");
然後,當我嘗試插入一條記錄到數據庫中我使用此代碼:
var get_table = client.getTable("People");
get_table.insert({ FirstName: "Marwan", LastName: "Younis" });
哪些部件不起作用?鏈接到代碼片段? –
請顯示您嘗試過的一些代碼。 –
我將代碼片段添加到了我對問題的描述中,請在上面檢查它們。謝謝! – user3286616