jeudi 16 avril 2015

Azure Mobile Services in HTML

How can I implement my Windows Azure Mobile Services in an HTML page??


I tried the code snippets that are present in the Azure portal but it just didn't work..


The code snippets that they ask me to put in my HTML page are:



<script src="http://ift.tt/187JuXj"></script>


and



var client = new WindowsAzure.MobileServiceClient("key1", "key2");


Then when I try to insert a record into the database I use this code:



var get_table = client.getTable("People");
get_table.insert({ FirstName: "Marwan", LastName: "Younis" });

Aucun commentaire:

Enregistrer un commentaire